vega-frontend-monorepo/libs/environment/README.md
botond 46884e3fec
fix: cleanup more env things (#1383)
* fix: remove vega_rest from monorepo
* fix: mainnet api urls
* fix: remove redundant vega url from token config
* fix: lint
* chore: remove redundant env props from token app
* fix: format
2022-09-18 11:15:05 +00:00

20 lines
570 B
Markdown

# environment
This library was generated with [Nx](https://nx.dev).
## Prerequisites
The environment variables needed to be present for any app consuming this library.
`NX_VEGA_ENV` is the name of the environment.
`NX_VEGA_URL` OR `NX_VEGA_CONFIG_URL` - either the network configuration url or a url to a node to directly connect to
`NX_VEGA_WALLET_URL` the default vega wallet URL
For examples, see Block Explorer's .env files [here](../../apps/explorer)
## Running unit tests
Run `nx test environment` to execute the unit tests via [Jest](https://jestjs.io).