This repository was archived by the owner on Sep 17, 2021. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork318
🐍Uniswap V1 smart contracts
License
NotificationsYou must be signed in to change notification settings
Uniswap/v1-contracts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Website:uniswap.io/
- Docs:docs.uniswap.io/
- Twitter:@UniswapExchange
- Reddit:/r/Uniswap/
- Email:contact@uniswap.io
- Slack:uni-swap.slack.com/
- Whitepaper:Link
RequiresPython 3
- Clone Uniswap
$ git clone https://github.com/Uniswap/contracts-vyper$ cd contracts-vyper
- Setup virtual environment
$ pip3 install virtualenv$ virtualenv -p python3 env$ source env/bin/activate
- Install dependencies
pip install -r requirements.txt
- (Optional) Switch Vyper compiler to version used in Uniswapverification
cd vypergit reset --hard 35038d20bd9946a35261c4c4fbcb27fe61e65f78cd ..
- Run tests
$ pytest -v tests/