feat: Rename Etherscan in deployment verification

This could also be Basescan. Abstract away to blockchain explorer.
This commit is contained in:
TAMARA LIPOWSKI
2025-03-03 17:14:39 -05:00
parent ceef683202
commit bc54eac110
5 changed files with 9 additions and 10 deletions

View File

@@ -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

View File

@@ -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);
}
}
}

View File

@@ -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);
}
}