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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

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