Skip to content

Commit 146d98a

Browse files
committed
feat: latest dl addresses
1 parent b0c1833 commit 146d98a

File tree

6 files changed

+8040
-1207
lines changed

6 files changed

+8040
-1207
lines changed

docs/dev-resources/Deployments.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ sidebar_position: 1
55
---
66

77
import ChainConfig from "../../src/components/Contracts/ChainConfig.tsx";
8-
import SwitchboardAddresses from "../../src/components/Contracts/SwitchboardAddresses.tsx";
8+
import AddressSelector from "../../src/components/Contracts/AddressSelector.tsx";
99

10-
### Socket Address
10+
### Find Addresses
1111

1212
<div className="space-y-1 mt-2">
13-
<ChainConfig />
13+
<AddressSelector />
1414
</div>
1515

16-
### Socket Switchboards
16+
### All Chain Addresses
1717

1818
<div className="space-y-1 mt-2">
19-
<SwitchboardAddresses />
19+
<ChainConfig />
2020
</div>
2121

2222
<!-- The contract address for `Socket`, `Inbound` and `Outbound` switchboard can be found in the [SocketDL repo](https://github.com/SocketDotTech/socket-DL/blob/imli-prod/deployments/prod_addresses.json).

src/components/Contracts/SwitchboardAddresses.tsx renamed to src/components/Contracts/AddressSelector.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ enum PATH {
1010
OPTIMISTIC = "OPTIMISTIC",
1111
}
1212

13-
function SwitchboardAddresses() {
13+
function AddressSelector() {
1414
const [selectedChainSlug, setSelectedChainSlug] = useState("10");
1515
const [selectedDestinationChain, setSelectedDestinationChain] = useState(
1616
"10"
@@ -85,6 +85,7 @@ function Table({ selectedChainSlug, selectedDestinationChain, selectedPath }) {
8585
<th>LocalSlug</th>
8686
<th>SiblingSlug</th>
8787
<th>Type</th>
88+
<th>Socket Address</th>
8889
<th>Switchboard Address</th>
8990
</tr>
9091
</thead>
@@ -94,6 +95,9 @@ function Table({ selectedChainSlug, selectedDestinationChain, selectedPath }) {
9495
<td>{selectedChainSlug}</td>
9596
<td>{selectedDestinationChain}</td>
9697
<td>{selectedPath}</td>
98+
<td>
99+
{deployments[selectedChainSlug].Socket}
100+
</td>
97101
<td>
98102
{deployments[selectedChainSlug].integrations?.[
99103
selectedDestinationChain
@@ -105,4 +109,4 @@ function Table({ selectedChainSlug, selectedDestinationChain, selectedPath }) {
105109
);
106110
}
107111

108-
export default SwitchboardAddresses;
112+
export default AddressSelector;

src/components/Contracts/ChainConfig.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@ function ChainConfig() {
4040
</a>
4141
</div>
4242
</div>{" "}
43+
<div>
44+
<div>
45+
{" "}
46+
<span className="font-semibold"> Switchboard : </span>
47+
<a
48+
href={`${chainDetails[Object.keys(deployments)[index]]?.blockExplorerUrl
49+
}/address/${item["FastSwitchboard"]}`}
50+
target="_blank"
51+
>
52+
{" "}
53+
{shortenAddress(item["FastSwitchboard"])}{" "}
54+
</a>
55+
</div>
56+
</div>{" "}
4357
</div>
4458
</div>
4559
))}

src/components/Contracts/chainDetails.ts

Lines changed: 218 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,66 @@ export const chainDetails = {
2929
blockExplorerUrl: "https://testnet.tomoscan.io",
3030
logoURI: "",
3131
},
32+
100: {
33+
chainSlug: 100,
34+
chainName: "Gnosis Chain",
35+
blockExplorerUrl: "https://gnosisscan.io/",
36+
logoURI: "",
37+
},
38+
130: {
39+
chainSlug: 130,
40+
chainName: "Unichain",
41+
blockExplorerUrl: "https://unichain.blockscout.com/",
42+
logoURI: "",
43+
},
3244
137: {
3345
chainSlug: 137,
3446
chainName: "Polygon",
3547
blockExplorerUrl: "https://polygonscan.com",
3648
logoURI: "https://movricons.s3.ap-south-1.amazonaws.com/Matic.svg",
3749
},
50+
146: {
51+
chainSlug: 146,
52+
chainName: "Sonic",
53+
blockExplorerUrl: "https://sonicscan.org/",
54+
logoURI: "",
55+
},
56+
169: {
57+
chainSlug: 169,
58+
chainName: "Manta Pacific",
59+
blockExplorerUrl: "https://pacific-explorer.manta.network/",
60+
logoURI: "",
61+
},
62+
196: {
63+
chainSlug: 196,
64+
chainName: "XLayer",
65+
blockExplorerUrl: "https://www.okx.com/web3/explorer/xlayer",
66+
logoURI: "",
67+
},
68+
204: {
69+
chainSlug: 204,
70+
chainName: "Opbnb",
71+
blockExplorerUrl: "https://opbnb.bscscan.com/",
72+
logoURI: "",
73+
},
74+
324: {
75+
chainSlug: 324,
76+
chainName: "ZkSync Era",
77+
blockExplorerUrl: "https://explorer.zksync.io/",
78+
logoURI: "",
79+
},
80+
404: {
81+
chainSlug: 404,
82+
chainName: "Syndr",
83+
blockExplorerUrl: "https://explorer.syndr.com/",
84+
logoURI: "",
85+
},
86+
416: {
87+
chainSlug: 416,
88+
chainName: "SX Network",
89+
blockExplorerUrl: "https://explorer.sx.technology/",
90+
logoURI: "",
91+
},
3892
420: {
3993
chainSlug: 420,
4094
chainName: "Optimism Goerli",
@@ -50,7 +104,8 @@ export const chainDetails = {
50104
901: {
51105
chainSlug: 901,
52106
chainName: "Lyra testnet",
53-
blockExplorerUrl: "https://explorerl2new-prod-testnet-0eakp60405.t.conduit.xyz",
107+
blockExplorerUrl:
108+
"https://explorerl2new-prod-testnet-0eakp60405.t.conduit.xyz",
54109
logoURI: "/img/lyra-logo.png",
55110
},
56111
919: {
@@ -70,11 +125,23 @@ export const chainDetails = {
70125
chainName: "Parallel",
71126
blockExplorerUrl: "https://explorer.parallel.fi",
72127
},
128+
1101: {
129+
chainSlug: 1101,
130+
chainName: "zkEVM",
131+
blockExplorerUrl: "https://zkevm.polygonscan.com/",
132+
logoURI: "",
133+
},
73134
1729: {
74135
chainSlug: 1729,
75136
chainName: "Reya Cronos Testnet",
76137
blockExplorerUrl: "https://reya-cronos.blockscout.com",
77138
},
139+
1868: {
140+
chainSlug: 1868,
141+
chainName: "Soneium",
142+
blockExplorerUrl: "https://soneium.blockscout.com/",
143+
logoURI: "",
144+
},
78145
2999: {
79146
chainSlug: 2999,
80147
chainName: "Aevo",
@@ -91,12 +158,42 @@ export const chainDetails = {
91158
chainName: "Mantle",
92159
blockExplorerUrl: "https://explorer.mantle.xyz",
93160
},
161+
7887: {
162+
chainSlug: 7887,
163+
chainName: "Kinto",
164+
blockExplorerUrl: "https://explorer.kinto.xyz/",
165+
logoURI: "",
166+
},
167+
7897: {
168+
chainSlug: 7897,
169+
chainName: "Arena Z",
170+
blockExplorerUrl: "https://explorer.arena-z.gg/",
171+
logoURI: "",
172+
},
173+
8008: {
174+
chainSlug: 8008,
175+
chainName: "Polynomial",
176+
blockExplorerUrl: "https://explorer.polynomial.fi",
177+
logoURI: "",
178+
},
179+
8333: {
180+
chainSlug: 8333,
181+
chainName: "B3",
182+
blockExplorerUrl: "https://explorer.b3.fun/",
183+
logoURI: "",
184+
},
94185
8453: {
95186
chainSlug: 8453,
96187
chainName: "Base",
97188
blockExplorerUrl: "https://basescan.org",
98189
logoURI: "https://media.socket.tech/Base.png",
99190
},
191+
10143: {
192+
chainSlug: 10143,
193+
chainName: "Monad Testnet",
194+
blockExplorerUrl: "https://monad-testnet.socialscan.io/",
195+
logoURI: "",
196+
},
100197
34443: {
101198
chainSlug: 34443,
102199
chainName: "Mode",
@@ -109,12 +206,78 @@ export const chainDetails = {
109206
blockExplorerUrl: "https://arbiscan.io",
110207
logoURI: "https://movricons.s3.ap-south-1.amazonaws.com/Arbitrum.svg",
111208
},
209+
43114: {
210+
chainSlug: 43114,
211+
chainName: "Avalanche C-Chain",
212+
blockExplorerUrl: "https://snowtrace.io/",
213+
logoURI: "",
214+
},
215+
43210: {
216+
chainSlug: 43210,
217+
chainName: "Zero Sepolia",
218+
blockExplorerUrl: "",
219+
logoURI: "",
220+
},
221+
47763: {
222+
chainSlug: 47763,
223+
chainName: "NeoX",
224+
blockExplorerUrl: "https://xexplorer.neo.org",
225+
logoURI: "",
226+
},
227+
57073: {
228+
chainSlug: 57073,
229+
chainName: "Ink",
230+
blockExplorerUrl: "https://explorer.inkonchain.com/",
231+
logoURI: "",
232+
},
233+
59144: {
234+
chainSlug: 59144,
235+
chainName: "Linea",
236+
blockExplorerUrl: "https://lineascan.build/",
237+
logoURI: "",
238+
},
239+
60808: {
240+
chainSlug: 60808,
241+
chainName: "Bob",
242+
blockExplorerUrl: "https://explorer.gobob.xyz/",
243+
logoURI: "",
244+
},
245+
63157: {
246+
chainSlug: 63157,
247+
chainName: "Geist",
248+
blockExplorerUrl: "https://geist-mainnet.explorer.alchemy.com/",
249+
logoURI: "",
250+
},
112251
80001: {
113252
chainSlug: 80001,
114253
chainName: "Polygon Mumbai testnet",
115254
blockExplorerUrl: "https://mumbai.polygonscan.com",
116255
logoURI: "https://movricons.s3.ap-south-1.amazonaws.com/Matic.svg",
117256
},
257+
80008: {
258+
chainSlug: 80008,
259+
chainName: "Polynomial Testnet",
260+
blockExplorerUrl: "",
261+
logoURI: "",
262+
},
263+
80094: {
264+
chainSlug: 80094,
265+
chainName: "Berachain",
266+
blockExplorerUrl: "https://berascan.com/",
267+
logoURI: "",
268+
},
269+
81457: {
270+
chainSlug: 81457,
271+
chainName: "Blast",
272+
blockExplorerUrl: "https://blastscan.io",
273+
logoURI: "",
274+
},
275+
412346: {
276+
chainSlug: 412346,
277+
chainName: "Kinto Devnet",
278+
blockExplorerUrl: "",
279+
logoURI: "",
280+
},
118281
421613: {
119282
chainSlug: 421613,
120283
chainName: "Arbitrum Goerli",
@@ -127,6 +290,30 @@ export const chainDetails = {
127290
blockExplorerUrl: "https://sepolia.arbiscan.io",
128291
logoURI: "https://movricons.s3.ap-south-1.amazonaws.com/Arbitrum.svg",
129292
},
293+
444444: {
294+
chainSlug: 444444,
295+
chainName: "Syndr Sepolia L3",
296+
blockExplorerUrl: "",
297+
logoURI: "",
298+
},
299+
534352: {
300+
chainSlug: 534352,
301+
chainName: "Scroll",
302+
blockExplorerUrl: "https://scrollscan.com/",
303+
logoURI: "",
304+
},
305+
543210: {
306+
chainSlug: 543210,
307+
chainName: "Zero",
308+
blockExplorerUrl: "https://explorer.zero.network/",
309+
logoURI: "",
310+
},
311+
777777: {
312+
chainSlug: 777777,
313+
chainName: "Winr",
314+
blockExplorerUrl: "https://explorerl2new-winr-mainnet-0.t.conduit.xyz",
315+
logoURI: "",
316+
},
130317
11155111: {
131318
chainSlug: 11155111,
132319
chainName: "Sepolia",
@@ -145,12 +332,30 @@ export const chainDetails = {
145332
blockExplorerUrl: "https://sepolia-optimism.etherscan.io",
146333
logoURI: "https://movricons.s3.ap-south-1.amazonaws.com/Optimism.svg",
147334
},
335+
12227331: {
336+
chainSlug: 12227331,
337+
chainName: "NeoX Testnet",
338+
blockExplorerUrl: "",
339+
logoURI: "",
340+
},
341+
12227332: {
342+
chainSlug: 12227332,
343+
chainName: "NeoX T4 Testnet",
344+
blockExplorerUrl: "",
345+
logoURI: "",
346+
},
148347
46658378: {
149348
chainSlug: 46658378,
150349
chainName: "Hook testnet",
151350
blockExplorerUrl: "https://hook-stylus-testnet.explorer.caldera.xyz",
152351
logoURI: "",
153352
},
353+
89346162: {
354+
chainSlug: 89346162,
355+
chainName: "Reya Cronos Testnet",
356+
blockExplorerUrl: "",
357+
logoURI: "",
358+
},
154359
686669576: {
155360
chainSlug: 686669576,
156361
chainName: "SX Network Testnet",
@@ -163,10 +368,22 @@ export const chainDetails = {
163368
blockExplorerUrl: "https://scanv2-testnet.ancient8.gg",
164369
logoURI: "",
165370
},
371+
1324967486: {
372+
chainSlug: 1324967486,
373+
chainName: "Reya",
374+
blockExplorerUrl: "https://explorer.reya.network/",
375+
logoURI: "",
376+
},
166377
1399904803: {
167378
chainSlug: 1399904803,
168379
chainName: "XAI Testnet",
169380
blockExplorerUrl: "https://testnet-explorer.xai-chain.net",
170381
logoURI: "/img/xai-logo.png",
171382
},
383+
2863311531: {
384+
chainSlug: 2863311531,
385+
chainName: "Ancient8 Testnet",
386+
blockExplorerUrl: "",
387+
logoURI: "",
388+
},
172389
};

0 commit comments

Comments
 (0)