Last active
May 20, 2018 14:15
-
-
Save vitiko/c3ebff842565348ef988850f6577cf39 to your computer and use it in GitHub Desktop.
Golang chaincode interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Chaincode interface { | |
// Init is called during Instantiate transaction | |
Init(stub ChaincodeStubInterface) pb.Response | |
// Invoke is called to update or query the ledger | |
Invoke(stub ChaincodeStubInterface) pb.Response | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment