@snowbridge/registry 1.0.5 → 1.0.11

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 (41) hide show
  1. package/.prettierrc +23 -0
  2. package/.turbo/turbo-build.log +4 -0
  3. package/README.md +1 -3
  4. package/dist/index.d.ts +7 -2
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +30 -47
  7. package/dist/local_e2e_bridge_info.g.d.ts +158 -0
  8. package/dist/local_e2e_bridge_info.g.d.ts.map +1 -0
  9. package/dist/local_e2e_bridge_info.g.js +159 -0
  10. package/dist/paseo_sepolia_bridge_info.g.d.ts +353 -0
  11. package/dist/paseo_sepolia_bridge_info.g.d.ts.map +1 -0
  12. package/dist/paseo_sepolia_bridge_info.g.js +373 -0
  13. package/dist/polkadot_mainnet_bridge_info.g.d.ts +2249 -0
  14. package/dist/polkadot_mainnet_bridge_info.g.d.ts.map +1 -0
  15. package/dist/polkadot_mainnet_bridge_info.g.js +2573 -0
  16. package/dist/transfers.d.ts +4 -0
  17. package/dist/transfers.d.ts.map +1 -0
  18. package/dist/transfers.js +96 -0
  19. package/dist/westend_sepolia_bridge_info.g.d.ts +469 -0
  20. package/dist/westend_sepolia_bridge_info.g.d.ts.map +1 -0
  21. package/dist/westend_sepolia_bridge_info.g.js +526 -0
  22. package/package.json +21 -15
  23. package/scripts/buildRegistry.ts +1258 -0
  24. package/scripts/friendlyChains.ts +74 -0
  25. package/src/index.ts +22 -57
  26. package/src/local_e2e_bridge_info.g.ts +157 -0
  27. package/src/paseo_sepolia_bridge_info.g.ts +372 -0
  28. package/src/polkadot_mainnet_bridge_info.g.ts +2597 -0
  29. package/src/transfers.ts +97 -0
  30. package/src/westend_sepolia_bridge_info.g.ts +534 -0
  31. package/tsconfig.json +1 -1
  32. package/tsconfig.scripts.json +23 -0
  33. package/build.ts +0 -35
  34. package/dist/local_e2e.registry.json +0 -347
  35. package/dist/paseo_sepolia.registry.json +0 -150
  36. package/dist/polkadot_mainnet.registry.json +0 -1484
  37. package/dist/westend_sepolia.registry.json +0 -227
  38. package/src/local_e2e.registry.json +0 -347
  39. package/src/paseo_sepolia.registry.json +0 -150
  40. package/src/polkadot_mainnet.registry.json +0 -1484
  41. package/src/westend_sepolia.registry.json +0 -227
