blockchain - how can I store and send some images (pictures) in Hyperledger Smart Contract? -


i want know how store , send transaction picture or link resources in hyperledged smart contract.

where in code should it?

the chaincode function store data blockchain in hyperledger fabric chaincode is:

    putstate(key string, value []byte)  

the value can byte array, may represent picture store on blockchain, or link resource outside blockchain.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -