Skip to content

Commit

Permalink
merge arb-sepolia branch into main
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckbergeron committed May 21, 2024
2 parents 1fa7b70 + 57b1654 commit 3b44a3b
Show file tree
Hide file tree
Showing 3 changed files with 1,571 additions and 1,564 deletions.
4 changes: 4 additions & 0 deletions .envrc.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
export MAINNET_RPC_URL=''
export OPTIMISM_MAINNET_RPC_URL=''
export BASE_MAINNET_RPC_URL=''
export ARBITRUM_MAINNET_RPC_URL=''

export SEPOLIA_RPC_URL=''
export OPTIMISM_SEPOLIA_RPC_URL=''
export BASE_SEPOLIA_RPC_URL=''
export ARBITRUM_SEPOLIA_RPC_URL=''
4 changes: 2 additions & 2 deletions src/lib/utils/getProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const providers: Providers = {
1: new JsonRpcProvider(process.env.ETHEREUM_MAINNET_RPC_URL),
10: new JsonRpcProvider(process.env.OPTIMISM_MAINNET_RPC_URL),
8453: new JsonRpcProvider(process.env.BASE_MAINNET_RPC_URL),
42161: new JsonRpcProvider(process.env.ARBITRUM_MAINNET_RPC_URL),
// testnets
5: new JsonRpcProvider(process.env.ETHEREUM_GOERLI_RPC_URL),
420: new JsonRpcProvider(process.env.OPTIMISM_GOERLI_RPC_URL),
84532: new JsonRpcProvider(process.env.BASE_SEPOLIA_RPC_URL),
421614: new JsonRpcProvider(process.env.ARBITRUM_SEPOLIA_RPC_URL),
11155111: new JsonRpcProvider(process.env.SEPOLIA_RPC_URL),
11155420: new JsonRpcProvider(process.env.OPTIMISM_SEPOLIA_RPC_URL),
};

Expand Down
Loading

0 comments on commit 3b44a3b

Please sign in to comment.