Contract Scripting for Everyone: (Hyperledger) FabCar Registration Sample - From Go Lang Chaincode to (Secure) Ruby Contract Scripts

(Gerald Bauer) #1

Hello,

  for the Vienna Hyperledger Meetup I've put together a talk titled:

   Contract Scripting for Everyone: (Hyperledger) FabCar Registration Sample
   From Go Lang Chaincode to (Secure) Ruby Contract Scripts

  that shows that - surprise, surprise - (secure) ruby works great for
(contract) scripting. Code is code and Hyperledger Fabric is really
just a key-value store, that is, a simple hash table. Yes, we are
still waiting for the SQL (relational) revolution in the blockchain
world :-).

   The content reads:

- Hyperledger Fabric - Getting Started - Simple (Asset) Storage Service
  - Go Version
    - Use the New Chaincode
  - (Secure) Ruby Contract Version
    - Use the New Contract Code
    - Expert Corner - Use (Code) Your Own (Secure) Ruby Contract (State) Storage
- What's (Secure) Ruby?
  - sruby - Small, Smart, Secure, Safe, Solid & Sound (S6) Ruby
    - What's missing and why?
    - Yes, yes, yes - It's just "plain-vanilla" ruby
- Contract-Oriented Programming Languages - Do We Need A New Language?
- Networks, Networks, Networks - Running the Contract Code
- Hyperledger Fabric Sample - Fabcar
  - Fabcar Chaincode in Go
  - Fabcar - From Go Chaincode to (Secure) Ruby Contract Script
    - initLedger
    - queryCar
    - createCar
    - changeCarOwner
    - queryAllCars
    - Fabcar - (Secure) Ruby Contract Script - All Together Now
      - Use the New Contract Code
- Bonus - Do You Need A Blockchain?
  - Do You Need A Blockchain?
    - TL;DR Version
    - Bitcoin Maximalist Version
    - IEEE Spectrum Version
    - ETH Zürich Version
- Contracts, Contract, Contracts
  - New Contracts Per Month - Total Contracts ⇑⇑⇑⇑⇑
  - Transactions Per Contract Category
  - Bonus - Vienna Crypto Programming Talk Notes

   Happy (secure) contract programming with ruby.
   Cheers. Prost.

[1] https://github.com/geraldb/talks/blob/master/fabcar.md