Prerequisite:
- Docker
- Docker-Compose
Build & run the containers (choose a network):
$ npm run docker:up:mainnet
or
$ npm run docker:up:testnet
or
$ npm run docker:up:shardnet
or
$ npm run docker:up:guildnet
NOTE: You may want to run them in background, so just add -- --detach
flag.
Now you can reach the service at http://localhost:3000/
Prerequisite:
- Node.js (run
nvm use
to switch to the proper version)
Install dependencies:
$ npm install
Run backend (choose a network):
$ npm run -w backend dev:mainnet
or
$ npm run -w backend dev:testnet
or
$ npm run -w backend dev:shardnet
or
$ npm run -w backend dev:guildnet
Run frontend in a separate window:
$ npm run -w frontend dev
Now you can reach the service at http://localhost:3000/
To contribute to NEAR Explorer, please see CONTRIBUTING.
Most real-time collaboration happens in a variety of channels on the NEAR Discord server, with channels dedicated for getting help, community, documentation, and all major contribution areas in the NEAR ecosystem. A good place to ask for help would be the #general channel.
NEAR Explorer is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-MIT and LICENSE-APACHE for details.