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 - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -