Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleChaincode ¶
type SimpleChaincode struct{}
SimpleChaincode example simple Chaincode implementation
func (*SimpleChaincode) Init ¶
func (t *SimpleChaincode) Init(stub shim.ChaincodeStubInterface) pb.Response
Init takes two arguments, a string and int. These are stored in the key/value pair in the state
func (*SimpleChaincode) Invoke ¶
func (t *SimpleChaincode) Invoke(stub shim.ChaincodeStubInterface) pb.Response
Invoke is called by fabric to execute a transaction
Click to show internal directories.
Click to hide internal directories.