Skip to content

Commit d0344af

Browse files
authored
refactor: Alphabetical ordering for chain IDs mapping (#66)
1 parent faf2cbc commit d0344af

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/networks.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
// Chain names and IDs.
22
export const TESTNET_SEPOLIA_CHAIN_IDs = {
3-
ZK_SYNC_SEPOLIA: 300,
4-
MODE_SEPOLIA: 919,
3+
ARBITRUM_SEPOLIA: 421614,
4+
BASE_SEPOLIA: 84532,
5+
BLAST_SEPOLIA: 168587773,
56
LISK_SEPOLIA: 4202,
7+
MODE_SEPOLIA: 919,
8+
OPTIMISM_SEPOLIA: 11155420,
69
POLYGON_AMOY: 80002,
7-
BASE_SEPOLIA: 84532,
8-
ARBITRUM_SEPOLIA: 421614,
910
SCROLL_SEPOLIA: 534351,
1011
SEPOLIA: 11155111,
11-
OPTIMISM_SEPOLIA: 11155420,
12-
BLAST_SEPOLIA: 168587773,
12+
ZK_SYNC_SEPOLIA: 300,
1313
};
1414

1515
export const TESTNET_CHAIN_IDs = {
1616
...TESTNET_SEPOLIA_CHAIN_IDs,
1717
} as const;
1818

1919
export const MAINNET_CHAIN_IDs = {
20-
MAINNET: 1,
21-
OPTIMISM: 10,
22-
POLYGON: 137,
20+
ARBITRUM: 42161,
21+
BASE: 8453,
22+
BLAST: 81457,
2323
BOBA: 288,
24-
ZK_SYNC: 324,
24+
LINEA: 59144,
2525
LISK: 1135,
26-
BASE: 8453,
26+
MAINNET: 1,
2727
MODE: 34443,
28-
ARBITRUM: 42161,
29-
LINEA: 59144,
30-
BLAST: 81457,
28+
OPTIMISM: 10,
29+
POLYGON: 137,
3130
REDSTONE: 690,
32-
SCROLL: 534352
31+
SCROLL: 534352,
32+
ZK_SYNC: 324
3333
};
3434

3535
export const CHAIN_IDs = {

0 commit comments

Comments
 (0)