@gnosis.pm/dx-services-admin
v0.1.3
Published
dx services admin
Downloads
2
Keywords
Readme
DutchX service admin
Web administration that shows information about the DutchX including:
- Markets listed in the DutchX
- Running bots and their config
- Info about accounts balances
- Trades for every market
Run locally
Create a file called .env
file. Use .env.example as an example.
# Install dependencies
yarn install
# Run app
yarn start
Check out:
- Web admin: http://localhost:3000
- DutchX API:
Rinkeby
: i.e. Markets: http://localhost:3000/rinkeby-dx/api/v1/marketsMainnet
: i.e. Markets: http://localhost:3000/mainnet-dx/api/v1/markets
- Bots API:
Rinkeby
: i.e. About: http://localhost:3000/rinkeby-bots/api/aboutMainnet
: i.e. About: http://localhost:3000/mainnet-bots/api/about
Run using local mock endpoints
# Install dependencies
yarn install
# Run the local mock API server (in one tab)
yarn server
# Run in mock mode (in another tab)
REACT_APP_MOCK=true yarn start
Check out:
- Web admin: http://localhost:3000
- DutchX API:
Local Mock API
: i.e. Markets: http://localhost:3000/local-dx/api/v1/markets
- Bots API:
Local Mock API
: i.e. Markets: http://localhost:3000/local-bots/api/about
Build
yarn build