- Node >= v16
- NATS running instance.
NATS_URL
environment variable must be set. Eg:NATS_URL=localhost:4222
Install Node dependencies:
make install
Build and start the project:
make build
make start
Run unit and integration tests:
make build
make test
NATS_URL
(required): URL of the NATS instance to be connected to
HTTP_SERVER_PORT
: (Defaults to 3000)HTTP_SERVER_HOST
: (Defaults to 0.0.0.0)
ETH_NETWORK
: Network for the Ethereum providerCOMMS_PROTOCOL
: (Defaults to v2) Comms Protocol version indicating the use of the legacy Lighthouse or the new Archipelago serviceSERVICE_DISCOVERY_HEALTH_CHECK_INTERVAL
: (Defaults to 60000) Interval in milliseconds for checking status updates from external services