@gnosis.pm/dx-uniswap-arbitrage
v0.1.5
Published
An Ethereum contract to execute arbitrage functions against DutchX protocol
Readme
Arbitrage DutchX/Uniswap
Contract that arbitrages between:
- DutchX protocol: http://dutchx.readthedocs.io/en/latest/
- Uniswap protocol: https://uniswap.io/
Setup
# Install dependencies
yarn
# Compile contracts and inject networks
yarn restore
# Check out the contract addresses
yarn networksCreate a file .env using .env.example as your template.
# Create env file
cp .env.example .envRun
yarn lint:watchTest
truffle develop
yarn testDeploy
# Local: Run ganache (rpc) in one tab, and then migrate
yarn rpc
yarn migrate
# Rinkeby
yarn migrate --network rinkeby
# Mainnet
yarn mainnet --network mainnet