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.exampleto.env - edit
.envand setWEB3tohttps://volta.rpc.anyblock.toolsor any other valid Volta WEB3 nodeDEPLOY_KEYto a private key with funded Volta account (see notes below for instructions)EXCHANGE_ACCOUNT_DEPLOYER_PRIVto a private key with funded Volta account (for testing you can useDEPLOY_KEY)EXCHANGE_WALLET_PRIVto a private key with funded Volta account (for testing you can useDEPLOY_KEY)EXCHANGE_WALLET_PUBto 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/