- Website: uniswap.io/
- Docs: docs.uniswap.io/
- Twitter: @UniswapExchange
- Reddit: /r/Uniswap/
- Email: contact@uniswap.io
- Slack: uni-swap.slack.com/
- Whitepaper: Link
Requires Python 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 Uniswap verification
cd vyper
git reset --hard 35038d20bd9946a35261c4c4fbcb27fe61e65f78
cd ..
- Run tests
$ pytest -v tests/
install prerequisites
nvm use
npm install
deploy locally
npm run ganache & >/dev/null
npm run deploy
deploy to the RSK testnet (this requires having account MNEMONIC in .env
)
npm run deploy:rskTestnet
and mainnet
npm run deploy:rsk
already deployed contracts can be managed by console
npx truffle console --network rsk