#Example 02 Chaincode
Store two integers named A and B. Subtract from one and add to the other.
Use the correct version for your Hyperledger network.
-
- Works with Hyperledger fabric
v0.5-developer-preview - IBM Bluemix Blockchain Service
v0.4.2+ - HTTP deployment url:
http://gopkg.in/ibm-blockchain/example02.v1
- Works with Hyperledger fabric
-
- Works with Hyperledger fabric
v0.6-developer-preview - HTTP deployment url:
http://gopkg.in/ibm-blockchain/example02.v2
- Works with Hyperledger fabric
Not familiar with chaincode yet? Try Learn Chaincode first.