Skip to content

Commit

Permalink
feat: add ankr RPC for Optimism and Base
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalii-woof-software committed Nov 7, 2024
1 parent 3a124bc commit 0014c39
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const {
LINEASCAN_KEY,
OPTIMISMSCAN_KEY,
INFURA_KEY,
QUICKNODE_KEY,
ANKR_KEY,
MNEMONIC = 'myth like bonus scare over problem client lizard pioneer submit female collect',
REPORT_GAS = 'false',
NETWORK_PROVIDER = '',
Expand All @@ -92,6 +92,7 @@ export function requireEnv(varName, msg?: string): string {
'ETHERSCAN_KEY',
'SNOWTRACE_KEY',
'INFURA_KEY',
'ANKR_KEY',
'POLYGONSCAN_KEY',
'ARBISCAN_KEY',
'LINEASCAN_KEY',
Expand Down Expand Up @@ -121,12 +122,12 @@ const networkConfigs: NetworkConfig[] = [
{
network: 'optimism',
chainId: 10,
url: `https://optimism-mainnet.infura.io/v3/${INFURA_KEY}`,
url: `https://rpc.ankr.com/optimism/${ANKR_KEY}`,
},
{
network: 'base',
chainId: 8453,
url: `https://fluent-prettiest-scion.base-mainnet.quiknode.pro/${QUICKNODE_KEY}`,
url: `https://rpc.ankr.com/base/${ANKR_KEY}`,
},
{
network: 'arbitrum',
Expand Down

0 comments on commit 0014c39

Please sign in to comment.