Notes on Testing the Hyperledger Fabric Chaincode

I have started experimenting to test the  Hyperledger Fabric Chaincode, I will add most needed findings here

https://github.com/clydedacruz/fabric-chaincode-tests

package "github.com/hyperledger/fabric/core/chaincode/shim" you can use shim.NewMockStub to create smart contract and test your procedures with debugging feature, and even without having any blockchain network.

https://stackoverflow.com/questions/50474487/how-to-easily-test-and-debug-chaincode-without-having-blockchain-network

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s