/balancer-exchange

Exchange dapp for token swaps

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Balancer Exchange

Development

  • 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