- Node >= v16
- NATS running instance.
NATS_URLenvironment 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
The protocol files for the explorer services and API are part of the decentraland/protocol repository. To make changes to the protocol, first create a pull request in that repository. After the PR builds, a test link is created suggesting an NPM package to install in this repository in the shape of:
npm install "https://sdk-team-cdn.decentraland.org/@dcl/protocol/branch//dcl-protocol-1.0.0-2958890464.commit-84b41d5.tgz"Use that build to test the integration entirely, and leverage the decentraland/protocol pull request checks to prevent breaking compatibility with previous versions of the protocol.
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 providerSERVICE_DISCOVERY_HEALTH_CHECK_INTERVAL: (Defaults to 60000) Interval in milliseconds for checking status updates from external services