Skip to content

Commit

Permalink
add etherscan verification config
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzhelyazkov committed Feb 18, 2025
1 parent 710c83c commit 81f3fc7
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,61 @@ const config: HardhatUserConfig = {
deploy: [`deploy/scripts/${TENDERLY_NETWORK_NAME}`]
}
},

etherscan: {
apiKey: VERIFY_API_KEY,
customChains: [
{
network: DeploymentNetwork.Blast,
chainId: chainIds[DeploymentNetwork.Blast],
urls: {
apiURL: "https://api.blastscan.io/api",
browserURL: "https://blastscan.io"
}
},
{
network: DeploymentNetwork.Celo,
chainId: chainIds[DeploymentNetwork.Celo],
urls: {
apiURL: "https://api.celoscan.io/api",
browserURL: "https://celoscan.io"
}
},
{
network: DeploymentNetwork.Mantle,
chainId: chainIds[DeploymentNetwork.Mantle],
urls: {
apiURL: "https://api.mantlescan.xyz/api",
browserURL: "https://mantlescan.xyz"
}
},
{
network: DeploymentNetwork.Linea,
chainId: chainIds[DeploymentNetwork.Linea],
urls: {
apiURL: "https://api.lineascan.build/api",
browserURL: "https:///lineascan.build"
}
},
{
network: DeploymentNetwork.Sei,
chainId: chainIds[DeploymentNetwork.Sei],
urls: {
apiURL: "https://seitrace.com/pacific-1/api",
browserURL: "https://seitrace.com/?chain=pacific-1"
}
},
{
network: DeploymentNetwork.Iota,
chainId: chainIds[DeploymentNetwork.Iota],
urls: {
apiURL: "https://explorer.evm.iota.org/api",
browserURL: "https://explorer.evm.iota.org"
}
}
]
},

solidity: {
compilers: [
{
Expand Down

0 comments on commit 81f3fc7

Please sign in to comment.