- MSP_ID - MSP identifier
- CONFIG_PATH - path to configuration file of SDK (eg. config.yaml)
- CERT_PATH - path to certificate file of identity (eg. signcerts/cert.pem)
- KEY_PATH - path to private key of identity (eg. keystore/your_pk)
- CHANNEL - channel used for listening new events
- CHAINCODE - chaincode used for used listening chaincode events
Run with environment variables described above:
go run main.go