0.1.5 • Published 6 years ago

@gnosis.pm/dx-uniswap-arbitrage v0.1.5

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

Arbitrage DutchX/Uniswap

Contract that arbitrages between:

Setup

# 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

Run

yarn lint:watch

Test

truffle develop
yarn test

Deploy

# Local: Run ganache (rpc) in one tab, and then migrate
yarn rpc
yarn migrate

# Rinkeby
yarn migrate --network rinkeby

# Mainnet
yarn mainnet --network mainnet