vega-frontend-monorepo/libs/environment
m.ray d9e098f942
fix: add back apollo client code generate command (#1124)
* fix: add back appolo generate command

* fix: update to devnet API

* fix: revert to testnet changes

* fix: revert to testnet changes
2022-08-23 12:32:54 -07:00
..
src fix: add back apollo client code generate command (#1124) 2022-08-23 12:32:54 -07:00
.babelrc feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
.eslintrc.json Feat/676 node switcher hosts (#698) 2022-07-12 17:34:54 +01:00
jest.config.js fix: disallow updating custom node before validation (#931) 2022-08-04 10:14:49 +01:00
package.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
project.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
README.md feat: allow default wallet url to be configured (#875) 2022-07-27 11:28:29 +01:00
tsconfig.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.lib.json feat(#507): Node Discovery 2022-06-21 16:20:53 -07:00
tsconfig.spec.json fix: disallow updating custom node before validation (#931) 2022-08-04 10:14:49 +01: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_REST is the REST endpoint for 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.