this service listens to events from the Star Notary smart contract
and communicates with the star-notary-backend (to be announced)
make install
make run
have Go installed and binary added to PATH
register at Infura or another RPC provider that exposes websocket endpoints
locally, environment variables are declared in 'application.conf'
websocket url to deployed network provided by Infura or chosen RPC provider
address of currently deployed smart contract
number (integer) of confirmation blocks before an event is considered cannon
number (integer) of seconds that the service waits between RPC provider calls for event confirmation
full path to log directory
if not provided logs to project root directory
make contract
to create a go contract, the following variables must be set in the Makefile:
full path to root directory of truffle project containing the solidity (.sol) smart contract file
version of solidity used in the smart contract
name of the solidity (.sol) smart contract file