{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.0.0-alpha","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Types\n\n```go\ntype Attributes2State struct {\n}\n```\nAttributes2State demonstrates how to read attributes from TCerts.\n\n```go\nfunc (t *Attributes2State) Init(stub shim.ChaincodeStubInterface) pb.Response\n```\nInit intializes the chaincode by reading the transaction attributes and storing the attrbute values in the state\n\n```go\nfunc (t *Attributes2State) Invoke(stub shim.ChaincodeStubInterface) pb.Response\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/examples/chaincode/go/attributes_to_state","name":"main","synopsis":"","isRedistributable":true}
