Skip to content
🐍 An interface for seamless ERC20 exchange.
Python
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
abi update abi and bytecode files Oct 27, 2018
bytecode minor improvement Nov 1, 2018
contracts Update uniswap_exchange.vy Jan 24, 2019
tests refactor tests Nov 26, 2018
.gitattributes use eth_tester Sep 15, 2018
.gitignore upgrade to latest Vyper version Aug 20, 2018
LICENSE.md Rename LICENSE to LICENSE.md Oct 5, 2018
README.md add compiler version Jan 8, 2019
requirements.txt add requirements.txt Oct 26, 2018

README.md

Installation:

Requires Python 3

  1. Clone Uniswap
$ git clone https://github.com/Uniswap/contracts-vyper
$ cd contracts-vyper
  1. Setup virtual environment
$ pip3 install virtualenv
$ virtualenv -p python3 env
$ source env/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. (Optional) Switch Vyper compiler to version used in Uniswap verification
cd vyper
git reset --hard 35038d20bd9946a35261c4c4fbcb27fe61e65f78
cd ..
  1. Run tests
$ pytest -v tests/
You can’t perform that action at this time.