Quickswap PYT
Idle PYT strategy https://github.com/Idle-Labs/idle-tranches for Quickswap on Polygon
Development
Getting Started
This repo is based on https://github.com/libevm/forge-example
Install foundry to compile, test, and debug.
To install dependencies type:
forge install
To build Type:
forge build
Test
To run on forking network copy .env.example
to .env
and setup api key.
Type:
# -vvv = very very verbose
forge test -f http://127.0.0.1:8545 --fork-block-number <FORK_BLOCK_NUMBER> -vvv
Debugging
- access the debugger
forge run --debug src/test/Contract.t.sol --sig "testExample()"
Contract Deployment
Copy .env.example
to .env
and fill it out with correct details.
node --experimental-json-modules scripts/deploy.js
Etherscan Verification
Check here https://github.com/libevm/forge-example#etherscan-verification