dccc750154
* fix: timeout data node requests for node switcher * chore: generate apollo client library * chore: migrate console lite to use new apollo client package * chore: migrate explorer across * chore: remove completely unused file * chore: migrate stats * chore: migrate trading * chore: migrate multisigner app * chore: migrate token over * chore: final migrations * test: adjust tests for new behaviour * fix: build script * Update libs/apollo-client/src/lib/apollo-client.ts * chore: fix conflicts * fix: cache * test: setup mocks before each test * style: lint * style: lint * chore: resolve conflicts * test: fix tests |
||
---|---|---|
.. | ||
src | ||
.babelrc | ||
.browserslistrc | ||
.env | ||
.env.devnet | ||
.env.mainnet | ||
.env.sandbox | ||
.env.stagnet3 | ||
.env.testnet | ||
.eslintrc.json | ||
index.d.ts | ||
jest.config.ts | ||
netlify.toml | ||
postcss.config.js | ||
project.json | ||
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 nx run multisig-signer:serve --env={env} # e.g. stagnet3
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