picoswap-v1-dev
This repo contains picoswap v1 exchange contracts
Deployed contracts
Chain | Contract | Address |
---|---|---|
Beresheet | Factory | 0x750fa40722355176CF4fAEA7d3ED297aAd4A611C |
Beresheet | Router | 0x42f8b467Aff49a2aC2697c1F3F06231E2B6229CC |
Compile
yarn
yarn compile
Init Code Hash (used in Uniswapv2Library.sol)
yarn initcodehash
Deploy
Deploys with truffle (had issues deploying with hardhat that will be resolved)
- Local:
WEDG_ADDRESS=<address of your local contract> yarn deploy:local
- Beresheet:
WEDG_ADDRESS=<address of your local contract> PICO_BERESHEET=<private key> yarn deploy:beresheet