- Copy
.env.exampleto.env - Add your Alchemy API key to the
ALCHEMY_IDsecret - Add your Private Key to the
PRIVATE_KEYsecret - Add your PolygonScan API key to the
ETHERSCAN_KEYsecret - Run
yarn build - Run
yarn deploy --network mumbai - Run
yarn verify --network mumbai - Run
yarn deploy --network polygon - Run
yarn verify --network polygon - Head over to the proxy contract checker on polygonscan pos and polygonscan mumbai to setup the two new proxy contracts as proxy contracts
- Test with
npx hardhat w3f-run open-markets-oracle --log - Deploy the task with:
yarn create-task:omoOracle \
--network mumbai \
--nickname "Remilio Babies" \
--deviation 50 \
--heartbeat 3600 \
--nft-collections "ethereum-mainnet:0xD3D9ddd0CF0A5F0BFB8f7fcEAe075DF687eAEBaB" \
--tokens "" \
--currency usd \
--metric MarketCap \
--providers "NftGo" \
--consensus-mechanism mad:mean
- Or try this if the task fails
npx hardhat w3f-deploy open-markets-oracle;
yarn create-task:kaleidoscope \
--network mumbai \
--nickname "BAYC" \
--deviation 25 \
--heartbeat 3600 \
--chain "ethereum" \
--address "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"