Skip to content

Instantly share code, notes, and snippets.

@zmanian
Created August 22, 2016 04:08
Show Gist options
  • Save zmanian/4e27e15b283d065ad30d49fd3e6ffdc1 to your computer and use it in GitHub Desktop.
Save zmanian/4e27e15b283d065ad30d49fd3e6ffdc1 to your computer and use it in GitHub Desktop.
  1. Develop chaincode and unit test
  2. Verify the chaincode works locally under "peer peer --chaincode-dev"
  3. Vendor all dependencies into /vendor
  4. Create a temporary $GOPATH. Copy source to either "$GOPATH/src/build-chaincode" or "$GOPATH/src/[your aboslution go path]"
  5. "go install build-chaincode" or "go install [your chaincode path]". Think about editing hfc.js 1231-1235 if you have issues here or use the REST API
  6. Ready for deployment to hyperledger instance
  • The two options for the paths depende on whether or not you plan to deploy with the SDK or REST api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment