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 -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -