Volta deployment
Sometime it's more convenient to use a test network over local for testing or development.
Note
Origin SDK and it's reference implementation can be deployed to any EVM compatible blockchain.
Origin in development mode uses .env
file to set all necessary configuration variables, in order to use Volta network please follow these steps:
Attention
Make sure you completed Getting started in order to install and build Origin monorepo.
- copy
.env.example
to.env
- edit
.env
and setWEB3
tohttps://volta.rpc.anyblock.tools
or any other valid Volta WEB3 nodeDEPLOY_KEY
to a private key with funded Volta account (see notes below for instructions)EXCHANGE_ACCOUNT_DEPLOYER_PRIV
to a private key with funded Volta account (for testing you can useDEPLOY_KEY
)EXCHANGE_WALLET_PRIV
to a private key with funded Volta account (for testing you can useDEPLOY_KEY
)EXCHANGE_WALLET_PUB
to a address ofEXCHANGE_WALLET_PRIV
- run
yarn run:origin:web3
- UI will be available at http://localhost:3000/
Note
You can use sites like https://vanity-eth.tk/ in order to generate a private / public key pair.
Note
Volta tokens can be requested using EWF Volta Faucet available at https://voltafaucet.energyweb.org/