vega-frontend-monorepo/libs/network-info
2023-09-08 13:43:54 -07:00
..
src feat(trading): hook up new EstimatePosition and EstimateFees api methods (#3634) 2023-05-11 12:58:12 +02:00
.babelrc chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
.eslintrc.json chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
jest.config.ts chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
project.json chore(trading): remove target build from libs (#4725) 2023-09-08 13:43:54 -07:00
README.md Feat/675: Git info (#683) 2022-07-06 15:53:35 +00:00
tsconfig.json feat: toast component (1677) (#1998) 2022-11-15 15:26:13 +01:00
tsconfig.lib.json chore(trading): migrate nx to latest version (#4196) 2023-07-04 13:01:25 +02:00
tsconfig.spec.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00

network-info

This library was generated with Nx.

Prerequisites

The environment variables needed to be present for any app consuming this library.

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_NETWORKS - JSON object with key-value pairs for environments and their deployed URLs

NX_GITHUB_FEEDBACK_URL - the repository's feedback URL to point to

NX_ETHEREUM_PROVIDER_URL - the Ethereum provider url

For examples, see Block Explorer's .env files here

Running unit tests

Run nx test network-info to execute the unit tests via Jest.