Skip to content

Commit

Permalink
Only do etherscan for default
Browse files Browse the repository at this point in the history
  • Loading branch information
dbcfd committed Apr 13, 2023
1 parent 90211b4 commit 7416f0f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ function make(config: Config): EthereumBlockchainService {
} else if (network) {
logger.imp(`Connecting ethereum to default provider for network ${network.toJSON().stringify()}`)
const opts = {
alchemy: "-",
ankr: "-",
cloudflar: "-",
etherscan: ethereum.account.privateKey,
infura: "-"
}
provider = ethers.getDefaultProvider(network, opts)
} else {
Expand Down

0 comments on commit 7416f0f

Please sign in to comment.