Redirection service to replace the Metronome Explorer.
It will redirect all GET /transactions/:hash
requests to a target Explorer service.
All other requests will be redirected as-is to the same service.
npm start
The following environment variables control the service beahvior:
EXPLORER_BASE_URL
: Base URL of the target explorer.EXPLORER_PATH
: Path on the target explorer. Replaces:hash
with the required transaction hash.LOGGER_*
: Control logging to console and Papertrail service.PORT
: Defaults to 3004
A dockerized version can be built for development by running:
npm run docker:build
Then, it can be run:
npm run docker:run