Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: add aurora etherscan endpoints (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Aug 8, 2022
1 parent cff1ce4 commit 45f8c2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ethers-etherscan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ impl ClientBuilder {
"https://testnet.explorer.emerald.oasis.dev/api",
"https://testnet.explorer.emerald.oasis.dev/",
),
Chain::Aurora => urls("https://api.aurorascan.dev/api", "https://aurorascan.dev"),
Chain::AuroraTestnet => {
urls("https://testnet.aurorascan.dev/api", "https://testnet.aurorascan.dev")
}
Chain::AnvilHardhat | Chain::Dev => {
return Err(EtherscanError::LocalNetworksNotSupported)
}
Expand Down

0 comments on commit 45f8c2e

Please sign in to comment.