Skip to content

Commit

Permalink
Add L2 Sepolia testnets (Optimism, Arbitrum, Base)
Browse files Browse the repository at this point in the history
  • Loading branch information
orenyomtov committed Feb 14, 2024
1 parent 407c260 commit 0a3b178
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const ASSETS: { [key: string]: Asset } = {
[ChainId.MOONBEAM]: { assetId: 'GLMR_GLMR', rpcUrl: "https://rpc.api.moonbeam.network" },
[ChainId.SONGBIRD]: { assetId: 'SGB', rpcUrl: "https://songbird.towolabs.com/rpc" },
[ChainId.ARBITRUM]: { assetId: 'ETH-AETH', rpcUrl: "https://rpc.ankr.com/arbitrum" },
[ChainId.ARBITRUM_SEPOLIA]: { assetId: 'ETH-AETH_SEPOLIA', rpcUrl: "https://sepolia-rollup.arbitrum.io/rpc" },
[ChainId.ARBITRUM_RIN]: { assetId: 'ETH-AETH-RIN', rpcUrl: "https://rinkeby.arbitrum.io/rpc" },
[ChainId.FANTOM]: { assetId: 'FTM_FANTOM', rpcUrl: "https://rpc.ftm.tools/" },
[ChainId.RSK]: { assetId: 'RBTC', rpcUrl: "https://public-node.rsk.co" },
Expand All @@ -28,6 +29,7 @@ export const ASSETS: { [key: string]: Asset } = {
[ChainId.CELO_ALF]: { assetId: 'CELO_ALF', rpcUrl: "https://alfajores-forno.celo-testnet.org/api/eth-rpc" },
[ChainId.OPTIMISM]: { assetId: 'ETH-OPT', rpcUrl: "https://rpc.ankr.com/optimism" },
[ChainId.OPTIMISM_KOVAN]: { assetId: 'ETH-OPT_KOV', rpcUrl: "https://kovan.optimism.io/" },
[ChainId.OPTIMISM_SEPOLIA]: { assetId: 'ETH-OPT_SEPOLIA', rpcUrl: "https://sepolia.optimism.io/" },
[ChainId.RONIN]: { assetId: 'RON', rpcUrl: "https://api.roninchain.com/rpc" },
[ChainId.CANTO]: { assetId: 'CANTO', rpcUrl: "https://canto.gravitychain.io" },
[ChainId.CANTO_TEST]: { assetId: 'CANTO_TEST', rpcUrl: "https://testnet-archive.plexnode.wtf" },
Expand All @@ -45,6 +47,7 @@ export const ASSETS: { [key: string]: Asset } = {
[ChainId.ARB_GOERLI]: { assetId: 'ETH-AETH_GOERLI', rpcUrl: "https://endpoints.omniatech.io/v1/arbitrum/goerli/public" },
[ChainId.XDC]: { assetId: 'XDC', rpcUrl: "https://rpc.xdcrpc.com" },
[ChainId.BASE]: { assetId: 'BASECHAIN_ETH', rpcUrl: "https://mainnet.base.org" },
[ChainId.BASE_SEPOLIA]: { assetId: 'BASECHAIN_ETH_TEST5', rpcUrl: "https://sepolia.base.org" },
[ChainId.IVAR]: { assetId: 'CHZ_CHZ2', rpcUrl: "https://mainnet-rpc.ivarex.com" },
[ChainId.JOC]: { assetId: 'ASTR_TEST', rpcUrl: "https://rpc-1.japanopenchain.org:8545" },
[ChainId.OASYS]: { assetId: 'OAS', rpcUrl: "https://oasys.blockpi.network/v1/rpc/public" },
Expand Down
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export enum ChainId {
MOONBEAM = 1284,
SONGBIRD = 19,
ARBITRUM = 42161,
ARBITRUM_SEPOLIA = 421614,
ARBITRUM_RIN = 421611,
FANTOM = 250,
RSK = 30,
Expand All @@ -27,6 +28,7 @@ export enum ChainId {
CELO_BAK = 62320,
CELO_ALF = 44787,
OPTIMISM = 10,
OPTIMISM_SEPOLIA = 11155420,
OPTIMISM_KOVAN = 69,
RONIN = 2020,
CANTO = 7700,
Expand All @@ -45,6 +47,7 @@ export enum ChainId {
ARB_GOERLI = 421613,
XDC = 50,
BASE = 8453,
BASE_SEPOLIA = 84532,
IVAR = 88888,
JOC = 81,
OASYS = 248,
Expand Down

0 comments on commit 0a3b178

Please sign in to comment.