@@ -0,0 +1,373 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry = {
4
+ environment: {
5
+ name: "paseo_sepolia",
6
+ ethChainId: 11155111,
7
+ beaconApiUrl: "https://lodestar-sepolia.chainsafe.io",
8
+ ethereumChains: {
9
+ "11155111": "https://ethereum-sepolia-rpc.publicnode.com",
10
+ },
11
+ relaychainUrl: "wss://paseo-rpc.n.dwellir.com",
12
+ parachains: {
13
+ "1000": "wss://asset-hub-paseo-rpc.n.dwellir.com",
14
+ "1002": "wss://bridge-hub-paseo.dotters.network",
15
+ "2043": "wss://parachain-testnet-rpc.origin-trail.network",
16
+ "3369": "wss://paseo-muse-rpc.polkadot.io",
17
+ },
18
+ gatewayContract: "0x1607c1368bc943130258318c91bbd8cff3d063e6",
19
+ beefyContract: "0x2c780945beb1241fe9c645800110cb9c4bbbb639",
20
+ assetHubParaId: 1000,
21
+ bridgeHubParaId: 1002,
22
+ v2_parachains: [1000],
23
+ indexerGraphQlUrl: "https://snowbridge.squids.live/snowbridge-subsquid-paseo@v1/api/graphql",
24
+ metadataOverrides: {
25
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
26
+ name: "OriginTrail TRAC",
27
+ symbol: "TRAC",
28
+ },
29
+ },
30
+ },
31
+ routes: [
32
+ {
33
+ from: {
34
+ kind: "ethereum",
35
+ id: 11155111,
36
+ },
37
+ to: {
38
+ kind: "polkadot",
39
+ id: 1000,
40
+ },
41
+ assets: [
42
+ "0x0000000000000000000000000000000000000000",
43
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
44
+ "0xef32abea56beff54f61da319a7311098d6fbcea9",
45
+ "0x99e743964c036bc28931fb564817db428aa7f752",
46
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
47
+ ],
48
+ },
49
+ {
50
+ from: {
51
+ kind: "polkadot",
52
+ id: 1000,
53
+ },
54
+ to: {
55
+ kind: "ethereum",
56
+ id: 11155111,
57
+ },
58
+ assets: [
59
+ "0x0000000000000000000000000000000000000000",
60
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
61
+ "0xef32abea56beff54f61da319a7311098d6fbcea9",
62
+ "0x99e743964c036bc28931fb564817db428aa7f752",
63
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
64
+ ],
65
+ },
66
+ {
67
+ from: {
68
+ kind: "ethereum",
69
+ id: 11155111,
70
+ },
71
+ to: {
72
+ kind: "polkadot",
73
+ id: 2043,
74
+ },
75
+ assets: ["0xef32abea56beff54f61da319a7311098d6fbcea9"],
76
+ },
77
+ {
78
+ from: {
79
+ kind: "polkadot",
80
+ id: 2043,
81
+ },
82
+ to: {
83
+ kind: "ethereum",
84
+ id: 11155111,
85
+ },
86
+ assets: ["0xef32abea56beff54f61da319a7311098d6fbcea9"],
87
+ },
88
+ {
89
+ from: {
90
+ kind: "ethereum",
91
+ id: 11155111,
92
+ },
93
+ to: {
94
+ kind: "polkadot",
95
+ id: 3369,
96
+ },
97
+ assets: ["0xb34a6924a02100ba6ef12af1c798285e8f7a16ee"],
98
+ },
99
+ {
100
+ from: {
101
+ kind: "polkadot",
102
+ id: 3369,
103
+ },
104
+ to: {
105
+ kind: "ethereum",
106
+ id: 11155111,
107
+ },
108
+ assets: ["0xb34a6924a02100ba6ef12af1c798285e8f7a16ee"],
109
+ },
110
+ ],
111
+ registry: {
112
+ timestamp: "2026-03-19T10:22:34.627Z",
113
+ environment: "paseo_sepolia",
114
+ ethChainId: 11155111,
115
+ gatewayAddress: "0x1607c1368bc943130258318c91bbd8cff3d063e6",
116
+ assetHubParaId: 1000,
117
+ bridgeHubParaId: 1002,
118
+ relaychain: {
119
+ tokenSymbols: "PAS",
120
+ tokenDecimals: 10,
121
+ ss58Format: 0,
122
+ isEthereum: false,
123
+ accountType: "AccountId32",
124
+ name: "Paseo Testnet",
125
+ specName: "paseo",
126
+ specVersion: 2000006,
127
+ },
128
+ bridgeHub: {
129
+ tokenSymbols: "PAS",
130
+ tokenDecimals: 10,
131
+ ss58Format: 0,
132
+ isEthereum: false,
133
+ accountType: "AccountId32",
134
+ name: "Paseo Bridge Hub",
135
+ specName: "bridge-hub-paseo",
136
+ specVersion: 2000006,
137
+ },
138
+ ethereumChains: {
139
+ ethereum_11155111: {
140
+ kind: "ethereum",
141
+ id: 11155111,
142
+ name: "sepolia",
143
+ assets: {
144
+ "0x0000000000000000000000000000000000000000": {
145
+ token: "0x0000000000000000000000000000000000000000",
146
+ name: "Ether",
147
+ symbol: "ETH",
148
+ decimals: 18,
149
+ },
150
+ "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
151
+ token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
152
+ name: "Muse",
153
+ symbol: "MUSE",
154
+ decimals: 18,
155
+ deliveryGas: 80000n,
156
+ },
157
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89": {
158
+ token: "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
159
+ name: "Wrapped PILT",
160
+ symbol: "wPILT",
161
+ decimals: 15,
162
+ deliveryGas: 80000n,
163
+ },
164
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
165
+ token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
166
+ name: "OriginTrail TRAC",
167
+ symbol: "TRAC",
168
+ decimals: 18,
169
+ deliveryGas: 80000n,
170
+ },
171
+ "0x99e743964c036bc28931fb564817db428aa7f752": {
172
+ token: "0x99e743964c036bc28931fb564817db428aa7f752",
173
+ name: "KILT",
174
+ symbol: "KILT",
175
+ decimals: 15,
176
+ deliveryGas: 80000n,
177
+ },
178
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
179
+ token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
180
+ name: "Wrapped Ether",
181
+ symbol: "WETH",
182
+ decimals: 18,
183
+ deliveryGas: 80000n,
184
+ },
185
+ },
186
+ key: "ethereum_11155111",
187
+ baseDeliveryGas: 120000n,
188
+ },
189
+ },
190
+ parachains: {
191
+ polkadot_1000: {
192
+ id: 1000,
193
+ kind: "polkadot",
194
+ key: "polkadot_1000",
195
+ features: {
196
+ hasPalletXcm: true,
197
+ hasDryRunApi: true,
198
+ hasTxPaymentApi: true,
199
+ hasDryRunRpc: true,
200
+ hasDotBalance: true,
201
+ hasEthBalance: true,
202
+ hasXcmPaymentApi: true,
203
+ supportsAliasOrigin: true,
204
+ xcmVersion: "v5",
205
+ supportsV2: true,
206
+ },
207
+ info: {
208
+ tokenSymbols: "PAS",
209
+ tokenDecimals: 10,
210
+ ss58Format: 0,
211
+ isEthereum: false,
212
+ accountType: "AccountId32",
213
+ name: "Paseo Asset Hub",
214
+ specName: "asset-hub-paseo",
215
+ specVersion: 2000006,
216
+ },
217
+ assets: {
218
+ "0x0000000000000000000000000000000000000000": {
219
+ token: "0x0000000000000000000000000000000000000000",
220
+ name: "Ether",
221
+ minimumBalance: 15000000000000n,
222
+ symbol: "ETH",
223
+ decimals: 18,
224
+ isSufficient: true,
225
+ },
226
+ "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
227
+ token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
228
+ name: "",
229
+ minimumBalance: 1n,
230
+ symbol: "",
231
+ decimals: 0,
232
+ isSufficient: false,
233
+ },
234
+ "0x22e12ed4e6bcde652a73552dde340fcb972eef89": {
235
+ token: "0x22e12ed4e6bcde652a73552dde340fcb972eef89",
236
+ name: "",
237
+ minimumBalance: 1n,
238
+ symbol: "",
239
+ decimals: 0,
240
+ isSufficient: false,
241
+ },
242
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
243
+ token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
244
+ name: "",
245
+ minimumBalance: 1n,
246
+ symbol: "",
247
+ decimals: 0,
248
+ isSufficient: false,
249
+ },
250
+ "0x99e743964c036bc28931fb564817db428aa7f752": {
251
+ token: "0x99e743964c036bc28931fb564817db428aa7f752",
252
+ name: "",
253
+ minimumBalance: 1n,
254
+ symbol: "",
255
+ decimals: 0,
256
+ isSufficient: false,
257
+ },
258
+ "0xfff9976782d46cc05630d1f6ebab18b2324d6b14": {
259
+ token: "0xfff9976782d46cc05630d1f6ebab18b2324d6b14",
260
+ name: "Wrapped Ether",
261
+ minimumBalance: 15000000000000n,
262
+ symbol: "WETH",
263
+ decimals: 18,
264
+ isSufficient: true,
265
+ },
266
+ },
267
+ estimatedExecutionFeeDOT: 0n,
268
+ estimatedDeliveryFeeDOT: 0n,
269
+ },
270
+ polkadot_2043: {
271
+ id: 2043,
272
+ kind: "polkadot",
273
+ key: "polkadot_2043",
274
+ features: {
275
+ hasPalletXcm: true,
276
+ hasDryRunApi: true,
277
+ hasTxPaymentApi: true,
278
+ hasDryRunRpc: true,
279
+ hasDotBalance: false,
280
+ hasEthBalance: false,
281
+ hasXcmPaymentApi: true,
282
+ supportsAliasOrigin: false,
283
+ xcmVersion: "v4",
284
+ supportsV2: false,
285
+ },
286
+ info: {
287
+ tokenSymbols: "NEURO",
288
+ tokenDecimals: 12,
289
+ ss58Format: 101,
290
+ isEthereum: false,
291
+ accountType: "AccountId32",
292
+ name: "NeuroWeb Testnet",
293
+ specName: "origintrail-parachain",
294
+ specVersion: 151,
295
+ },
296
+ assets: {
297
+ "0xef32abea56beff54f61da319a7311098d6fbcea9": {
298
+ token: "0xef32abea56beff54f61da319a7311098d6fbcea9",
299
+ name: "Trac",
300
+ minimumBalance: 1000000000000000n,
301
+ symbol: "TRAC",
302
+ decimals: 18,
303
+ isSufficient: true,
304
+ },
305
+ },
306
+ estimatedExecutionFeeDOT: 306833n,
307
+ estimatedDeliveryFeeDOT: 307250000n,
308
+ },
309
+ polkadot_3369: {
310
+ id: 3369,
311
+ kind: "polkadot",
312
+ key: "polkadot_3369",
313
+ features: {
314
+ hasPalletXcm: true,
315
+ hasDryRunApi: true,
316
+ hasTxPaymentApi: true,
317
+ hasDryRunRpc: true,
318
+ hasDotBalance: false,
319
+ hasEthBalance: false,
320
+ hasXcmPaymentApi: true,
321
+ supportsAliasOrigin: true,
322
+ xcmVersion: "v5",
323
+ supportsV2: false,
324
+ },
325
+ info: {
326
+ tokenSymbols: "MUSE",
327
+ tokenDecimals: 18,
328
+ ss58Format: 29972,
329
+ isEthereum: true,
330
+ accountType: "AccountId20",
331
+ name: "Muse Testnet",
332
+ specName: "muse",
333
+ specVersion: 1029,
334
+ },
335
+ assets: {
336
+ "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee": {
337
+ token: "0xb34a6924a02100ba6ef12af1c798285e8f7a16ee",
338
+ name: "Muse",
339
+ minimumBalance: 10000000000000000n,
340
+ symbol: "MUSE",
341
+ decimals: 18,
342
+ isSufficient: true,
343
+ },
344
+ },
345
+ estimatedExecutionFeeDOT: 1000000000n,
346
+ estimatedDeliveryFeeDOT: 306650000n,
347
+ },
348
+ },
349
+ },
350
+ chains: {
351
+ sepolia: {
352
+ key: "ethereum_11155111",
353
+ kind: "ethereum",
354
+ id: 11155111,
355
+ },
356
+ assetHub: {
357
+ key: "polkadot_1000",
358
+ kind: "polkadot",
359
+ id: 1000,
360
+ },
361
+ neuroWebTestnet: {
362
+ key: "polkadot_2043",
363
+ kind: "polkadot",
364
+ id: 2043,
365
+ },
366
+ museTestnet: {
367
+ key: "polkadot_3369",
368
+ kind: "polkadot",
369
+ id: 3369,
370
+ },
371
+ },
372
+ };
373
+ exports.default = registry;