An open API service indexing awesome lists of open source software.

https://github.com/balancer/balancer-exchange

Exchange dapp for token swaps
https://github.com/balancer/balancer-exchange

Last synced: about 1 year ago
JSON representation

Exchange dapp for token swaps

Awesome Lists containing this project

README

          

# Balancer Exchange

## Development

- Note

This is Exchange Proxy for first generation SOR/Front end. An updated version can be found at [balancer-registry](https://github.com/balancer-labs/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
```