diff --git a/.env.example b/.env.example index c4cae29..d3636dc 100644 --- a/.env.example +++ b/.env.example @@ -32,7 +32,7 @@ ETHERSCAN_API_KEY=fixme OPTIMISM_ETHERSCAN_API_KEY=fixme ARBISCAN_API_KEY=fixme ARBISCAN_NOVA_API_KEY=fixme -OKLINK_API_KEY=fixme +POLYSCAN_API_KEY=fixme FILFOX_API_KEY=fixme # hardhat HARDHAT_DISABLE_AUTO_MINING=false diff --git a/hardhat.config.ts b/hardhat.config.ts index 3150dcc..c0c84c6 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -68,7 +68,7 @@ const config: HardhatUserConfig = { // polygon polygon: process.env.POLYSCAN_API_KEY || "", - polygonAmoy: process.env.OKLINK_API_KEY || "", + polygonAmoy: process.env.POLYSCAN_API_KEY || "", }, customChains: [ { @@ -99,9 +99,8 @@ const config: HardhatUserConfig = { network: "polygonAmoy", chainId: 80002, urls: { - apiURL: - "https://www.oklink.com/api/v5/explorer/contract/verify-source-code-plugin/AMOY_TESTNET", - browserURL: "https://www.oklink.com/amoy", + apiURL: "https://api-amoy.polygonscan.com/api", + browserURL: "https://amoy.polygonscan.com/", }, }, ],