Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

balancer/balancer-exchange

Repository files navigation

Balancer Exchange

Development

  • Note

    This is Exchange Proxy for first generation SOR/Front end. An updated version can be found at balancer-registry.

  • Environment Config

    • Copy .env.example -> .env
    • Configure backup node urls
    # Backup node url
    REACT_APP_RPC_URL_1="https://mainnet.infura.io/v3/{apiKey}"
    REACT_APP_RPC_URL_3="https://ropsten.infura.io/v3/{apiKey}"
    REACT_APP_RPC_URL_42="https://kovan.infura.io/v3/{apiKey}"
    REACT_APP_RPC_URL_LOCAL="http://localhost:8545"
    
    • Configure supported network
    # Supported Network ID (e.g. mainnet = 1, rinkeby = 4, kovan = 42)
    REACT_APP_SUPPORTED_NETWORK_ID="42"
    
  • Build & run locally

    yarn build
    yarn start