mango-v4-service/mango-service-v4/README.md

1.2 KiB

A REST API server on top of mango markets v4, written in typescript + expressjs + using mango client and some other off chain REST services.

Environment variables

All environment variables are optional.

How to run while developing

  • yarn install
  • yarn ts-node ./src/server.ts or if you have nodemon installed then, nodemon ./src/server.ts

How to run using docker

  • docker pull microwavedcola/mango-service-v4
  • docker run -p 3000:3000 -v ~/.config:/root/.config microwavedcola/mango-service-v4, assumes private key to be present at ~/.config/solana/id.json

How to test