Skip to content

Commit

Permalink
add: more evm testnet chains
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaRouterP committed Jan 22, 2025
1 parent 5ca0ea8 commit 6bf4556
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 0 deletions.
28 changes: 28 additions & 0 deletions packages/react/src/chains/evm/testnets/abstractSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { EVMChain } from '../../../types/index.js';

export const abstractSepolia: EVMChain = {
id: 11124,
name: 'Abstract Sepolia',
type: 'evm',
nativeCurrency: {
decimals: 18,
name: 'Ether',
symbol: 'ETH',
},
rpcUrls: {
default: {
http: ['https://api.testnet.abs.xyz'],
},
},
blockExplorers: {
default: {
name: 'Abstract Sepolia Explorer',
url: 'https://sepolia.abscan.org',
},
},
contracts: {
multicall3: {
address: '0xF9cda624FBC7e059355ce98a31693d299FACd963',
},
},
};
3 changes: 3 additions & 0 deletions packages/react/src/chains/evm/testnets/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
export * from './abstractSepolia.js';
export * from './beraChain.testnet.js';
export * from './firechain.testnet.js';
export * from './movement.testnet.js';
export * from './oasisSapphire.testnet.js';
export * from './pentagon.testnet.js';
export * from './soneium.testnet.js';
export * from './storyOdyssey.js';
export * from './unichainSepolia.js';
28 changes: 28 additions & 0 deletions packages/react/src/chains/evm/testnets/storyOdyssey.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { EVMChain } from '../../../types/index.js';

export const storyOdyssey: EVMChain = {
id: 1516,
name: 'Story Odyssey',
type: 'evm',
nativeCurrency: {
decimals: 18,
name: 'IP Token',
symbol: 'IP',
},
rpcUrls: {
default: {
http: ['https://lightnode-json-rpc-story.grandvalleys.com'],
},
},
blockExplorers: {
default: {
name: 'Story Odyssey Explorer',
url: 'https://odyssey.storyscan.xyz',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
},
},
};
28 changes: 28 additions & 0 deletions packages/react/src/chains/evm/testnets/unichainSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { EVMChain } from '../../../types/index.js';

export const unichainSepolia: EVMChain = {
id: 1301,
name: 'Unichain Sepolia',
type: 'evm',
nativeCurrency: {
decimals: 18,
name: 'Ether',
symbol: 'ETH',
},
rpcUrls: {
default: {
http: ['https://unichain-sepolia-rpc.publicnode.com'],
},
},
blockExplorers: {
default: {
name: 'Unichain Sepolia Explorer',
url: 'https://unichain-sepolia.blockscout.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
},
},
};
20 changes: 20 additions & 0 deletions packages/react/src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ export const CHAIN_ID = {
holesky: '17000',
arbitrumSepolia: '421614',
avalancheFuji: '43113',
amoy: '80002',
fireChainTestnet: '997',
pentagonTestnet: '555555',
soneiumTestnet: '1946',
oasisSapphireTestnet: '23295',
movementTestnet: '30732',
bearChainTestnet: '80084',
unichainSepolia: '1301',
abstractSepolia: '11124',
storyOdyssey: '1516',

// cosmos
osmosisTestnet: 'osmo-test-5',
Expand Down Expand Up @@ -173,6 +183,16 @@ export const CHAIN_DATA: Record<ChainId, ChainData> = {
[CHAIN_ID.arbitrumSepolia]: chains.arbitrumSepolia,
[CHAIN_ID.avalancheFuji]: chains.avalancheFuji,
[CHAIN_ID.sepolia]: chains.sepolia,
[CHAIN_ID.amoy]: chains.amoy,
[CHAIN_ID.fireChainTestnet]: chains.firechainTestnet,
[CHAIN_ID.pentagonTestnet]: chains.pentagonTestnet,
[CHAIN_ID.soneiumTestnet]: chains.soneiumTestnet,
[CHAIN_ID.oasisSapphireTestnet]: chains.oasisSapphireTestnet,
[CHAIN_ID.movementTestnet]: chains.movementTestnet,
[CHAIN_ID.bearChainTestnet]: chains.beraChainTestnet,
[CHAIN_ID.unichainSepolia]: chains.unichainSepolia,
[CHAIN_ID.abstractSepolia]: chains.abstractSepolia,
[CHAIN_ID.storyOdyssey]: chains.storyOdyssey,

// cosmos testnets
[CHAIN_ID.osmosisTestnet]: chains.osmosisTestnet,
Expand Down

0 comments on commit 6bf4556

Please sign in to comment.