double rewards
from the AAVE Market
and Polycat.finance
.Fish Token
: https://polycat.finance/pools )
npm install
npm run migrate:local
1: Get API-key from Infura https://infura.io/
2: Setup Add-on for Polygon Mumbai in Infura
.env
to the root directory.
.env.example
. (Please write 3 things below into .env
)
MATIC token balance
of executor's (user's) wallet address
.
1 MATIC
."Getting Mumbai USDC, ETH and other faucet tokens"
in this article is explanation about the Fancet: https://blog.pods.finance/guide-connecting-mumbai-testnet-to-your-metamask-87978071aca8 )npm run script:YieldFarmingStrategy
$ ganache-cli -d --fork https://polygon-mainnet.infura.io/v3/{YOUR INFURA KEY}@{BLOCK_NUMBER}
(※ -d
option is the option in order to be able to use same address on Ganache-CLI every time)
(※ Please stop and re-start if an error of "Returned error: project ID does not have access to archive state"
is displayed)
npm run test:YieldFarmingStrategy
( truffle test ./test/test-local/YieldFarmingStrategy.test.js --network local
)
npm run test:MasterChef
( truffle test ./test/test-local/polycat/MasterChef.test.js --network local
)
"https://polygon-mainnet.infura.io/YOUR-PROJECT-ID"
"https://polygon-mumbai.infura.io/YOUR-PROJECT-ID"