Skip to content

Instantly share code, notes, and snippets.

@vitiko

vitiko/block1.go Secret

Created July 23, 2019 07:45
Show Gist options
  • Save vitiko/4f36407a35696a7889229d1ed44e60dc to your computer and use it in GitHub Desktop.
Save vitiko/4f36407a35696a7889229d1ed44e60dc to your computer and use it in GitHub Desktop.
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