@snowbridge/registry 0.3.3 → 0.4.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.turbo/turbo-build.log +1 -2
  2. package/dist/index.d.ts +6 -2
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +27 -2
  5. package/dist/local_e2e_bridge_info.g.d.ts +141 -0
  6. package/dist/local_e2e_bridge_info.g.d.ts.map +1 -0
  7. package/dist/local_e2e_bridge_info.g.js +142 -0
  8. package/dist/paseo_sepolia_bridge_info.g.d.ts +331 -0
  9. package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -0
  10. package/dist/paseo_sepolia_bridge_info.g.js +351 -0
  11. package/dist/polkadot_mainnet_bridge_info.g.d.ts +2137 -0
  12. package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -0
  13. package/dist/polkadot_mainnet_bridge_info.g.js +2454 -0
  14. package/dist/transfers.d.ts +3 -8
  15. package/dist/transfers.d.ts.map +1 -1
  16. package/dist/transfers.js +73 -215
  17. package/dist/westend_sepolia_bridge_info.g.d.ts +432 -0
  18. package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -0
  19. package/dist/westend_sepolia_bridge_info.g.js +487 -0
  20. package/package.json +7 -7
  21. package/scripts/buildRegistry.ts +609 -37
  22. package/src/index.ts +27 -2
  23. package/src/local_e2e_bridge_info.g.ts +140 -0
  24. package/src/paseo_sepolia_bridge_info.g.ts +350 -0
  25. package/src/polkadot_mainnet_bridge_info.g.ts +2477 -0
  26. package/src/transfers.ts +72 -265
  27. package/src/westend_sepolia_bridge_info.g.ts +495 -0
  28. package/dist/environment.d.ts +0 -3
  29. package/dist/environment.d.ts.map +0 -1
  30. package/dist/environment.js +0 -181
  31. package/dist/local_e2e.registry.json +0 -391
  32. package/dist/paseo_sepolia.registry.json +0 -231
  33. package/dist/polkadot_mainnet.registry.json +0 -1805
  34. package/dist/registry.d.ts +0 -3
  35. package/dist/registry.d.ts.map +0 -1
  36. package/dist/registry.js +0 -61
  37. package/dist/westend_sepolia.registry.json +0 -283
  38. package/src/environment.ts +0 -185
  39. package/src/local_e2e.registry.json +0 -391
  40. package/src/paseo_sepolia.registry.json +0 -231
  41. package/src/polkadot_mainnet.registry.json +0 -1805
  42. package/src/registry.ts +0 -63
  43. package/src/westend_sepolia.registry.json +0 -283
