vega-frontend-monorepo/apps/multisig-signer
Sam Keen 4272fefb0b
feat(#807): adds app for validator add and remove signer (#1402)
* Feat/807: ABI and classes for the contract methods

* Feat/807: Added a new multisig-signer app

* Feat/807: Added a new multisig-signer app

* Feat/800: Untested signer forms

* Feat/800: Moved reused bg video into ui-toolkit to use in multisig-signer project, and cleaned up some spacing that was overlooked in the stats theme changes

* Feat/800: Componentised a bit, made the app look ok

* Feat/800: Linting, prettifying, removing some unneeded tests, ensuring e2e tests run

* Feat/800: Bit of translation

* chore: fix type errors

* chore: some parts error handling

* feat: handle error and not found cases

* feat: add changes to remove signer form as well

* chore: rename component

* chore: fix type issues

* feat: add web3 connector logic

* feat: allow disconnecting and show connected eth wallet info

* Feat/800: Removed unused 'useApolloClient'

* Feat/800: Ensure bundle.nonce and bundle.signatures have '0x' prepended

* Feat/800: Removed unused e2e directory

* Feat/800: Removed unnecessary app test

* Feat/800: Removed unnecessary router

* Feat/800: Capturing GQL errors in Sentry

* Feat/800: Removing references to the unused e2e test directory

* Feat/807: Consistent react hook imports

* Feat/807: Removed unnecessary spreads

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-09-29 12:10:53 -07:00
..
src feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.babelrc feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.browserslistrc feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.env feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.env.devnet feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.env.mainnet feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.env.stagnet3 feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.env.testnet feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
.eslintrc.json feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
index.d.ts feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
jest.config.ts feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
netlify.toml feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
postcss.config.js feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
project.json feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
README.md feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
tailwind.config.js feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
tsconfig.app.json feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
tsconfig.json feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
tsconfig.spec.json feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00
webpack.config.js feat(#807): adds app for validator add and remove signer (#1402) 2022-09-29 12:10:53 -07:00

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