A set of hooks and utilities to create Synthetic web applications with UMA.
- bnc-onboard@1.27.0
- @uma/core@2.1.0
- ethers (5.0.31)
- @material-ui/core (4.11.3)
- @material-ui/icons (4.11.2)
- web3-utils (1.3.4)
Start local blockchain
- yarn chain
Start Demo app
- yarn start:dev
The SDK uses Onboard.js, which requires the following environment variables:
- NEXT_PUBLIC_ONBOARD_API_KEY
- NEXT_PUBLIC_INFURA_ID
- NEXT_PUBLIC_PORTIS_API_KEY
Other environment variables
- SUPPORTED_NETWORK_IDS=<Array_NETWORK_IDs> (default to [1,42])
For testing:
- FORK_URL=<Alchemy_Url>
- NETWORK_ID=1 | 42
- PRIV_KEY=<Your_Test_Private_Key>
- FORK_MODE=Mainnet | Kovan