vega-frontend-monorepo/apps/multisig-signer
2023-11-15 13:40:26 -08:00
..
src chore(trading,governance,explorer): comply with eslint type import rules (#5257) 2023-11-14 16:43:36 -08:00
.babelrc
.browserslistrc
.env
.env.devnet
.env.mainnet
.env.testnet
.env.validators-testnet
.eslintrc.json
index.d.ts
jest.config.ts
postcss.config.js
project.json chore(ci): remove unused netlify configs (#5278) 2023-11-15 13:40:26 -08:00
README.md
tailwind.config.js
tsconfig.app.json
tsconfig.json
tsconfig.spec.json
webpack.config.js

Multisig-signer

Development

First copy the configuration of the application you are starting:

cp .env.[environment] .env.local

Starting the app:

yarn nx serve multisig-signer

Configuration

Example configurations are provided here:

For convenience, you can boot the app injecting one of the configurations above by running:

yarn env-cmd -f .\apps\multisig-signer\.env.{env} yarn nx run multisig-signer:serve # e.g. stagnet1

There are a few different configuration options offered for this app:

| Flag | Purpose | | -------------------------------- | ---------------------------------------------------------------------------------------------------- | --- | | | NX_VEGA_URL | The GraphQl query endpoint of a Vega data node | | NX_VEGA_ENV | The name of the currently connected vega environment |

Testing

To run the minimal set of unit tests, run the following:

yarn nx test multisig-signer