Server-side proxy for Pandora Pyrrha Boxchain explorer
Requires node.js version 9 and up
npm i
git submodule update --init --recursive --remote
Local configuration file is placed in folder ./config
Also, can be used following environment vars:
- WEB3_PROTOCOL
- WEB3_HOSTNAME
- WEB3_PORT
- PAN_ADDRESS
- MARKET_ADDRESS
Environment configuration is in the ./docker-compose.yml
Building:
npm run build:docker
Starting:
npm run start:docker
Stopping:
npm run stop:docker
Tests and coverage results will be deployed to codacy and available on Codacy Dashboard
For testing without coverage report use:
npm test
For generating and updating a code coverage report use:
npm run test-with-coverage