@snowbridge/registry 0.4.0 → 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.
package/dist/index.d.ts CHANGED
@@ -4,5 +4,5 @@ import westend_sepolia from "./westend_sepolia_bridge_info.g";
4
4
  import paseo_sepolia from "./paseo_sepolia_bridge_info.g";
5
5
  export { paseo_sepolia, westend_sepolia, polkadot_mainnet };
6
6
  import { BridgeInfo } from "@snowbridge/base-types";
7
- export declare function bridgeInfoFor(env: "polkadot_mainnet" | "westend_sepolia" | "paseo_sepolia" | (string & {})): Readonly<BridgeInfo>;
7
+ export declare function bridgeInfoFor(env: "polkadot_mainnet" | "westend_sepolia" | "paseo_sepolia" | "local_e2e" | (string & {})): Readonly<BridgeInfo>;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAE3B,OAAO,gBAAgB,MAAM,kCAAkC,CAAA;AAC/D,OAAO,eAAe,MAAM,iCAAiC,CAAA;AAC7D,OAAO,aAAa,MAAM,+BAA+B,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,wBAAgB,aAAa,CACzB,GAAG,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAC9E,QAAQ,CAAC,UAAU,CAAC,CAYtB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAE3B,OAAO,gBAAgB,MAAM,kCAAkC,CAAA;AAC/D,OAAO,eAAe,MAAM,iCAAiC,CAAA;AAC7D,OAAO,aAAa,MAAM,+BAA+B,CAAA;AAGzD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,wBAAgB,aAAa,CACzB,GAAG,EAAE,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,GAAG,WAAW,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAC5F,QAAQ,CAAC,UAAU,CAAC,CActB"}
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ const westend_sepolia_bridge_info_g_1 = __importDefault(require("./westend_sepol
26
26
  exports.westend_sepolia = westend_sepolia_bridge_info_g_1.default;
27
27
  const paseo_sepolia_bridge_info_g_1 = __importDefault(require("./paseo_sepolia_bridge_info.g"));
28
28
  exports.paseo_sepolia = paseo_sepolia_bridge_info_g_1.default;
29
+ const local_e2e_bridge_info_g_1 = __importDefault(require("./local_e2e_bridge_info.g"));
29
30
  function bridgeInfoFor(env) {
30
31
  switch (env) {
31
32
  case "polkadot_mainnet":
@@ -35,6 +36,8 @@ function bridgeInfoFor(env) {
35
36
  return westend_sepolia_bridge_info_g_1.default;
36
37
  case "paseo_sepolia":
37
38
  return paseo_sepolia_bridge_info_g_1.default;
39
+ case "local_e2e":
40
+ return local_e2e_bridge_info_g_1.default;
38
41
  default:
39
42
  throw Error(`Unknown env '${env}'`);
40
43
  }
@@ -0,0 +1,141 @@
1
+ declare const registry: {
2
+ readonly environment: {
3
+ readonly name: "local_e2e";
4
+ readonly ethChainId: 11155111;
5
+ readonly beaconApiUrl: "http://127.0.0.1:9596";
6
+ readonly ethereumChains: {
7
+ readonly "11155111": "ws://127.0.0.1:8546";
8
+ };
9
+ readonly relaychainUrl: "ws://127.0.0.1:9944";
10
+ readonly parachains: {
11
+ readonly "1000": "ws://127.0.0.1:12144";
12
+ readonly "1002": "ws://127.0.0.1:11144";
13
+ readonly "2000": "ws://127.0.0.1:13144";
14
+ };
15
+ readonly gatewayContract: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305";
16
+ readonly beefyContract: "0x83428c7db9815f482a39a1715684dcf755021997";
17
+ readonly assetHubParaId: 1000;
18
+ readonly bridgeHubParaId: 1002;
19
+ readonly v2_parachains: readonly [1000];
20
+ readonly indexerGraphQlUrl: "http://127.0.0.1/does/not/exist";
21
+ };
22
+ readonly routes: readonly [];
23
+ readonly registry: {
24
+ readonly timestamp: "2026-03-03T03:46:58.680Z";
25
+ readonly environment: "local_e2e";
26
+ readonly ethChainId: 11155111;
27
+ readonly gatewayAddress: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305";
28
+ readonly assetHubParaId: 1000;
29
+ readonly bridgeHubParaId: 1002;
30
+ readonly relaychain: {
31
+ readonly tokenSymbols: "WND";
32
+ readonly tokenDecimals: 12;
33
+ readonly ss58Format: 42;
34
+ readonly isEthereum: false;
35
+ readonly accountType: "AccountId32";
36
+ readonly name: "Westend Local Testnet";
37
+ readonly specName: "westend";
38
+ readonly specVersion: 1021002;
39
+ };
40
+ readonly bridgeHub: {
41
+ readonly tokenSymbols: "WND";
42
+ readonly tokenDecimals: 12;
43
+ readonly ss58Format: 42;
44
+ readonly isEthereum: false;
45
+ readonly accountType: "AccountId32";
46
+ readonly name: "Westend BridgeHub Local";
47
+ readonly specName: "bridge-hub-westend";
48
+ readonly specVersion: 1021002;
49
+ };
50
+ readonly ethereumChains: {
51
+ readonly ethereum_11155111: {
52
+ readonly kind: "ethereum";
53
+ readonly id: 11155111;
54
+ readonly name: "sepolia";
55
+ readonly assets: {
56
+ readonly "0x0000000000000000000000000000000000000000": {
57
+ readonly token: "0x0000000000000000000000000000000000000000";
58
+ readonly name: "Ether";
59
+ readonly symbol: "ETH";
60
+ readonly decimals: 18;
61
+ };
62
+ };
63
+ readonly key: "ethereum_11155111";
64
+ readonly baseDeliveryGas: 120000n;
65
+ };
66
+ };
67
+ readonly parachains: {
68
+ readonly polkadot_1000: {
69
+ readonly id: 1000;
70
+ readonly kind: "polkadot";
71
+ readonly key: "polkadot_1000";
72
+ readonly features: {
73
+ readonly hasPalletXcm: true;
74
+ readonly hasDryRunApi: true;
75
+ readonly hasTxPaymentApi: true;
76
+ readonly hasDryRunRpc: true;
77
+ readonly hasDotBalance: true;
78
+ readonly hasEthBalance: false;
79
+ readonly hasXcmPaymentApi: true;
80
+ readonly supportsAliasOrigin: true;
81
+ readonly xcmVersion: "v5";
82
+ readonly supportsV2: true;
83
+ };
84
+ readonly info: {
85
+ readonly tokenSymbols: "WND";
86
+ readonly tokenDecimals: 12;
87
+ readonly ss58Format: 42;
88
+ readonly isEthereum: false;
89
+ readonly accountType: "AccountId32";
90
+ readonly name: "Westend Asset Hub Local";
91
+ readonly specName: "westmint";
92
+ readonly specVersion: 1021004;
93
+ };
94
+ readonly assets: {
95
+ readonly "0x0000000000000000000000000000000000000000": {
96
+ readonly token: "0x0000000000000000000000000000000000000000";
97
+ readonly name: "Ether";
98
+ readonly minimumBalance: 15000000000000n;
99
+ readonly symbol: "ETH";
100
+ readonly decimals: 18;
101
+ readonly isSufficient: true;
102
+ };
103
+ };
104
+ readonly estimatedExecutionFeeDOT: 0n;
105
+ readonly estimatedDeliveryFeeDOT: 0n;
106
+ };
107
+ readonly polkadot_2000: {
108
+ readonly id: 2000;
109
+ readonly kind: "polkadot";
110
+ readonly key: "polkadot_2000";
111
+ readonly features: {
112
+ readonly hasPalletXcm: true;
113
+ readonly hasDryRunApi: true;
114
+ readonly hasTxPaymentApi: true;
115
+ readonly hasDryRunRpc: true;
116
+ readonly hasDotBalance: true;
117
+ readonly hasEthBalance: false;
118
+ readonly hasXcmPaymentApi: true;
119
+ readonly supportsAliasOrigin: true;
120
+ readonly xcmVersion: "v5";
121
+ readonly supportsV2: false;
122
+ };
123
+ readonly info: {
124
+ readonly tokenSymbols: "undefined";
125
+ readonly tokenDecimals: number;
126
+ readonly ss58Format: 42;
127
+ readonly isEthereum: false;
128
+ readonly accountType: "AccountId32";
129
+ readonly name: "Penpal Parachain";
130
+ readonly specName: "penpal-parachain";
131
+ readonly specVersion: 1;
132
+ };
133
+ readonly assets: {};
134
+ readonly estimatedExecutionFeeDOT: 3276800000n;
135
+ readonly estimatedDeliveryFeeDOT: 31450000000n;
136
+ };
137
+ };
138
+ };
139
+ };
140
+ export default registry;
141
+ //# sourceMappingURL=local_e2e_bridge_info.g.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local_e2e_bridge_info.g.d.ts","sourceRoot":"","sources":["../src/local_e2e_bridge_info.g.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0IJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,142 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const registry = {
4
+ environment: {
5
+ name: "local_e2e",
6
+ ethChainId: 11155111,
7
+ beaconApiUrl: "http://127.0.0.1:9596",
8
+ ethereumChains: {
9
+ "11155111": "ws://127.0.0.1:8546",
10
+ },
11
+ relaychainUrl: "ws://127.0.0.1:9944",
12
+ parachains: {
13
+ "1000": "ws://127.0.0.1:12144",
14
+ "1002": "ws://127.0.0.1:11144",
15
+ "2000": "ws://127.0.0.1:13144",
16
+ },
17
+ gatewayContract: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305",
18
+ beefyContract: "0x83428c7db9815f482a39a1715684dcf755021997",
19
+ assetHubParaId: 1000,
20
+ bridgeHubParaId: 1002,
21
+ v2_parachains: [1000],
22
+ indexerGraphQlUrl: "http://127.0.0.1/does/not/exist",
23
+ },
24
+ routes: [],
25
+ registry: {
26
+ timestamp: "2026-03-03T03:46:58.680Z",
27
+ environment: "local_e2e",
28
+ ethChainId: 11155111,
29
+ gatewayAddress: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305",
30
+ assetHubParaId: 1000,
31
+ bridgeHubParaId: 1002,
32
+ relaychain: {
33
+ tokenSymbols: "WND",
34
+ tokenDecimals: 12,
35
+ ss58Format: 42,
36
+ isEthereum: false,
37
+ accountType: "AccountId32",
38
+ name: "Westend Local Testnet",
39
+ specName: "westend",
40
+ specVersion: 1021002,
41
+ },
42
+ bridgeHub: {
43
+ tokenSymbols: "WND",
44
+ tokenDecimals: 12,
45
+ ss58Format: 42,
46
+ isEthereum: false,
47
+ accountType: "AccountId32",
48
+ name: "Westend BridgeHub Local",
49
+ specName: "bridge-hub-westend",
50
+ specVersion: 1021002,
51
+ },
52
+ ethereumChains: {
53
+ ethereum_11155111: {
54
+ kind: "ethereum",
55
+ id: 11155111,
56
+ name: "sepolia",
57
+ assets: {
58
+ "0x0000000000000000000000000000000000000000": {
59
+ token: "0x0000000000000000000000000000000000000000",
60
+ name: "Ether",
61
+ symbol: "ETH",
62
+ decimals: 18,
63
+ },
64
+ },
65
+ key: "ethereum_11155111",
66
+ baseDeliveryGas: 120000n,
67
+ },
68
+ },
69
+ parachains: {
70
+ polkadot_1000: {
71
+ id: 1000,
72
+ kind: "polkadot",
73
+ key: "polkadot_1000",
74
+ features: {
75
+ hasPalletXcm: true,
76
+ hasDryRunApi: true,
77
+ hasTxPaymentApi: true,
78
+ hasDryRunRpc: true,
79
+ hasDotBalance: true,
80
+ hasEthBalance: false,
81
+ hasXcmPaymentApi: true,
82
+ supportsAliasOrigin: true,
83
+ xcmVersion: "v5",
84
+ supportsV2: true,
85
+ },
86
+ info: {
87
+ tokenSymbols: "WND",
88
+ tokenDecimals: 12,
89
+ ss58Format: 42,
90
+ isEthereum: false,
91
+ accountType: "AccountId32",
92
+ name: "Westend Asset Hub Local",
93
+ specName: "westmint",
94
+ specVersion: 1021004,
95
+ },
96
+ assets: {
97
+ "0x0000000000000000000000000000000000000000": {
98
+ token: "0x0000000000000000000000000000000000000000",
99
+ name: "Ether",
100
+ minimumBalance: 15000000000000n,
101
+ symbol: "ETH",
102
+ decimals: 18,
103
+ isSufficient: true,
104
+ },
105
+ },
106
+ estimatedExecutionFeeDOT: 0n,
107
+ estimatedDeliveryFeeDOT: 0n,
108
+ },
109
+ polkadot_2000: {
110
+ id: 2000,
111
+ kind: "polkadot",
112
+ key: "polkadot_2000",
113
+ features: {
114
+ hasPalletXcm: true,
115
+ hasDryRunApi: true,
116
+ hasTxPaymentApi: true,
117
+ hasDryRunRpc: true,
118
+ hasDotBalance: true,
119
+ hasEthBalance: false,
120
+ hasXcmPaymentApi: true,
121
+ supportsAliasOrigin: true,
122
+ xcmVersion: "v5",
123
+ supportsV2: false,
124
+ },
125
+ info: {
126
+ tokenSymbols: "undefined",
127
+ tokenDecimals: NaN,
128
+ ss58Format: 42,
129
+ isEthereum: false,
130
+ accountType: "AccountId32",
131
+ name: "Penpal Parachain",
132
+ specName: "penpal-parachain",
133
+ specVersion: 1,
134
+ },
135
+ assets: {},
136
+ estimatedExecutionFeeDOT: 3276800000n,
137
+ estimatedDeliveryFeeDOT: 31450000000n,
138
+ },
139
+ },
140
+ },
141
+ };
142
+ exports.default = registry;
@@ -13,8 +13,8 @@ declare const registry: {
13
13
  readonly "2043": "wss://parachain-testnet-rpc.origin-trail.network";
14
14
  readonly "3369": "wss://paseo-muse-rpc.polkadot.io";
15
15
  };
16
- readonly gatewayContract: "0x1607C1368bc943130258318c91bBd8cFf3D063E6";
17
- readonly beefyContract: "0x2c780945beb1241fE9c645800110cb9C4bBbb639";
16
+ readonly gatewayContract: "0x1607c1368bc943130258318c91bbd8cff3d063e6";
17
+ readonly beefyContract: "0x2c780945beb1241fe9c645800110cb9c4bbbb639";
18
18
  readonly assetHubParaId: 1000;
19
19
  readonly bridgeHubParaId: 1002;
20
20
  readonly v2_parachains: readonly [1000];
@@ -88,10 +88,10 @@ declare const registry: {
88
88
  readonly assets: readonly ["0xb34a6924a02100ba6ef12af1c798285e8f7a16ee"];
89
89
  }];
90
90
  readonly registry: {
91
- readonly timestamp: "2026-01-28T21:31:42.998Z";
91
+ readonly timestamp: "2026-02-16T10:23:33.158Z";
92
92
  readonly environment: "paseo_sepolia";
93
93
  readonly ethChainId: 11155111;
94
- readonly gatewayAddress: "0x1607C1368bc943130258318c91bBd8cFf3D063E6";
94
+ readonly gatewayAddress: "0x1607c1368bc943130258318c91bbd8cff3d063e6";
95
95
  readonly assetHubParaId: 1000;
96
96
  readonly bridgeHubParaId: 1002;
97
97
  readonly relaychain: {
@@ -102,7 +102,7 @@ declare const registry: {
102
102
  readonly accountType: "AccountId32";
103
103
  readonly name: "Paseo Testnet";
104
104
  readonly specName: "paseo";
105
- readonly specVersion: 2000005;
105
+ readonly specVersion: 2000006;
106
106
  };
107
107
  readonly bridgeHub: {
108
108
  readonly tokenSymbols: "PAS";
@@ -112,12 +112,13 @@ declare const registry: {
112
112
  readonly accountType: "AccountId32";
113
113
  readonly name: "Paseo Bridge Hub";
114
114
  readonly specName: "bridge-hub-paseo";
115
- readonly specVersion: 2000005;
115
+ readonly specVersion: 2000006;
116
116
  };
117
117
  readonly ethereumChains: {
118
118
  readonly ethereum_11155111: {
119
119
  readonly kind: "ethereum";
120
120
  readonly id: 11155111;
121
+ readonly name: "sepolia";
121
122
  readonly assets: {
122
123
  readonly "0x0000000000000000000000000000000000000000": {
123
124
  readonly token: "0x0000000000000000000000000000000000000000";
@@ -190,7 +191,7 @@ declare const registry: {
190
191
  readonly accountType: "AccountId32";
191
192
  readonly name: "Paseo Asset Hub";
192
193
  readonly specName: "asset-hub-paseo";
193
- readonly specVersion: 2000005;
194
+ readonly specVersion: 2000006;
194
195
  };
195
196
  readonly assets: {
196
197
  readonly "0x0000000000000000000000000000000000000000": {
@@ -1 +1 @@
1
- {"version":3,"file":"paseo_sepolia_bridge_info.g.d.ts","sourceRoot":"","sources":["../src/paseo_sepolia_bridge_info.g.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2VJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"paseo_sepolia_bridge_info.g.d.ts","sourceRoot":"","sources":["../src/paseo_sepolia_bridge_info.g.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4VJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
@@ -15,8 +15,8 @@ const registry = {
15
15
  "2043": "wss://parachain-testnet-rpc.origin-trail.network",
16
16
  "3369": "wss://paseo-muse-rpc.polkadot.io",
17
17
  },
18
- gatewayContract: "0x1607C1368bc943130258318c91bBd8cFf3D063E6",
19
- beefyContract: "0x2c780945beb1241fE9c645800110cb9C4bBbb639",
18
+ gatewayContract: "0x1607c1368bc943130258318c91bbd8cff3d063e6",
19
+ beefyContract: "0x2c780945beb1241fe9c645800110cb9c4bbbb639",
20
20
  assetHubParaId: 1000,
21
21
  bridgeHubParaId: 1002,
22
22
  v2_parachains: [1000],
@@ -109,10 +109,10 @@ const registry = {
109
109
  },
110
110
  ],
111
111
  registry: {
112
- timestamp: "2026-01-28T21:31:42.998Z",
112
+ timestamp: "2026-02-16T10:23:33.158Z",
113
113
  environment: "paseo_sepolia",
114
114
  ethChainId: 11155111,
115
- gatewayAddress: "0x1607C1368bc943130258318c91bBd8cFf3D063E6",
115
+ gatewayAddress: "0x1607c1368bc943130258318c91bbd8cff3d063e6",
116
116
  assetHubParaId: 1000,
117
117
  bridgeHubParaId: 1002,
118
118
  relaychain: {
@@ -123,7 +123,7 @@ const registry = {
123
123
  accountType: "AccountId32",
124
124
  name: "Paseo Testnet",
125
125
  specName: "paseo",
126
- specVersion: 2000005,
126
+ specVersion: 2000006,
127
127
  },
128
128
  bridgeHub: {
129
129
  tokenSymbols: "PAS",
@@ -133,12 +133,13 @@ const registry = {
133
133
  accountType: "AccountId32",
134
134
  name: "Paseo Bridge Hub",
135
135
  specName: "bridge-hub-paseo",
136
- specVersion: 2000005,
136
+ specVersion: 2000006,
137
137
  },
138
138
  ethereumChains: {
139
139
  ethereum_11155111: {
140
140
  kind: "ethereum",
141
141
  id: 11155111,
142
+ name: "sepolia",
142
143
  assets: {
143
144
  "0x0000000000000000000000000000000000000000": {
144
145
  token: "0x0000000000000000000000000000000000000000",
@@ -211,7 +212,7 @@ const registry = {
211
212
  accountType: "AccountId32",
212
213
  name: "Paseo Asset Hub",
213
214
  specName: "asset-hub-paseo",
214
- specVersion: 2000005,
215
+ specVersion: 2000006,
215
216
  },
216
217
  assets: {
217
218
  "0x0000000000000000000000000000000000000000": {