Skip to content

Commit bf73dc7

Browse files
chore: add ink sepolia (#32)
* fix: add ink sepolia * fix: add changeset * fix: snapshot * fix: test
1 parent b7db532 commit bf73dc7

8 files changed

Lines changed: 33 additions & 7 deletions

File tree

.changeset/hip-worms-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bgd-labs/toolbox": patch
3+
---
4+
5+
Adds ink sepolia

packages/toolbox/src/ecosystem/__snapshots__/rpcs.spec.ts.snap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ exports[`rpcs > should return alchemy supported chain 137 > polygon-mainnet 1`]
1212

1313
exports[`rpcs > should return alchemy supported chain 146 > sonic-mainnet 1`] = `"https://sonic-mainnet.g.alchemy.com/v2/abc"`;
1414

15+
exports[`rpcs > should return alchemy supported chain 196 > xlayer-mainnet 1`] = `"https://xlayer-mainnet.g.alchemy.com/v2/abc"`;
16+
1517
exports[`rpcs > should return alchemy supported chain 324 > zksync-mainnet 1`] = `"https://zksync-mainnet.g.alchemy.com/v2/abc"`;
1618

1719
exports[`rpcs > should return alchemy supported chain 1088 > metis-mainnet 1`] = `"https://metis-mainnet.g.alchemy.com/v2/abc"`;
@@ -52,6 +54,8 @@ exports[`rpcs > should return alchemy supported chain 534351 > scroll-sepolia 1`
5254

5355
exports[`rpcs > should return alchemy supported chain 534352 > scroll-mainnet 1`] = `"https://scroll-mainnet.g.alchemy.com/v2/abc"`;
5456

57+
exports[`rpcs > should return alchemy supported chain 763373 > ink-sepolia 1`] = `"https://ink-sepolia.g.alchemy.com/v2/abc"`;
58+
5559
exports[`rpcs > should return alchemy supported chain 11155111 > eth-sepolia 1`] = `"https://eth-sepolia.g.alchemy.com/v2/abc"`;
5660

5761
exports[`rpcs > should return alchemy supported chain 11155420 > opt-sepolia 1`] = `"https://opt-sepolia.g.alchemy.com/v2/abc"`;

packages/toolbox/src/ecosystem/chainIds.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
sonic,
2727
zksync,
2828
ink,
29+
inkSepolia,
2930
soneium,
3031
bob,
3132
plasma,
@@ -62,6 +63,7 @@ export const ChainId = {
6263
zksync: zksync.id,
6364
linea: linea.id,
6465
ink: ink.id,
66+
ink_sepolia: inkSepolia.id,
6567
soneium: soneium.id,
6668
bob: bob.id,
6769
plasma: plasma.id,
@@ -107,6 +109,12 @@ export const ChainList: Record<valueOf<typeof ChainId>, Chain> = {
107109
[ChainId.zksync]: zksync,
108110
[ChainId.linea]: linea,
109111
[ChainId.ink]: ink,
112+
[ChainId.ink_sepolia]: {
113+
...inkSepolia,
114+
blockExplorers: {
115+
default: { url: "https://explorer-sepolia.inkonchain.com/", name: "Ink Sepolia" },
116+
},
117+
},
110118
[ChainId.soneium]: soneium,
111119
[ChainId.bob]: bob,
112120
[ChainId.plasma]: plasma,

packages/toolbox/src/ecosystem/generated/alchemyNetworkMap.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const alchemyNetworkMap = {
1111
137: "polygon-mainnet",
1212
143: "monad-mainnet",
1313
146: "sonic-mainnet",
14+
196: "xlayer-mainnet",
1415
204: "opbnb-mainnet",
1516
232: "lens-mainnet",
1617
252: "frax-mainnet",
@@ -34,9 +35,9 @@ export const alchemyNetworkMap = {
3435
1328: "sei-testnet",
3536
1329: "sei-mainnet",
3637
1514: "story-mainnet",
37-
1672: "pharos-mainnet",
3838
1868: "soneium-mainnet",
3939
1946: "soneium-minato",
40+
1952: "xlayer-testnet",
4041
2020: "ronin-mainnet",
4142
2201: "stable-testnet",
4243
2442: "polygonzkevm-cardona",
@@ -47,6 +48,7 @@ export const alchemyNetworkMap = {
4748
4114: "citrea-mainnet",
4849
4157: "crossfi-testnet",
4950
4158: "crossfi-mainnet",
51+
4217: "tempo-mainnet",
5052
4326: "megaeth-mainnet",
5153
4801: "worldchain-sepolia",
5254
5000: "mantle-mainnet",
@@ -78,7 +80,6 @@ export const alchemyNetworkMap = {
7880
42161: "arb-mainnet",
7981
42170: "arbnova-mainnet",
8082
42220: "celo-mainnet",
81-
42429: "tempo-testnet",
8283
42431: "tempo-moderato",
8384
43113: "avax-fuji",
8485
43114: "avax-mainnet",
@@ -107,7 +108,9 @@ export const alchemyNetworkMap = {
107108
688689: "pharos-atlantic",
108109
763373: "ink-sepolia",
109110
808813: "bob-sepolia",
111+
2019775: "jovay-testnet",
110112
5042002: "arc-testnet",
113+
5734951: "jovay-mainnet",
111114
6985385: "humanity-mainnet",
112115
7777777: "zora-mainnet",
113116
11142220: "celo-sepolia",
@@ -120,5 +123,5 @@ export const alchemyNetworkMap = {
120123
728126428: "tron-mainnet",
121124
999999999: "zora-sepolia",
122125
3448148188: "tron-testnet",
123-
"null": "sui-testnet"
126+
"null": "stellar-testnet"
124127
} as const;

packages/toolbox/src/ecosystem/generated/hyperRPC.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ export const hyperRPCSupportedNetworks = [
3131
1328,
3232
1329,
3333
1750,
34+
1776,
3435
1868,
3536
1923,
3637
2741,
3738
2818,
3839
4114,
3940
4200,
4041
4201,
42+
4217,
4143
4326,
4244
5000,
4345
5115,
@@ -60,6 +62,7 @@ export const hyperRPCSupportedNetworks = [
6062
42161,
6163
42170,
6264
42220,
65+
42793,
6366
43113,
6467
43114,
6568
48900,

packages/toolbox/src/ecosystem/generated/tenderly.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const tenderlyNetworkMap = {
99
137: "polygon",
1010
143: "monad",
1111
146: "sonic",
12+
196: "xlayer",
1213
232: "lens",
1314
252: "fraxtal",
1415
288: "boba-ethereum",
@@ -29,10 +30,12 @@ export const tenderlyNetworkMap = {
2930
1923: "swellchain",
3031
1924: "swellchain-sepolia",
3132
1946: "soneium-minato",
33+
1952: "xlayer-testnet",
3234
2020: "ronin",
3335
2201: "stable-testnet",
3436
2523: "fraxtal-hoodi",
3537
4202: "lisk-sepolia",
38+
4217: "tempo",
3639
4326: "megaeth",
3740
4801: "worldchain-sepolia",
3841
5000: "mantle",
@@ -44,7 +47,6 @@ export const tenderlyNetworkMap = {
4447
9746: "plasma-testnet",
4548
10143: "monad-testnet",
4649
10200: "gnosis-chiado-testnet",
47-
11069: "interval-testnet",
4850
13371: "immutable",
4951
13473: "immutable-testnet",
5052
28882: "boba-sepolia",
@@ -54,7 +56,6 @@ export const tenderlyNetworkMap = {
5456
42161: "arbitrum",
5557
42170: "arbitrum-nova",
5658
42220: "celo",
57-
42429: "tempo-testnet",
5859
42431: "tempo-moderato-testnet",
5960
43113: "avalanche-fuji",
6061
43114: "avalanche",
@@ -74,6 +75,7 @@ export const tenderlyNetworkMap = {
7475
84532: "base-sepolia",
7576
167000: "taiko-mainnet",
7677
167013: "taiko-hoodi",
78+
202601: "ronin-testnet",
7779
421614: "arbitrum-sepolia",
7880
534351: "scroll-sepolia",
7981
534352: "scroll-mainnet",
@@ -135,6 +137,7 @@ export const tenderlyExplorerMap = {
135137
2523: "fraxtal-hoodi",
136138
3338: "peaq",
137139
4202: "lisk-sepolia",
140+
4217: "tempo",
138141
4326: "megaeth",
139142
4801: "worldchain-sepolia",
140143
5000: "mantle",
@@ -150,7 +153,6 @@ export const tenderlyExplorerMap = {
150153
10143: "monad-testnet",
151154
10200: "gnosis-chiado-testnet",
152155
11011: "shape-sepolia",
153-
11069: "interval-testnet",
154156
13371: "immutable",
155157
13473: "immutable-testnet",
156158
28882: "boba-sepolia",
@@ -160,7 +162,6 @@ export const tenderlyExplorerMap = {
160162
42161: "arbitrum",
161163
42170: "arbitrum-nova",
162164
42220: "celo",
163-
42429: "tempo-testnet",
164165
42431: "tempo-moderato-testnet",
165166
43113: "avalanche-fuji",
166167
43114: "avalanche-mainnet",

packages/toolbox/src/ecosystem/rpcs.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ describe("rpcs", () => {
6767
"RPC_GNOSIS": 100,
6868
"RPC_HARMONY": 1666600000,
6969
"RPC_INK": 57073,
70+
"RPC_INK_SEPOLIA": 763373,
7071
"RPC_LINEA": 59144,
7172
"RPC_MAINNET": 1,
7273
"RPC_MANTLE": 5000,

packages/toolbox/src/ecosystem/rpcs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const publicRPCs = {
3737
[ChainId.bob]: "https://rpc.gobob.xyz",
3838
[ChainId.plasma]: "https://rpc.plasma.to",
3939
[ChainId.ink]: "https://ink-public.nodies.app",
40+
[ChainId.ink_sepolia]: "https://rpc-gel-sepolia.inkonchain.com",
4041
} as const;
4142

4243
export const alchemySupportedChainIds = Object.values(ChainId).filter(

0 commit comments

Comments
 (0)