ref-token-server is the node.js version of indexer-helper's implementation.
-
Set
Cfg.NETWORK_ID
withTESTNET
|DEVNET
|MAINNET
inconfig.ts
. -
Set
REDIS.HOST
andREDIS.PORT
-
Init dependencies
$ npm install
- Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Ref Token Server is MIT licensed.