Skip to content

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.

  1. copy .env.example to .env
  2. edit .env and set
    • WEB3 to https://volta.rpc.anyblock.tools or any other valid Volta WEB3 node
    • DEPLOY_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 use DEPLOY_KEY)
    • EXCHANGE_WALLET_PRIV to a private key with funded Volta account (for testing you can use DEPLOY_KEY)
    • EXCHANGE_WALLET_PUB to a address of EXCHANGE_WALLET_PRIV
  3. run yarn run:origin:web3
  4. 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/