Analytics site for Soroswap
- Copy the example environment file:
cp .env.example .env
- Edit the environmental variables in the
.env
file as needed.
Note
To get both MERCURY_API_KEY_MAINNET & MERCURY_API_KEY_TESTNET, you need to create a new account on Mercury, get the JWT's in the dashboard, then generate your apiKey.
Once done fill the api key in the .env
file for mainnet and testnet.
- Run the Docker setup script:
bash docker/run.sh
- Install the necessary dependencies:
yarn
- Start the development server:
yarn dev
- Open your browser and navigate to http://localhost:3100 to view the application.