Merge pull request #97 from propeller-heads/router/tnl/basescan-verify
feat: Rename Etherscan in deployment verification
This commit is contained in:
@@ -12,10 +12,9 @@
|
||||
"vm:balancer_v2": "0x543778987b293C7E8Cf0722BB2e935ba6f4068D4"
|
||||
},
|
||||
"base": {
|
||||
"uniswap_v2": "0xa2D6c55676D0d2A1D090e3157aCC9a41bB53BE3B",
|
||||
"uniswap_v3": "0x374fFd7224422dF5dE83B43C7Fa8379F9CAA826a",
|
||||
"uniswap_v4": "0xf1531642018C9Ab6a1B07666755d975eae16a01b",
|
||||
"vm:balancer_v2": "0x6920209CaAF45872006eC507f2f18595af030418"
|
||||
"uniswap_v2": "0x852389F3Cde47e7dab5a29Fdd3E58c7050f1a019",
|
||||
"uniswap_v3": "0x447135F701A4650e4Bd19c2B2B99cb324f8942c3",
|
||||
"uniswap_v4": "0xc34689d354B42b2780Fbe0A785080d761E5C882b"
|
||||
},
|
||||
"tenderly_base": {
|
||||
"uniswap_v3": "0x7c7E06d7317e620a185078e236879D2a87fC8d22"
|
||||
|
||||
@@ -45,6 +45,6 @@ module.exports = {
|
||||
},
|
||||
|
||||
etherscan: {
|
||||
apiKey: process.env.ETHERSCAN_API_KEY,
|
||||
apiKey: process.env.BLOCKCHAIN_EXPLORER_API_KEY,
|
||||
}
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ export PRIVATE_KEY=<private-key>
|
||||
export RPC_URL=<chain-rpc-url>
|
||||
export DEPLOY_WALLET=<wallet-address>
|
||||
export PRIVATE_KEY=<private-key>
|
||||
export ETHERSCAN_API_KEY=<etherscan-api-key>
|
||||
export BLOCKCHAIN_EXPLORER_API_KEY=<blockchain-explorer-api-key>
|
||||
```
|
||||
|
||||
Make sure to run `unset HISTFILE` in your terminal before setting the private key. This will prevent the private key
|
||||
|
||||
@@ -53,9 +53,9 @@ async function main() {
|
||||
address: deployedExecutor.address,
|
||||
constructorArguments: args,
|
||||
});
|
||||
console.log(`${exchange} verified successfully on Etherscan!`);
|
||||
console.log(`${exchange} verified successfully on blockchain explorer!`);
|
||||
} catch (error) {
|
||||
console.error(`Error during Etherscan verification:`, error);
|
||||
console.error(`Error during blockchain explorer verification:`, error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,9 +52,9 @@ async function main() {
|
||||
address: router.address,
|
||||
constructorArguments: [permit2, weth],
|
||||
});
|
||||
console.log(`TychoRouter verified successfully on Etherscan!`);
|
||||
console.log(`TychoRouter verified successfully on blockchain explorer!`);
|
||||
} catch (error) {
|
||||
console.error(`Error during Etherscan verification:`, error);
|
||||
console.error(`Error during blockchain explorer verification:`, error);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user