Skip to content

Latest commit

 

History

History
 
 

event-listener

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Event Listener

Required environment variables

  • 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

Usage

Run with environment variables described above:

go run main.go