Skip to content

pandoraboxchain/pyrrha-boxproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

64870e6 · Mar 1, 2019
Jul 27, 2018
Mar 1, 2019
Aug 16, 2018
Mar 1, 2019
Mar 1, 2019
Mar 1, 2019
Aug 11, 2018
Aug 11, 2018
Mar 1, 2019
Aug 17, 2018
Aug 6, 2018
Aug 16, 2018
Jul 16, 2018
Apr 23, 2018
Mar 1, 2019
Apr 24, 2018
Mar 1, 2019
Aug 6, 2018

Repository files navigation

Codacy Badge Codacy Badge Build Status

pyrrha-boxproxy

Server-side proxy for Pandora Pyrrha Boxchain explorer

Documentation

Initial setup

Requires node.js version 9 and up

npm i
git submodule update --init --recursive --remote

Configuration

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

Using with Docker

Environment configuration is in the ./docker-compose.yml

Building:

npm run build:docker

Starting:

npm run start:docker

Stopping:

npm run stop:docker

Running tests

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