-
Notifications
You must be signed in to change notification settings - Fork 40
Add Etherscan configuration for new networks #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c6bac3f
bc6649b
fbf39d1
dc843d3
b09052b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -187,11 +187,17 @@ export default { | |
currency: "USD", | ||
gasPrice: 21, | ||
}, | ||
sourcify: { | ||
enabled: true, | ||
}, | ||
etherscan: { | ||
apiKey: { | ||
sepolia: ETHERSCAN_API_KEY, | ||
arbitrumOne: ETHERSCAN_API_KEY, | ||
base: ETHERSCAN_API_KEY, | ||
optimisticEthereum: ETHERSCAN_API_KEY, | ||
polygon: ETHERSCAN_API_KEY, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did this work for you using the same key as other chains?? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, you need to create an API key per block explorer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is luckily going to change soon, see foundry-rs/foundry#9196. |
||
avalanche: ETHERSCAN_API_KEY, | ||
}, | ||
customChains: [ | ||
{ | ||
|
@@ -202,6 +208,14 @@ export default { | |
browserURL: "https://basescan.org", | ||
}, | ||
}, | ||
{ | ||
network: "avalanche", | ||
chainId: 43114, | ||
urls: { | ||
apiURL: "https://api.snowscan.xyz/api", | ||
browserURL: "https://snowscan.xyz", | ||
}, | ||
}, | ||
], | ||
}, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought for now avalanche and polygon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#239 also deployed the other two, so I verified those as well.