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

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -