Contract that arbitrages between:
- DutchX protocol: http://dutchx.readthedocs.io/en/latest/
- Uniswap protocol: https://uniswap.io/
# Install dependencies
yarn
# Compile contracts and inject networks
yarn restore
# Check out the contract addresses
yarn networks
Create a file .env
using .env.example as your template.
# Create env file
cp .env.example .env
yarn lint:watch
truffle develop
yarn test
# Local: Run ganache (rpc) in one tab, and then migrate
yarn rpc
yarn migrate
# Rinkeby
yarn migrate --network rinkeby
# Mainnet
yarn mainnet --network mainnet