vega-frontend-monorepo/libs/environment
Dexter Edwards 8ecb4430cc
Fix/1546 staking requests (#1747)
* fix: bad data flow

* chore: generate types

* chore: move component to where it is used

* chore: move things top the routes where they are actually used

* chore: more moving of files

* chore: generate types

* chore: replace old type files with new

* test: fix tests
2022-10-14 15:59:00 +01:00
..
src Fix/1546 staking requests (#1747) 2022-10-14 15:59:00 +01:00
.babelrc feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
.eslintrc.json Fix/1083: Update type generator (#1219) 2022-09-06 10:03:10 +01:00
jest.config.ts feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
package.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
project.json feat: [console-lite] - calculate slippage (price impact) (#1173) 2022-08-31 15:23:01 +02:00
README.md fix: cleanup more env things (#1383) 2022-09-18 11:15:05 +00:00
tsconfig.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.lib.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
tsconfig.spec.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00

environment

This library was generated with Nx.

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

Running unit tests

Run nx test environment to execute the unit tests via Jest.