sara-sabr / poc-blockchain-platforms

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

05 - Rich Person Buys all Cars #5

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 buy all red cars and any car that is a Telsa, SO THAT I can spend the money I have.

e-wu commented 4 years ago

Hint see invoke.js

Jdure commented 4 years ago

@e-wu I can't seem to query by colour. Made changes to the fabcar.js file but that didn't work.

e-wu commented 4 years ago

Share your GIST :)

e-wu commented 4 years ago

And reminder, you don't have "query" style functions in blockchain as it's not a database, so just use the KISS method for this training. There is couchdb mechanism, however that more advanced.