From 45f8c2e9ae516676a3df866385302fd407e34345 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 8 Aug 2022 19:30:23 +0200 Subject: [PATCH] chore: add aurora etherscan endpoints (#1572) --- ethers-etherscan/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ethers-etherscan/src/lib.rs b/ethers-etherscan/src/lib.rs index 1afd7189..6d4bb2a0 100644 --- a/ethers-etherscan/src/lib.rs +++ b/ethers-etherscan/src/lib.rs @@ -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) }