Skip to content

Commit

Permalink
Add support for sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
kritik-sah committed Jun 21, 2024
1 parent e66edb6 commit 649291c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export enum SupportedChainId {
RINKEBY = 4,
GOERLI = 5,
KOVAN = 42,
SEPOLIA = 11155111,

ARBITRUM_ONE = 42161,
ARBITRUM_RINKEBY = 421611,
Expand All @@ -31,6 +32,7 @@ export enum ChainName {
RINKEBY = 'rinkeby',
GOERLI = 'goerli',
KOVAN = 'kovan',
SEPOLIA = 'sepolia',
OPTIMISM = 'optimism-mainnet',
OPTIMISM_GOERLI = 'optimism-goerli',
ARBITRUM_ONE = 'arbitrum-mainnet',
Expand All @@ -49,6 +51,7 @@ export const CHAIN_NAMES_TO_IDS: { [chainName: string]: SupportedChainId } = {
[ChainName.RINKEBY]: SupportedChainId.RINKEBY,
[ChainName.GOERLI]: SupportedChainId.GOERLI,
[ChainName.KOVAN]: SupportedChainId.KOVAN,
[ChainName.SEPOLIA]: SupportedChainId.SEPOLIA,
[ChainName.POLYGON]: SupportedChainId.POLYGON,
[ChainName.POLYGON_MUMBAI]: SupportedChainId.POLYGON_MUMBAI,
[ChainName.ARBITRUM_ONE]: SupportedChainId.ARBITRUM_ONE,
Expand Down Expand Up @@ -87,6 +90,7 @@ export const L1_CHAIN_IDS = [
SupportedChainId.RINKEBY,
SupportedChainId.GOERLI,
SupportedChainId.KOVAN,
SupportedChainId.SEPOLIA,
SupportedChainId.POLYGON,
SupportedChainId.POLYGON_MUMBAI,
SupportedChainId.CELO,
Expand Down

0 comments on commit 649291c

Please sign in to comment.