@@ -0,0 +1,495 @@
1
+ const registry = {
2
+ environment: {
3
+ name: "westend_sepolia",
4
+ ethChainId: 11155111,
5
+ beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
6
+ ethereumChains: {
7
+ "84532": "https://base-sepolia-rpc.publicnode.com",
8
+ "421614": "https://arbitrum-sepolia-rpc.publicnode.com",
9
+ "11155111": "https://ethereum-sepolia-rpc.publicnode.com",
10
+ },
11
+ relaychainUrl: "https://westend-rpc.polkadot.io",
12
+ parachains: {
13
+ "1000": "https://westend-asset-hub-rpc.polkadot.io",
14
+ "1002": "https://westend-bridge-hub-rpc.polkadot.io",
15
+ },
16
+ gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
17
+ beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d",
18
+ assetHubParaId: 1000,
19
+ bridgeHubParaId: 1002,
20
+ v2_parachains: [1000],
21
+ indexerGraphQlUrl:
22
+ "https://snowbridge.squids.live/snowbridge-subsquid-westend@v1/api/graphql",
23
+ l2Bridge: {
24
+ acrossAPIUrl: "https://testnet.across.to/api",
25
+ l1AdapterAddress: "0xcda9bff39cdf39e95f4b699422e422195091126d",
26
+ l1HandlerAddress: "0x924a9f036260ddd5808007e1aa95f08ed08aa569",
27
+ l1FeeTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
28
+ l1SwapRouterAddress: "0x3bfa4769fb09eefc5a80d6e87c3b9c650f7ae48e",
29
+ l1SwapQuoterAddress: "0xed1f6473345f45b75f8179591dd5ba1888cf2fb3",
30
+ l2Chains: {
31
+ "84532": {
32
+ adapterAddress: "0xf06939613a3838af11104c898758220db9093679",
33
+ feeTokenAddress: "0x4200000000000000000000000000000000000006",
34
+ swapRoutes: [
35
+ {
36
+ inputToken: "0x4200000000000000000000000000000000000006",
37
+ outputToken: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
38
+ swapFee: 0,
39
+ },
40
+ {
41
+ inputToken: "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
42
+ outputToken: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
43
+ swapFee: 500,
44
+ },
45
+ ],
46
+ },
47
+ "421614": {
48
+ adapterAddress: "0xcb3d8043bdbfb0d9b30de279a09132073d1de561",
49
+ feeTokenAddress: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
50
+ swapRoutes: [
51
+ {
52
+ inputToken: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
53
+ outputToken: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
54
+ swapFee: 0,
55
+ },
56
+ {
57
+ inputToken: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d",
58
+ outputToken: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
59
+ swapFee: 500,
60
+ },
61
+ ],
62
+ },
63
+ },
64
+ },
65
+ },
66
+ routes: [
67
+ {
68
+ from: {
69
+ kind: "ethereum",
70
+ id: 11155111,
71
+ },
72
+ to: {
73
+ kind: "polkadot",
74
+ id: 1000,
75
+ },
76
+ assets: [
77
+ "0x0000000000000000000000000000000000000000",
78
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
79
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
80
+ "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
81
+ "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
82
+ "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
83
+ ],
84
+ },
85
+ {
86
+ from: {
87
+ kind: "polkadot",
88
+ id: 1000,
89
+ },
90
+ to: {
91
+ kind: "ethereum",
92
+ id: 11155111,
93
+ },
94
+ assets: [
95
+ "0x0000000000000000000000000000000000000000",
96
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
97
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
98
+ "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
99
+ "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
100
+ "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
101
+ ],
102
+ },
103
+ {
104
+ from: {
105
+ kind: "polkadot",
106
+ id: 1000,
107
+ },
108
+ to: {
109
+ kind: "ethereum_l2",
110
+ id: 84532,
111
+ },
112
+ assets: [
113
+ "0x0000000000000000000000000000000000000000",
114
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
115
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
116
+ ],
117
+ },
118
+ {
119
+ from: {
120
+ kind: "ethereum_l2",
121
+ id: 84532,
122
+ },
123
+ to: {
124
+ kind: "polkadot",
125
+ id: 1000,
126
+ },
127
+ assets: [
128
+ "0x0000000000000000000000000000000000000000",
129
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
130
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
131
+ ],
132
+ },
133
+ {
134
+ from: {
135
+ kind: "polkadot",
136
+ id: 1000,
137
+ },
138
+ to: {
139
+ kind: "ethereum_l2",
140
+ id: 421614,
141
+ },
142
+ assets: [
143
+ "0x0000000000000000000000000000000000000000",
144
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
145
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
146
+ ],
147
+ },
148
+ {
149
+ from: {
150
+ kind: "ethereum_l2",
151
+ id: 421614,
152
+ },
153
+ to: {
154
+ kind: "polkadot",
155
+ id: 1000,
156
+ },
157
+ assets: [
158
+ "0x0000000000000000000000000000000000000000",
159
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
160
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
161
+ ],
162
+ },
163
+ ],
164
+ registry: {
165
+ timestamp: "2026-02-16T10:24:33.190Z",
166
+ environment: "westend_sepolia",
167
+ ethChainId: 11155111,
168
+ gatewayAddress: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
169
+ assetHubParaId: 1000,
170
+ bridgeHubParaId: 1002,
171
+ relaychain: {
172
+ tokenSymbols: "WND",
173
+ tokenDecimals: 12,
174
+ ss58Format: 42,
175
+ isEthereum: false,
176
+ accountType: "AccountId32",
177
+ name: "Westend",
178
+ specName: "westend",
179
+ specVersion: 1021002,
180
+ },
181
+ bridgeHub: {
182
+ tokenSymbols: "WND",
183
+ tokenDecimals: 12,
184
+ ss58Format: 42,
185
+ isEthereum: false,
186
+ accountType: "AccountId32",
187
+ name: "Westend BridgeHub",
188
+ specName: "bridge-hub-westend",
189
+ specVersion: 1021001,
190
+ },
191
+ ethereumChains: {
192
+ ethereum_l2_84532: {
193
+ kind: "ethereum_l2",
194
+ id: 84532,
195
+ name: "base-sepolia",
196
+ assets: {
197
+ "0x4200000000000000000000000000000000000006": {
198
+ token: "0x4200000000000000000000000000000000000006",
199
+ name: "Wrapped Ether",
200
+ symbol: "WETH",
201
+ decimals: 18,
202
+ swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
203
+ swapFee: 0,
204
+ },
205
+ "0x036cbd53842c5426634e7929541ec2318f3dcf7e": {
206
+ token: "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
207
+ name: "USDC",
208
+ symbol: "USDC",
209
+ decimals: 6,
210
+ swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
211
+ swapFee: 500,
212
+ },
213
+ "0x0000000000000000000000000000000000000000": {
214
+ token: "0x0000000000000000000000000000000000000000",
215
+ name: "Ether",
216
+ symbol: "Ether",
217
+ decimals: 18,
218
+ swapTokenAddress: "0x0000000000000000000000000000000000000000",
219
+ swapFee: 0,
220
+ },
221
+ },
222
+ key: "ethereum_l2_84532",
223
+ },
224
+ ethereum_l2_421614: {
225
+ kind: "ethereum_l2",
226
+ id: 421614,
227
+ name: "arbitrum-sepolia",
228
+ assets: {
229
+ "0x980b62da83eff3d4576c647993b0c1d7faf17c73": {
230
+ token: "0x980b62da83eff3d4576c647993b0c1d7faf17c73",
231
+ name: "WETH",
232
+ symbol: "WETH",
233
+ decimals: 18,
234
+ swapTokenAddress: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
235
+ swapFee: 0,
236
+ },
237
+ "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d": {
238
+ token: "0x75faf114eafb1bdbe2f0316df893fd58ce46aa4d",
239
+ name: "USD Coin",
240
+ symbol: "USDC",
241
+ decimals: 6,
242
+ swapTokenAddress: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
243
+ swapFee: 500,
244
+ },
245
+ "0x0000000000000000000000000000000000000000": {
246
+ token: "0x0000000000000000000000000000000000000000",
247
+ name: "Ether",
248
+ symbol: "Ether",
249
+ decimals: 18,
250
+ swapTokenAddress: "0x0000000000000000000000000000000000000000",
251
+ swapFee: 0,
252
+ },
253
+ },
254
+ key: "ethereum_l2_421614",
255
+ },
256
+ ethereum_11155111: {
257
+ kind: "ethereum",
258
+ id: 11155111,
259
+ name: "sepolia",
260
+ assets: {
261
+ "0x0000000000000000000000000000000000000000": {
262
+ token: "0x0000000000000000000000000000000000000000",
263
+ name: "Ether",
264
+ symbol: "Ether",
265
+ decimals: 18,
266
+ },
267
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238": {
268
+ token: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
269
+ name: "USDC",
270
+ symbol: "USDC",
271
+ decimals: 6,
272
+ deliveryGas: 80000n,
273
+ },
274
+ "0x72c610e05eaafcdf1fa7a2da15374ee90edb1620": {
275
+ token: "0x72c610e05eaafcdf1fa7a2da15374ee90edb1620",
276
+ name: "Frequency",
277
+ symbol: "eFRQCY",
278
+ decimals: 12,
279
+ deliveryGas: 80000n,
280
+ },
281
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
282
+ token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
283
+ name: "Wrapped Ether",
284
+ symbol: "WETH",
285
+ decimals: 18,
286
+ deliveryGas: 80000n,
287
+ },
288
+ "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f": {
289
+ token: "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
290
+ name: "Frequency",
291
+ symbol: "XRQCY",
292
+ decimals: 8,
293
+ foreignId:
294
+ "0xaf13384cf9612ef1ff4b87470ab247d6f8d8110d4f5af2fe290ce6767818712c",
295
+ deliveryGas: 80000n,
296
+ },
297
+ "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055": {
298
+ token: "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
299
+ name: "WND",
300
+ symbol: "WND",
301
+ decimals: 12,
302
+ foreignId:
303
+ "0x2121cfe35065c0c33465fbada265f08e9613428a4b9eb4bb717cd7db2abf622e",
304
+ deliveryGas: 80000n,
305
+ },
306
+ "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e": {
307
+ token: "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
308
+ name: "WND",
309
+ symbol: "WND",
310
+ decimals: 12,
311
+ foreignId:
312
+ "0x9441dceeeffa7e032eedaccf9b7632e60e86711551a82ffbbb0dda8afd9e4ef7",
313
+ deliveryGas: 80000n,
314
+ },
315
+ },
316
+ key: "ethereum_11155111",
317
+ baseDeliveryGas: 120000n,
318
+ },
319
+ },
320
+ parachains: {
321
+ polkadot_1000: {
322
+ id: 1000,
323
+ kind: "polkadot",
324
+ key: "polkadot_1000",
325
+ features: {
326
+ hasPalletXcm: true,
327
+ hasDryRunApi: true,
328
+ hasTxPaymentApi: true,
329
+ hasDryRunRpc: true,
330
+ hasDotBalance: true,
331
+ hasEthBalance: true,
332
+ hasXcmPaymentApi: true,
333
+ supportsAliasOrigin: true,
334
+ xcmVersion: "v5",
335
+ supportsV2: true,
336
+ },
337
+ info: {
338
+ tokenSymbols: "WND",
339
+ tokenDecimals: 12,
340
+ ss58Format: 42,
341
+ isEthereum: false,
342
+ accountType: "AccountId32",
343
+ name: "Westend Asset Hub",
344
+ specName: "westmint",
345
+ specVersion: 1021003,
346
+ },
347
+ assets: {
348
+ "0x0000000000000000000000000000000000000000": {
349
+ token: "0x0000000000000000000000000000000000000000",
350
+ name: "Ether",
351
+ minimumBalance: 15000n,
352
+ symbol: "Ether",
353
+ decimals: 18,
354
+ isSufficient: true,
355
+ },
356
+ "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238": {
357
+ token: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
358
+ name: "",
359
+ minimumBalance: 1n,
360
+ symbol: "",
361
+ decimals: 0,
362
+ isSufficient: false,
363
+ },
364
+ "0x72c610e05eaafcdf1fa7a2da15374ee90edb1620": {
365
+ token: "0x72c610e05eaafcdf1fa7a2da15374ee90edb1620",
366
+ name: "",
367
+ minimumBalance: 1n,
368
+ symbol: "",
369
+ decimals: 0,
370
+ isSufficient: false,
371
+ },
372
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
373
+ token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
374
+ name: "Wrapped Ether",
375
+ minimumBalance: 15000000000000n,
376
+ symbol: "WETH",
377
+ decimals: 18,
378
+ isSufficient: true,
379
+ },
380
+ "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f": {
381
+ token: "0x23838b1bb57cecf4422a57dd8e7f8a087b30d54f",
382
+ name: "",
383
+ symbol: "",
384
+ decimals: 0,
385
+ locationOnEthereum: {
386
+ parents: 1,
387
+ interior: {
388
+ x2: [
389
+ {
390
+ globalConsensus: {
391
+ byGenesis:
392
+ "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
393
+ },
394
+ },
395
+ {
396
+ parachain: 2313,
397
+ },
398
+ ],
399
+ },
400
+ },
401
+ location: {
402
+ parents: 1,
403
+ interior: {
404
+ x1: [
405
+ {
406
+ parachain: 2313,
407
+ },
408
+ ],
409
+ },
410
+ },
411
+ locationOnAH: {
412
+ parents: 1,
413
+ interior: {
414
+ x1: [
415
+ {
416
+ parachain: 2313,
417
+ },
418
+ ],
419
+ },
420
+ },
421
+ foreignId:
422
+ "0xaf13384cf9612ef1ff4b87470ab247d6f8d8110d4f5af2fe290ce6767818712c",
423
+ minimumBalance: 1n,
424
+ isSufficient: false,
425
+ },
426
+ "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055": {
427
+ token: "0xb8a0f2703ac6bdd352096c90c2945a097e8f4055",
428
+ name: "",
429
+ symbol: "WND",
430
+ decimals: 12,
431
+ locationOnEthereum: {
432
+ parents: 1,
433
+ interior: {
434
+ x1: [
435
+ {
436
+ globalConsensus: {
437
+ byGenesis:
438
+ "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
439
+ },
440
+ },
441
+ ],
442
+ },
443
+ },
444
+ location: {
445
+ parents: 1,
446
+ interior: "Here",
447
+ },
448
+ locationOnAH: {
449
+ parents: 1,
450
+ interior: "Here",
451
+ },
452
+ foreignId:
453
+ "0x2121cfe35065c0c33465fbada265f08e9613428a4b9eb4bb717cd7db2abf622e",
454
+ minimumBalance: 1000000000n,
455
+ isSufficient: true,
456
+ },
457
+ "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e": {
458
+ token: "0xf50fb50d65c8c1f6c72e4d8397c984933afc8f7e",
459
+ name: "",
460
+ symbol: "WND",
461
+ decimals: 12,
462
+ locationOnEthereum: {
463
+ parents: 1,
464
+ interior: {
465
+ x1: [
466
+ {
467
+ globalConsensus: {
468
+ byGenesis:
469
+ "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e",
470
+ },
471
+ },
472
+ ],
473
+ },
474
+ },
475
+ location: {
476
+ parents: 1,
477
+ interior: "Here",
478
+ },
479
+ locationOnAH: {
480
+ parents: 1,
481
+ interior: "Here",
482
+ },
483
+ foreignId:
484
+ "0x9441dceeeffa7e032eedaccf9b7632e60e86711551a82ffbbb0dda8afd9e4ef7",
485
+ minimumBalance: 1000000000n,
486
+ isSufficient: true,
487
+ },
488
+ },
489
+ estimatedExecutionFeeDOT: 0n,
490
+ estimatedDeliveryFeeDOT: 0n,
491
+ },
492
+ },
493
+ },
494
+ } as const
495
+ export default registry
@@ -1,3 +0,0 @@
1
- import { Environment } from "@snowbridge/base-types";
2
- export declare function environmentFor(env: "polkadot_mainnet" | "westend_sepolia" | "paseo_sepolia" | (string & {})): Environment;
3
- //# sourceMappingURL=environment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD,wBAAgB,cAAc,CAC1B,GAAG,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAC9E,WAAW,CAGb"}
@@ -1,181 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.environmentFor = environmentFor;
4
- function environmentFor(env) {
5
- if (!(env in SNOWBRIDGE_ENV))
6
- throw Error(`Unknown env '${env}'`);
7
- return SNOWBRIDGE_ENV[env];
8
- }
9
- const SNOWBRIDGE_ENV = {
10
- local_e2e: {
11
- name: "local_e2e",
12
- ethChainId: 11155111,
13
- beaconApiUrl: "http://127.0.0.1:9596",
14
- ethereumChains: {
15
- "11155111": "ws://127.0.0.1:8546",
16
- },
17
- relaychainUrl: "ws://127.0.0.1:9944",
18
- parachains: {
19
- "1000": "ws://127.0.0.1:12144",
20
- "1002": "ws://127.0.0.1:11144",
21
- "2000": "ws://127.0.0.1:13144",
22
- },
23
- gatewayContract: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305",
24
- beefyContract: "0x83428c7db9815f482a39a1715684dcf755021997",
25
- assetHubParaId: 1000,
26
- bridgeHubParaId: 1002,
27
- v2_parachains: [1000],
28
- indexerGraphQlUrl: "http://127.0.0.1/does/not/exist",
29
- },
30
- paseo_sepolia: {
31
- name: "paseo_sepolia",
32
- ethChainId: 11155111,
33
- beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
34
- ethereumChains: {
35
- "11155111": "https://ethereum-sepolia-rpc.publicnode.com",
36
- },
37
- relaychainUrl: "wss://paseo-rpc.dwellir.com",
38
- parachains: {
39
- "1000": "wss://asset-hub-paseo-rpc.dwellir.com",
40
- "1002": "wss://bridge-hub-paseo.dotters.network",
41
- "3369": "wss://paseo-muse-rpc.polkadot.io",
42
- "2043": `wss://parachain-testnet-rpc.origin-trail.network`,
43
- },
44
- gatewayContract: "0x1607C1368bc943130258318c91bBd8cFf3D063E6",
45
- beefyContract: "0x2c780945beb1241fE9c645800110cb9C4bBbb639",
46
- assetHubParaId: 1000,
47
- bridgeHubParaId: 1002,
48
- v2_parachains: [1000],
49
- indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-paseo@v1/api/graphql",
50
- metadataOverrides: {
51
- // Change the name of TRAC
52
- "0xef32abea56beff54f61da319a7311098d6fbcea9": {
53
- name: "OriginTrail TRAC",
54
- symbol: "TRAC",
55
- },
56
- },
57
- },
58
- polkadot_mainnet: {
59
- name: "polkadot_mainnet",
60
- ethChainId: 1,
61
- beaconApiUrl: "https://lodestar-mainnet.chainsafe.io",
62
- ethereumChains: {
63
- "1": "https://ethereum-rpc.publicnode.com",
64
- "1284": "https://rpc.api.moonbeam.network",
65
- "8453": "https://base-rpc.publicnode.com",
66
- },
67
- relaychainUrl: "https://polkadot-rpc.n.dwellir.com",
68
- parachains: {
69
- "1000": "wss://asset-hub-polkadot-rpc.n.dwellir.com",
70
- "1002": "https://bridge-hub-polkadot-rpc.n.dwellir.com",
71
- "3369": "wss://polkadot-mythos-rpc.polkadot.io",
72
- "2034": "wss://hydration-rpc.n.dwellir.com",
73
- "2030": "wss://bifrost-polkadot.ibp.network",
74
- "2004": "wss://moonbeam.ibp.network",
75
- "2000": "wss://acala-rpc-0.aca-api.network",
76
- "2043": "wss://parachain-rpc.origin-trail.network",
77
- // TODO: Add back in jampton once we have an indexer in place.
78
- //"3397": "wss://rpc.jamton.network",
79
- },
80
- gatewayContract: "0x27ca963c279c93801941e1eb8799c23f407d68e7",
81
- beefyContract: "0x1817874feAb3ce053d0F40AbC23870DB35C2AFfc",
82
- assetHubParaId: 1000,
83
- bridgeHubParaId: 1002,
84
- v2_parachains: [1000],
85
- indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-polkadot@v2/api/graphql",
86
- kusama: {
87
- assetHubParaId: 1000,
88
- bridgeHubParaId: 1002,
89
- parachains: {
90
- "1000": "wss://asset-hub-kusama-rpc.n.dwellir.com",
91
- "1002": "https://bridge-hub-kusama-rpc.n.dwellir.com",
92
- },
93
- },
94
- precompiles: {
95
- // Add override for mythos token and add precompile for moonbeam
96
- "2004": "0x000000000000000000000000000000000000081a",
97
- },
98
- metadataOverrides: {
99
- // Change the name of TRAC
100
- "0xaa7a9ca87d3694b5755f213b5d04094b8d0f0a6f": {
101
- name: "OriginTrail TRAC",
102
- },
103
- },
104
- l2Bridge: {
105
- acrossAPIUrl: "https://app.across.to/api",
106
- l1AdapterAddress: "0x313E8c9Fb47613f2B1A436bE978c2BB75727fcC5",
107
- l1HandlerAddress: "0x924a9f036260DdD5808007E1AA95f08eD08aA569",
108
- l1FeeTokenAddress: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
109
- l1SwapQuoterAddress: "0x61fFE014bA17989E743c5F6cB21bF9697530B21e",
110
- l1SwapRouterAddress: "0xE592427A0AEce92De3Edee1F18E0157C05861564",
111
- l2Chains: {
112
- "8453": {
113
- adapterAddress: "0xCd5d2c665E3AC84bF5c67FE7a0C48748dA40db2F",
114
- feeTokenAddress: "0x4200000000000000000000000000000000000006",
115
- swapRoutes: [
116
- // WETH
117
- {
118
- inputToken: "0x4200000000000000000000000000000000000006",
119
- outputToken: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
120
- swapFee: 0,
121
- },
122
- // USDC
123
- {
124
- inputToken: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
125
- outputToken: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
126
- swapFee: 500,
127
- },
128
- ],
129
- },
130
- },
131
- },
132
- },
133
- westend_sepolia: {
134
- name: "westend_sepolia",
135
- ethChainId: 11155111,
136
- beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
137
- ethereumChains: {
138
- "11155111": "https://ethereum-sepolia-rpc.publicnode.com",
139
- "84532": "https://base-sepolia-rpc.publicnode.com",
140
- },
141
- relaychainUrl: "wss://westend-rpc.n.dwellir.com",
142
- parachains: {
143
- "1000": "wss://asset-hub-westend-rpc.n.dwellir.com",
144
- "1002": "wss://bridge-hub-westend-rpc.n.dwellir.com",
145
- },
146
- gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
147
- beefyContract: "0xA04460B1D8bBef33F54edB2C3115e3E4D41237A6",
148
- assetHubParaId: 1000,
149
- bridgeHubParaId: 1002,
150
- v2_parachains: [1000],
151
- indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-westend@v1/api/graphql",
152
- l2Bridge: {
153
- acrossAPIUrl: "https://testnet.across.to/api",
154
- l1AdapterAddress: "0xA5B8589bD534701be49916c4d2e634aB1c765Cbf",
155
- l1HandlerAddress: "0x924a9f036260DdD5808007E1AA95f08eD08aA569",
156
- l1FeeTokenAddress: "0xfFf9976782d46CC05630D1f6eBAb18b2324d6B14",
157
- l1SwapRouterAddress: "0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E",
158
- l1SwapQuoterAddress: "0xEd1f6473345F45b75F8179591dd5bA1888cf2FB3",
159
- l2Chains: {
160
- "84532": {
161
- adapterAddress: "0xf06939613A3838Af11104c898758220dB9093679",
162
- feeTokenAddress: "0x4200000000000000000000000000000000000006",
163
- swapRoutes: [
164
- // WETH
165
- {
166
- inputToken: "0x4200000000000000000000000000000000000006",
167
- outputToken: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
168
- swapFee: 0,
169
- },
170
- // USDC
171
- {
172
- inputToken: "0x036cbd53842c5426634e7929541ec2318f3dcf7e",
173
- outputToken: "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
174
- swapFee: 500,
175
- },
176
- ],
177
- },
178
- },
179
- },
180
- },
181
- };