sara-sabr / poc-blockchain-platforms

WIP - Multi-project proof of concepts for various blockchain technologies.
MIT License
0 stars 1 forks source link

04 - Adding new cars #4

Open e-wu opened 4 years ago

e-wu commented 4 years ago

ℹ️ Entire milestone goal is to understand how fabcar contract works.

From:

AS A user "RP Team" of the blockchain network, I WANT TO modify the ledger, SO THAT I can add new cars.

The following cars should be added:

[
  {
    color: 'red',
    make: 'Hyundai',
    model: 'Tucson',
    owner: 'Simon',
  },
  {
    color: 'red',
    make: 'Tesla',
    model: 'S',
    owner: 'James',
  },
  {
    color: 'blue',
    make: 'Tesla',
    model: 'S',
    owner: 'Simon',
  }
]
e-wu commented 4 years ago

Hint see invoke.js

Jdure commented 4 years ago

Done