feat: Rename Etherscan in deployment verification
This could also be Basescan. Abstract away to blockchain explorer.
This commit is contained in:
@@ -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