@snowbridge/registry 0.4.4 → 0.4.5-alpha.2
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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/local_e2e_bridge_info.g.d.ts +141 -0
- package/dist/local_e2e_bridge_info.g.d.ts.map +1 -0
- package/dist/local_e2e_bridge_info.g.js +142 -0
- package/dist/polkadot_mainnet_bridge_info.g.d.ts +22 -22
- package/dist/polkadot_mainnet_bridge_info.g.js +22 -22
- package/dist/westend_sepolia_bridge_info.g.d.ts +4 -4
- package/dist/westend_sepolia_bridge_info.g.js +4 -4
- package/package.json +4 -4
- package/scripts/buildRegistry.ts +7 -7
- package/src/index.ts +4 -1
- package/src/local_e2e_bridge_info.g.ts +140 -0
- package/src/polkadot_mainnet_bridge_info.g.ts +22 -22
- package/src/westend_sepolia_bridge_info.g.ts +4 -4
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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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;
|
|
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;
|
|
@@ -12,8 +12,8 @@ declare const registry: {
|
|
|
12
12
|
};
|
|
13
13
|
readonly relaychainUrl: "https://polkadot-rpc.n.dwellir.com";
|
|
14
14
|
readonly parachains: {
|
|
15
|
-
readonly "1000": "wss://asset-hub-
|
|
16
|
-
readonly "1002": "
|
|
15
|
+
readonly "1000": "wss://polkadot-asset-hub-rpc.polkadot.io";
|
|
16
|
+
readonly "1002": "wss://polkadot-bridge-hub-rpc.polkadot.io";
|
|
17
17
|
readonly "2000": "wss://acala-rpc-0.aca-api.network";
|
|
18
18
|
readonly "2004": "wss://moonbeam.ibp.network";
|
|
19
19
|
readonly "2030": "wss://bifrost-polkadot.ibp.network";
|
|
@@ -26,7 +26,7 @@ declare const registry: {
|
|
|
26
26
|
readonly assetHubParaId: 1000;
|
|
27
27
|
readonly bridgeHubParaId: 1002;
|
|
28
28
|
readonly v2_parachains: readonly [1000];
|
|
29
|
-
readonly indexerGraphQlUrl: "https://snowbridge.
|
|
29
|
+
readonly indexerGraphQlUrl: "https://subsquid.snowbridge.network/graphql";
|
|
30
30
|
readonly kusama: {
|
|
31
31
|
readonly assetHubParaId: 1000;
|
|
32
32
|
readonly bridgeHubParaId: 1002;
|
|
@@ -325,7 +325,7 @@ declare const registry: {
|
|
|
325
325
|
readonly assets: readonly ["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "0x0000000000000000000000000000000000000000"];
|
|
326
326
|
}];
|
|
327
327
|
readonly registry: {
|
|
328
|
-
readonly timestamp: "2026-
|
|
328
|
+
readonly timestamp: "2026-03-27T09:55:18.302Z";
|
|
329
329
|
readonly environment: "polkadot_mainnet";
|
|
330
330
|
readonly ethChainId: 1;
|
|
331
331
|
readonly gatewayAddress: "0x27ca963c279c93801941e1eb8799c23f407d68e7";
|
|
@@ -339,7 +339,7 @@ declare const registry: {
|
|
|
339
339
|
readonly accountType: "AccountId32";
|
|
340
340
|
readonly name: "Polkadot";
|
|
341
341
|
readonly specName: "polkadot";
|
|
342
|
-
readonly specVersion:
|
|
342
|
+
readonly specVersion: 2001001;
|
|
343
343
|
};
|
|
344
344
|
readonly bridgeHub: {
|
|
345
345
|
readonly tokenSymbols: "DOT";
|
|
@@ -349,7 +349,7 @@ declare const registry: {
|
|
|
349
349
|
readonly accountType: "AccountId32";
|
|
350
350
|
readonly name: "Polkadot BridgeHub";
|
|
351
351
|
readonly specName: "bridge-hub-polkadot";
|
|
352
|
-
readonly specVersion:
|
|
352
|
+
readonly specVersion: 2001001;
|
|
353
353
|
};
|
|
354
354
|
readonly ethereumChains: {
|
|
355
355
|
readonly ethereum_1: {
|
|
@@ -815,7 +815,7 @@ declare const registry: {
|
|
|
815
815
|
readonly accountType: "AccountId32";
|
|
816
816
|
readonly name: "Polkadot Asset Hub";
|
|
817
817
|
readonly specName: "statemint";
|
|
818
|
-
readonly specVersion:
|
|
818
|
+
readonly specVersion: 2001001;
|
|
819
819
|
};
|
|
820
820
|
readonly assets: {
|
|
821
821
|
readonly "0x9d39a5de30e57443bff2a8307a4256c8797a3497": {
|
|
@@ -1373,7 +1373,7 @@ declare const registry: {
|
|
|
1373
1373
|
readonly accountType: "AccountId32";
|
|
1374
1374
|
readonly name: "Acala";
|
|
1375
1375
|
readonly specName: "acala";
|
|
1376
|
-
readonly specVersion:
|
|
1376
|
+
readonly specVersion: 2350;
|
|
1377
1377
|
};
|
|
1378
1378
|
readonly assets: {
|
|
1379
1379
|
readonly "0x0000000000000000000000000000000000000000": {
|
|
@@ -1385,7 +1385,7 @@ declare const registry: {
|
|
|
1385
1385
|
readonly isSufficient: false;
|
|
1386
1386
|
};
|
|
1387
1387
|
};
|
|
1388
|
-
readonly estimatedExecutionFeeDOT:
|
|
1388
|
+
readonly estimatedExecutionFeeDOT: 484934n;
|
|
1389
1389
|
readonly estimatedDeliveryFeeDOT: 307100000n;
|
|
1390
1390
|
};
|
|
1391
1391
|
readonly polkadot_2004: {
|
|
@@ -1413,7 +1413,7 @@ declare const registry: {
|
|
|
1413
1413
|
readonly evmChainId: 1284;
|
|
1414
1414
|
readonly name: "Moonbeam";
|
|
1415
1415
|
readonly specName: "moonbeam";
|
|
1416
|
-
readonly specVersion:
|
|
1416
|
+
readonly specVersion: 4103;
|
|
1417
1417
|
};
|
|
1418
1418
|
readonly xcDOT: "0xffffffff1fcacbd218edc0eba20fc2308c778080";
|
|
1419
1419
|
readonly assets: {
|
|
@@ -1509,7 +1509,7 @@ declare const registry: {
|
|
|
1509
1509
|
readonly evmChainId: 996;
|
|
1510
1510
|
readonly name: "Bifrost Polkadot";
|
|
1511
1511
|
readonly specName: "bifrost_polkadot";
|
|
1512
|
-
readonly specVersion:
|
|
1512
|
+
readonly specVersion: 23003;
|
|
1513
1513
|
};
|
|
1514
1514
|
readonly assets: {
|
|
1515
1515
|
readonly "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
|
|
@@ -1529,7 +1529,7 @@ declare const registry: {
|
|
|
1529
1529
|
readonly isSufficient: false;
|
|
1530
1530
|
};
|
|
1531
1531
|
};
|
|
1532
|
-
readonly estimatedExecutionFeeDOT:
|
|
1532
|
+
readonly estimatedExecutionFeeDOT: 54689726n;
|
|
1533
1533
|
readonly estimatedDeliveryFeeDOT: 307100000n;
|
|
1534
1534
|
};
|
|
1535
1535
|
readonly polkadot_2034: {
|
|
@@ -1542,10 +1542,10 @@ declare const registry: {
|
|
|
1542
1542
|
readonly hasTxPaymentApi: true;
|
|
1543
1543
|
readonly hasDryRunRpc: true;
|
|
1544
1544
|
readonly hasDotBalance: true;
|
|
1545
|
-
readonly hasEthBalance:
|
|
1545
|
+
readonly hasEthBalance: true;
|
|
1546
1546
|
readonly hasXcmPaymentApi: true;
|
|
1547
|
-
readonly supportsAliasOrigin:
|
|
1548
|
-
readonly xcmVersion: "
|
|
1547
|
+
readonly supportsAliasOrigin: true;
|
|
1548
|
+
readonly xcmVersion: "v5";
|
|
1549
1549
|
readonly supportsV2: false;
|
|
1550
1550
|
};
|
|
1551
1551
|
readonly info: {
|
|
@@ -1557,7 +1557,7 @@ declare const registry: {
|
|
|
1557
1557
|
readonly evmChainId: 222222;
|
|
1558
1558
|
readonly name: "Hydration";
|
|
1559
1559
|
readonly specName: "hydradx";
|
|
1560
|
-
readonly specVersion:
|
|
1560
|
+
readonly specVersion: 398;
|
|
1561
1561
|
};
|
|
1562
1562
|
readonly assets: {
|
|
1563
1563
|
readonly "0x45804880de22913dafe09f4980848ece6ecbaf78": {
|
|
@@ -1713,7 +1713,7 @@ declare const registry: {
|
|
|
1713
1713
|
readonly isSufficient: true;
|
|
1714
1714
|
};
|
|
1715
1715
|
};
|
|
1716
|
-
readonly estimatedExecutionFeeDOT:
|
|
1716
|
+
readonly estimatedExecutionFeeDOT: 1169428n;
|
|
1717
1717
|
readonly estimatedDeliveryFeeDOT: 307100000n;
|
|
1718
1718
|
};
|
|
1719
1719
|
readonly polkadot_2043: {
|
|
@@ -1766,9 +1766,9 @@ declare const registry: {
|
|
|
1766
1766
|
readonly hasDryRunRpc: true;
|
|
1767
1767
|
readonly hasDotBalance: false;
|
|
1768
1768
|
readonly hasEthBalance: false;
|
|
1769
|
-
readonly hasXcmPaymentApi:
|
|
1770
|
-
readonly supportsAliasOrigin:
|
|
1771
|
-
readonly xcmVersion: "
|
|
1769
|
+
readonly hasXcmPaymentApi: true;
|
|
1770
|
+
readonly supportsAliasOrigin: true;
|
|
1771
|
+
readonly xcmVersion: "v5";
|
|
1772
1772
|
readonly supportsV2: false;
|
|
1773
1773
|
};
|
|
1774
1774
|
readonly info: {
|
|
@@ -1779,7 +1779,7 @@ declare const registry: {
|
|
|
1779
1779
|
readonly accountType: "AccountId20";
|
|
1780
1780
|
readonly name: "Mythos";
|
|
1781
1781
|
readonly specName: "mythos";
|
|
1782
|
-
readonly specVersion:
|
|
1782
|
+
readonly specVersion: 1021;
|
|
1783
1783
|
};
|
|
1784
1784
|
readonly assets: {
|
|
1785
1785
|
readonly "0xba41ddf06b7ffd89d1267b5a93bfef2424eb2003": {
|
|
@@ -1821,7 +1821,7 @@ declare const registry: {
|
|
|
1821
1821
|
readonly accountType: "AccountId32";
|
|
1822
1822
|
readonly name: "Kusama Asset Hub";
|
|
1823
1823
|
readonly specName: "statemine";
|
|
1824
|
-
readonly specVersion:
|
|
1824
|
+
readonly specVersion: 2001000;
|
|
1825
1825
|
};
|
|
1826
1826
|
readonly assets: {
|
|
1827
1827
|
readonly "0x9d39a5de30e57443bff2a8307a4256c8797a3497": {
|
|
@@ -14,8 +14,8 @@ const registry = {
|
|
|
14
14
|
},
|
|
15
15
|
relaychainUrl: "https://polkadot-rpc.n.dwellir.com",
|
|
16
16
|
parachains: {
|
|
17
|
-
"1000": "wss://asset-hub-
|
|
18
|
-
"1002": "
|
|
17
|
+
"1000": "wss://polkadot-asset-hub-rpc.polkadot.io",
|
|
18
|
+
"1002": "wss://polkadot-bridge-hub-rpc.polkadot.io",
|
|
19
19
|
"2000": "wss://acala-rpc-0.aca-api.network",
|
|
20
20
|
"2004": "wss://moonbeam.ibp.network",
|
|
21
21
|
"2030": "wss://bifrost-polkadot.ibp.network",
|
|
@@ -28,7 +28,7 @@ const registry = {
|
|
|
28
28
|
assetHubParaId: 1000,
|
|
29
29
|
bridgeHubParaId: 1002,
|
|
30
30
|
v2_parachains: [1000],
|
|
31
|
-
indexerGraphQlUrl: "https://snowbridge.
|
|
31
|
+
indexerGraphQlUrl: "https://subsquid.snowbridge.network/graphql",
|
|
32
32
|
kusama: {
|
|
33
33
|
assetHubParaId: 1000,
|
|
34
34
|
bridgeHubParaId: 1002,
|
|
@@ -561,7 +561,7 @@ const registry = {
|
|
|
561
561
|
},
|
|
562
562
|
],
|
|
563
563
|
registry: {
|
|
564
|
-
timestamp: "2026-
|
|
564
|
+
timestamp: "2026-03-27T09:55:18.302Z",
|
|
565
565
|
environment: "polkadot_mainnet",
|
|
566
566
|
ethChainId: 1,
|
|
567
567
|
gatewayAddress: "0x27ca963c279c93801941e1eb8799c23f407d68e7",
|
|
@@ -575,7 +575,7 @@ const registry = {
|
|
|
575
575
|
accountType: "AccountId32",
|
|
576
576
|
name: "Polkadot",
|
|
577
577
|
specName: "polkadot",
|
|
578
|
-
specVersion:
|
|
578
|
+
specVersion: 2001001,
|
|
579
579
|
},
|
|
580
580
|
bridgeHub: {
|
|
581
581
|
tokenSymbols: "DOT",
|
|
@@ -585,7 +585,7 @@ const registry = {
|
|
|
585
585
|
accountType: "AccountId32",
|
|
586
586
|
name: "Polkadot BridgeHub",
|
|
587
587
|
specName: "bridge-hub-polkadot",
|
|
588
|
-
specVersion:
|
|
588
|
+
specVersion: 2001001,
|
|
589
589
|
},
|
|
590
590
|
ethereumChains: {
|
|
591
591
|
ethereum_1: {
|
|
@@ -1051,7 +1051,7 @@ const registry = {
|
|
|
1051
1051
|
accountType: "AccountId32",
|
|
1052
1052
|
name: "Polkadot Asset Hub",
|
|
1053
1053
|
specName: "statemint",
|
|
1054
|
-
specVersion:
|
|
1054
|
+
specVersion: 2001001,
|
|
1055
1055
|
},
|
|
1056
1056
|
assets: {
|
|
1057
1057
|
"0x9d39a5de30e57443bff2a8307a4256c8797a3497": {
|
|
@@ -1668,7 +1668,7 @@ const registry = {
|
|
|
1668
1668
|
accountType: "AccountId32",
|
|
1669
1669
|
name: "Acala",
|
|
1670
1670
|
specName: "acala",
|
|
1671
|
-
specVersion:
|
|
1671
|
+
specVersion: 2350,
|
|
1672
1672
|
},
|
|
1673
1673
|
assets: {
|
|
1674
1674
|
"0x0000000000000000000000000000000000000000": {
|
|
@@ -1680,7 +1680,7 @@ const registry = {
|
|
|
1680
1680
|
isSufficient: false,
|
|
1681
1681
|
},
|
|
1682
1682
|
},
|
|
1683
|
-
estimatedExecutionFeeDOT:
|
|
1683
|
+
estimatedExecutionFeeDOT: 484934n,
|
|
1684
1684
|
estimatedDeliveryFeeDOT: 307100000n,
|
|
1685
1685
|
},
|
|
1686
1686
|
polkadot_2004: {
|
|
@@ -1708,7 +1708,7 @@ const registry = {
|
|
|
1708
1708
|
evmChainId: 1284,
|
|
1709
1709
|
name: "Moonbeam",
|
|
1710
1710
|
specName: "moonbeam",
|
|
1711
|
-
specVersion:
|
|
1711
|
+
specVersion: 4103,
|
|
1712
1712
|
},
|
|
1713
1713
|
xcDOT: "0xffffffff1fcacbd218edc0eba20fc2308c778080",
|
|
1714
1714
|
assets: {
|
|
@@ -1804,7 +1804,7 @@ const registry = {
|
|
|
1804
1804
|
evmChainId: 996,
|
|
1805
1805
|
name: "Bifrost Polkadot",
|
|
1806
1806
|
specName: "bifrost_polkadot",
|
|
1807
|
-
specVersion:
|
|
1807
|
+
specVersion: 23003,
|
|
1808
1808
|
},
|
|
1809
1809
|
assets: {
|
|
1810
1810
|
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
|
|
@@ -1824,7 +1824,7 @@ const registry = {
|
|
|
1824
1824
|
isSufficient: false,
|
|
1825
1825
|
},
|
|
1826
1826
|
},
|
|
1827
|
-
estimatedExecutionFeeDOT:
|
|
1827
|
+
estimatedExecutionFeeDOT: 54689726n,
|
|
1828
1828
|
estimatedDeliveryFeeDOT: 307100000n,
|
|
1829
1829
|
},
|
|
1830
1830
|
polkadot_2034: {
|
|
@@ -1837,10 +1837,10 @@ const registry = {
|
|
|
1837
1837
|
hasTxPaymentApi: true,
|
|
1838
1838
|
hasDryRunRpc: true,
|
|
1839
1839
|
hasDotBalance: true,
|
|
1840
|
-
hasEthBalance:
|
|
1840
|
+
hasEthBalance: true,
|
|
1841
1841
|
hasXcmPaymentApi: true,
|
|
1842
|
-
supportsAliasOrigin:
|
|
1843
|
-
xcmVersion: "
|
|
1842
|
+
supportsAliasOrigin: true,
|
|
1843
|
+
xcmVersion: "v5",
|
|
1844
1844
|
supportsV2: false,
|
|
1845
1845
|
},
|
|
1846
1846
|
info: {
|
|
@@ -1852,7 +1852,7 @@ const registry = {
|
|
|
1852
1852
|
evmChainId: 222222,
|
|
1853
1853
|
name: "Hydration",
|
|
1854
1854
|
specName: "hydradx",
|
|
1855
|
-
specVersion:
|
|
1855
|
+
specVersion: 398,
|
|
1856
1856
|
},
|
|
1857
1857
|
assets: {
|
|
1858
1858
|
"0x45804880de22913dafe09f4980848ece6ecbaf78": {
|
|
@@ -2008,7 +2008,7 @@ const registry = {
|
|
|
2008
2008
|
isSufficient: true,
|
|
2009
2009
|
},
|
|
2010
2010
|
},
|
|
2011
|
-
estimatedExecutionFeeDOT:
|
|
2011
|
+
estimatedExecutionFeeDOT: 1169428n,
|
|
2012
2012
|
estimatedDeliveryFeeDOT: 307100000n,
|
|
2013
2013
|
},
|
|
2014
2014
|
polkadot_2043: {
|
|
@@ -2061,9 +2061,9 @@ const registry = {
|
|
|
2061
2061
|
hasDryRunRpc: true,
|
|
2062
2062
|
hasDotBalance: false,
|
|
2063
2063
|
hasEthBalance: false,
|
|
2064
|
-
hasXcmPaymentApi:
|
|
2065
|
-
supportsAliasOrigin:
|
|
2066
|
-
xcmVersion: "
|
|
2064
|
+
hasXcmPaymentApi: true,
|
|
2065
|
+
supportsAliasOrigin: true,
|
|
2066
|
+
xcmVersion: "v5",
|
|
2067
2067
|
supportsV2: false,
|
|
2068
2068
|
},
|
|
2069
2069
|
info: {
|
|
@@ -2074,7 +2074,7 @@ const registry = {
|
|
|
2074
2074
|
accountType: "AccountId20",
|
|
2075
2075
|
name: "Mythos",
|
|
2076
2076
|
specName: "mythos",
|
|
2077
|
-
specVersion:
|
|
2077
|
+
specVersion: 1021,
|
|
2078
2078
|
},
|
|
2079
2079
|
assets: {
|
|
2080
2080
|
"0xba41ddf06b7ffd89d1267b5a93bfef2424eb2003": {
|
|
@@ -2116,7 +2116,7 @@ const registry = {
|
|
|
2116
2116
|
accountType: "AccountId32",
|
|
2117
2117
|
name: "Kusama Asset Hub",
|
|
2118
2118
|
specName: "statemine",
|
|
2119
|
-
specVersion:
|
|
2119
|
+
specVersion: 2001000,
|
|
2120
2120
|
},
|
|
2121
2121
|
assets: {
|
|
2122
2122
|
"0x9d39a5de30e57443bff2a8307a4256c8797a3497": {
|
|
@@ -8,13 +8,13 @@ declare const registry: {
|
|
|
8
8
|
readonly "421614": "https://arbitrum-sepolia-rpc.publicnode.com";
|
|
9
9
|
readonly "11155111": "https://ethereum-sepolia-rpc.publicnode.com";
|
|
10
10
|
};
|
|
11
|
-
readonly relaychainUrl: "
|
|
11
|
+
readonly relaychainUrl: "https://westend-rpc.polkadot.io";
|
|
12
12
|
readonly parachains: {
|
|
13
|
-
readonly "1000": "
|
|
14
|
-
readonly "1002": "
|
|
13
|
+
readonly "1000": "https://westend-asset-hub-rpc.polkadot.io";
|
|
14
|
+
readonly "1002": "https://westend-bridge-hub-rpc.polkadot.io";
|
|
15
15
|
};
|
|
16
16
|
readonly gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9";
|
|
17
|
-
readonly beefyContract: "
|
|
17
|
+
readonly beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d";
|
|
18
18
|
readonly assetHubParaId: 1000;
|
|
19
19
|
readonly bridgeHubParaId: 1002;
|
|
20
20
|
readonly v2_parachains: readonly [1000];
|
|
@@ -10,13 +10,13 @@ const registry = {
|
|
|
10
10
|
"421614": "https://arbitrum-sepolia-rpc.publicnode.com",
|
|
11
11
|
"11155111": "https://ethereum-sepolia-rpc.publicnode.com",
|
|
12
12
|
},
|
|
13
|
-
relaychainUrl: "
|
|
13
|
+
relaychainUrl: "https://westend-rpc.polkadot.io",
|
|
14
14
|
parachains: {
|
|
15
|
-
"1000": "
|
|
16
|
-
"1002": "
|
|
15
|
+
"1000": "https://westend-asset-hub-rpc.polkadot.io",
|
|
16
|
+
"1002": "https://westend-bridge-hub-rpc.polkadot.io",
|
|
17
17
|
},
|
|
18
18
|
gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
19
|
-
beefyContract: "
|
|
19
|
+
beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d",
|
|
20
20
|
assetHubParaId: 1000,
|
|
21
21
|
bridgeHubParaId: 1002,
|
|
22
22
|
v2_parachains: [1000],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snowbridge/registry",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5-alpha.2",
|
|
4
4
|
"description": "Snowbridge Asset Registry",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"ts-node": "10.9.2",
|
|
25
25
|
"tsconfig-paths": "4.2.0",
|
|
26
26
|
"typescript": "5.9.3",
|
|
27
|
-
"@snowbridge/
|
|
28
|
-
"@snowbridge/
|
|
27
|
+
"@snowbridge/contract-types": "0.4.5-alpha.2",
|
|
28
|
+
"@snowbridge/api": "0.4.5-alpha.2"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@snowbridge/base-types": "0.4.
|
|
31
|
+
"@snowbridge/base-types": "0.4.5-alpha.2"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc --build --force && tsc -p tsconfig.scripts.json",
|
package/scripts/buildRegistry.ts
CHANGED
|
@@ -98,8 +98,8 @@ const SNOWBRIDGE_ENV: { [env: string]: Environment } = {
|
|
|
98
98
|
},
|
|
99
99
|
relaychainUrl: "https://polkadot-rpc.n.dwellir.com",
|
|
100
100
|
parachains: {
|
|
101
|
-
"1000": "wss://asset-hub-
|
|
102
|
-
"1002": "
|
|
101
|
+
"1000": "wss://polkadot-asset-hub-rpc.polkadot.io",
|
|
102
|
+
"1002": "wss://polkadot-bridge-hub-rpc.polkadot.io",
|
|
103
103
|
"3369": "wss://polkadot-mythos-rpc.polkadot.io",
|
|
104
104
|
"2034": "wss://hydration-rpc.n.dwellir.com",
|
|
105
105
|
"2030": "wss://bifrost-polkadot.ibp.network",
|
|
@@ -115,7 +115,7 @@ const SNOWBRIDGE_ENV: { [env: string]: Environment } = {
|
|
|
115
115
|
bridgeHubParaId: 1002,
|
|
116
116
|
v2_parachains: [1000],
|
|
117
117
|
indexerGraphQlUrl:
|
|
118
|
-
"https://snowbridge.
|
|
118
|
+
"https://subsquid.snowbridge.network/graphql",
|
|
119
119
|
kusama: {
|
|
120
120
|
assetHubParaId: 1000,
|
|
121
121
|
bridgeHubParaId: 1002,
|
|
@@ -208,13 +208,13 @@ const SNOWBRIDGE_ENV: { [env: string]: Environment } = {
|
|
|
208
208
|
"84532": "https://base-sepolia-rpc.publicnode.com",
|
|
209
209
|
"421614": "https://arbitrum-sepolia-rpc.publicnode.com",
|
|
210
210
|
},
|
|
211
|
-
relaychainUrl: "
|
|
211
|
+
relaychainUrl: "https://westend-rpc.polkadot.io",
|
|
212
212
|
parachains: {
|
|
213
|
-
"1000": "
|
|
214
|
-
"1002": "
|
|
213
|
+
"1000": "https://westend-asset-hub-rpc.polkadot.io",
|
|
214
|
+
"1002": "https://westend-bridge-hub-rpc.polkadot.io",
|
|
215
215
|
},
|
|
216
216
|
gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
217
|
-
beefyContract: "
|
|
217
|
+
beefyContract: "0xEBD1CFcF82BaA170b86BDe532f69A6A49c6c790D".toLowerCase(),
|
|
218
218
|
assetHubParaId: 1000,
|
|
219
219
|
bridgeHubParaId: 1002,
|
|
220
220
|
v2_parachains: [1000],
|
package/src/index.ts
CHANGED
|
@@ -3,13 +3,14 @@ export * from "./transfers"
|
|
|
3
3
|
import polkadot_mainnet from "./polkadot_mainnet_bridge_info.g"
|
|
4
4
|
import westend_sepolia from "./westend_sepolia_bridge_info.g"
|
|
5
5
|
import paseo_sepolia from "./paseo_sepolia_bridge_info.g"
|
|
6
|
+
import local_e2e from "./local_e2e_bridge_info.g"
|
|
6
7
|
|
|
7
8
|
export { paseo_sepolia, westend_sepolia, polkadot_mainnet }
|
|
8
9
|
|
|
9
10
|
import { BridgeInfo } from "@snowbridge/base-types"
|
|
10
11
|
|
|
11
12
|
export function bridgeInfoFor(
|
|
12
|
-
env: "polkadot_mainnet" | "westend_sepolia" | "paseo_sepolia" | (string & {}),
|
|
13
|
+
env: "polkadot_mainnet" | "westend_sepolia" | "paseo_sepolia" | "local_e2e" | (string & {}),
|
|
13
14
|
): Readonly<BridgeInfo> {
|
|
14
15
|
switch (env) {
|
|
15
16
|
case "polkadot_mainnet":
|
|
@@ -19,6 +20,8 @@ export function bridgeInfoFor(
|
|
|
19
20
|
return westend_sepolia satisfies BridgeInfo
|
|
20
21
|
case "paseo_sepolia":
|
|
21
22
|
return paseo_sepolia satisfies BridgeInfo
|
|
23
|
+
case "local_e2e":
|
|
24
|
+
return local_e2e satisfies BridgeInfo
|
|
22
25
|
default:
|
|
23
26
|
throw Error(`Unknown env '${env}'`)
|
|
24
27
|
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
const registry = {
|
|
2
|
+
environment: {
|
|
3
|
+
name: "local_e2e",
|
|
4
|
+
ethChainId: 11155111,
|
|
5
|
+
beaconApiUrl: "http://127.0.0.1:9596",
|
|
6
|
+
ethereumChains: {
|
|
7
|
+
"11155111": "ws://127.0.0.1:8546",
|
|
8
|
+
},
|
|
9
|
+
relaychainUrl: "ws://127.0.0.1:9944",
|
|
10
|
+
parachains: {
|
|
11
|
+
"1000": "ws://127.0.0.1:12144",
|
|
12
|
+
"1002": "ws://127.0.0.1:11144",
|
|
13
|
+
"2000": "ws://127.0.0.1:13144",
|
|
14
|
+
},
|
|
15
|
+
gatewayContract: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305",
|
|
16
|
+
beefyContract: "0x83428c7db9815f482a39a1715684dcf755021997",
|
|
17
|
+
assetHubParaId: 1000,
|
|
18
|
+
bridgeHubParaId: 1002,
|
|
19
|
+
v2_parachains: [1000],
|
|
20
|
+
indexerGraphQlUrl: "http://127.0.0.1/does/not/exist",
|
|
21
|
+
},
|
|
22
|
+
routes: [],
|
|
23
|
+
registry: {
|
|
24
|
+
timestamp: "2026-03-03T03:46:58.680Z",
|
|
25
|
+
environment: "local_e2e",
|
|
26
|
+
ethChainId: 11155111,
|
|
27
|
+
gatewayAddress: "0xb1185ede04202fe62d38f5db72f71e38ff3e8305",
|
|
28
|
+
assetHubParaId: 1000,
|
|
29
|
+
bridgeHubParaId: 1002,
|
|
30
|
+
relaychain: {
|
|
31
|
+
tokenSymbols: "WND",
|
|
32
|
+
tokenDecimals: 12,
|
|
33
|
+
ss58Format: 42,
|
|
34
|
+
isEthereum: false,
|
|
35
|
+
accountType: "AccountId32",
|
|
36
|
+
name: "Westend Local Testnet",
|
|
37
|
+
specName: "westend",
|
|
38
|
+
specVersion: 1021002,
|
|
39
|
+
},
|
|
40
|
+
bridgeHub: {
|
|
41
|
+
tokenSymbols: "WND",
|
|
42
|
+
tokenDecimals: 12,
|
|
43
|
+
ss58Format: 42,
|
|
44
|
+
isEthereum: false,
|
|
45
|
+
accountType: "AccountId32",
|
|
46
|
+
name: "Westend BridgeHub Local",
|
|
47
|
+
specName: "bridge-hub-westend",
|
|
48
|
+
specVersion: 1021002,
|
|
49
|
+
},
|
|
50
|
+
ethereumChains: {
|
|
51
|
+
ethereum_11155111: {
|
|
52
|
+
kind: "ethereum",
|
|
53
|
+
id: 11155111,
|
|
54
|
+
name: "sepolia",
|
|
55
|
+
assets: {
|
|
56
|
+
"0x0000000000000000000000000000000000000000": {
|
|
57
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
58
|
+
name: "Ether",
|
|
59
|
+
symbol: "ETH",
|
|
60
|
+
decimals: 18,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
key: "ethereum_11155111",
|
|
64
|
+
baseDeliveryGas: 120000n,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
parachains: {
|
|
68
|
+
polkadot_1000: {
|
|
69
|
+
id: 1000,
|
|
70
|
+
kind: "polkadot",
|
|
71
|
+
key: "polkadot_1000",
|
|
72
|
+
features: {
|
|
73
|
+
hasPalletXcm: true,
|
|
74
|
+
hasDryRunApi: true,
|
|
75
|
+
hasTxPaymentApi: true,
|
|
76
|
+
hasDryRunRpc: true,
|
|
77
|
+
hasDotBalance: true,
|
|
78
|
+
hasEthBalance: false,
|
|
79
|
+
hasXcmPaymentApi: true,
|
|
80
|
+
supportsAliasOrigin: true,
|
|
81
|
+
xcmVersion: "v5",
|
|
82
|
+
supportsV2: true,
|
|
83
|
+
},
|
|
84
|
+
info: {
|
|
85
|
+
tokenSymbols: "WND",
|
|
86
|
+
tokenDecimals: 12,
|
|
87
|
+
ss58Format: 42,
|
|
88
|
+
isEthereum: false,
|
|
89
|
+
accountType: "AccountId32",
|
|
90
|
+
name: "Westend Asset Hub Local",
|
|
91
|
+
specName: "westmint",
|
|
92
|
+
specVersion: 1021004,
|
|
93
|
+
},
|
|
94
|
+
assets: {
|
|
95
|
+
"0x0000000000000000000000000000000000000000": {
|
|
96
|
+
token: "0x0000000000000000000000000000000000000000",
|
|
97
|
+
name: "Ether",
|
|
98
|
+
minimumBalance: 15000000000000n,
|
|
99
|
+
symbol: "ETH",
|
|
100
|
+
decimals: 18,
|
|
101
|
+
isSufficient: true,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
estimatedExecutionFeeDOT: 0n,
|
|
105
|
+
estimatedDeliveryFeeDOT: 0n,
|
|
106
|
+
},
|
|
107
|
+
polkadot_2000: {
|
|
108
|
+
id: 2000,
|
|
109
|
+
kind: "polkadot",
|
|
110
|
+
key: "polkadot_2000",
|
|
111
|
+
features: {
|
|
112
|
+
hasPalletXcm: true,
|
|
113
|
+
hasDryRunApi: true,
|
|
114
|
+
hasTxPaymentApi: true,
|
|
115
|
+
hasDryRunRpc: true,
|
|
116
|
+
hasDotBalance: true,
|
|
117
|
+
hasEthBalance: false,
|
|
118
|
+
hasXcmPaymentApi: true,
|
|
119
|
+
supportsAliasOrigin: true,
|
|
120
|
+
xcmVersion: "v5",
|
|
121
|
+
supportsV2: false,
|
|
122
|
+
},
|
|
123
|
+
info: {
|
|
124
|
+
tokenSymbols: "undefined",
|
|
125
|
+
tokenDecimals: NaN,
|
|
126
|
+
ss58Format: 42,
|
|
127
|
+
isEthereum: false,
|
|
128
|
+
accountType: "AccountId32",
|
|
129
|
+
name: "Penpal Parachain",
|
|
130
|
+
specName: "penpal-parachain",
|
|
131
|
+
specVersion: 1,
|
|
132
|
+
},
|
|
133
|
+
assets: {},
|
|
134
|
+
estimatedExecutionFeeDOT: 3276800000n,
|
|
135
|
+
estimatedDeliveryFeeDOT: 31450000000n,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
} as const
|
|
140
|
+
export default registry
|
|
@@ -12,8 +12,8 @@ const registry = {
|
|
|
12
12
|
},
|
|
13
13
|
relaychainUrl: "https://polkadot-rpc.n.dwellir.com",
|
|
14
14
|
parachains: {
|
|
15
|
-
"1000": "wss://asset-hub-
|
|
16
|
-
"1002": "
|
|
15
|
+
"1000": "wss://polkadot-asset-hub-rpc.polkadot.io",
|
|
16
|
+
"1002": "wss://polkadot-bridge-hub-rpc.polkadot.io",
|
|
17
17
|
"2000": "wss://acala-rpc-0.aca-api.network",
|
|
18
18
|
"2004": "wss://moonbeam.ibp.network",
|
|
19
19
|
"2030": "wss://bifrost-polkadot.ibp.network",
|
|
@@ -27,7 +27,7 @@ const registry = {
|
|
|
27
27
|
bridgeHubParaId: 1002,
|
|
28
28
|
v2_parachains: [1000],
|
|
29
29
|
indexerGraphQlUrl:
|
|
30
|
-
"https://snowbridge.
|
|
30
|
+
"https://subsquid.snowbridge.network/graphql",
|
|
31
31
|
kusama: {
|
|
32
32
|
assetHubParaId: 1000,
|
|
33
33
|
bridgeHubParaId: 1002,
|
|
@@ -560,7 +560,7 @@ const registry = {
|
|
|
560
560
|
},
|
|
561
561
|
],
|
|
562
562
|
registry: {
|
|
563
|
-
timestamp: "2026-
|
|
563
|
+
timestamp: "2026-03-27T09:55:18.302Z",
|
|
564
564
|
environment: "polkadot_mainnet",
|
|
565
565
|
ethChainId: 1,
|
|
566
566
|
gatewayAddress: "0x27ca963c279c93801941e1eb8799c23f407d68e7",
|
|
@@ -574,7 +574,7 @@ const registry = {
|
|
|
574
574
|
accountType: "AccountId32",
|
|
575
575
|
name: "Polkadot",
|
|
576
576
|
specName: "polkadot",
|
|
577
|
-
specVersion:
|
|
577
|
+
specVersion: 2001001,
|
|
578
578
|
},
|
|
579
579
|
bridgeHub: {
|
|
580
580
|
tokenSymbols: "DOT",
|
|
@@ -584,7 +584,7 @@ const registry = {
|
|
|
584
584
|
accountType: "AccountId32",
|
|
585
585
|
name: "Polkadot BridgeHub",
|
|
586
586
|
specName: "bridge-hub-polkadot",
|
|
587
|
-
specVersion:
|
|
587
|
+
specVersion: 2001001,
|
|
588
588
|
},
|
|
589
589
|
ethereumChains: {
|
|
590
590
|
ethereum_1: {
|
|
@@ -1064,7 +1064,7 @@ const registry = {
|
|
|
1064
1064
|
accountType: "AccountId32",
|
|
1065
1065
|
name: "Polkadot Asset Hub",
|
|
1066
1066
|
specName: "statemint",
|
|
1067
|
-
specVersion:
|
|
1067
|
+
specVersion: 2001001,
|
|
1068
1068
|
},
|
|
1069
1069
|
assets: {
|
|
1070
1070
|
"0x9d39a5de30e57443bff2a8307a4256c8797a3497": {
|
|
@@ -1688,7 +1688,7 @@ const registry = {
|
|
|
1688
1688
|
accountType: "AccountId32",
|
|
1689
1689
|
name: "Acala",
|
|
1690
1690
|
specName: "acala",
|
|
1691
|
-
specVersion:
|
|
1691
|
+
specVersion: 2350,
|
|
1692
1692
|
},
|
|
1693
1693
|
assets: {
|
|
1694
1694
|
"0x0000000000000000000000000000000000000000": {
|
|
@@ -1700,7 +1700,7 @@ const registry = {
|
|
|
1700
1700
|
isSufficient: false,
|
|
1701
1701
|
},
|
|
1702
1702
|
},
|
|
1703
|
-
estimatedExecutionFeeDOT:
|
|
1703
|
+
estimatedExecutionFeeDOT: 484934n,
|
|
1704
1704
|
estimatedDeliveryFeeDOT: 307100000n,
|
|
1705
1705
|
},
|
|
1706
1706
|
polkadot_2004: {
|
|
@@ -1728,7 +1728,7 @@ const registry = {
|
|
|
1728
1728
|
evmChainId: 1284,
|
|
1729
1729
|
name: "Moonbeam",
|
|
1730
1730
|
specName: "moonbeam",
|
|
1731
|
-
specVersion:
|
|
1731
|
+
specVersion: 4103,
|
|
1732
1732
|
},
|
|
1733
1733
|
xcDOT: "0xffffffff1fcacbd218edc0eba20fc2308c778080",
|
|
1734
1734
|
assets: {
|
|
@@ -1824,7 +1824,7 @@ const registry = {
|
|
|
1824
1824
|
evmChainId: 996,
|
|
1825
1825
|
name: "Bifrost Polkadot",
|
|
1826
1826
|
specName: "bifrost_polkadot",
|
|
1827
|
-
specVersion:
|
|
1827
|
+
specVersion: 23003,
|
|
1828
1828
|
},
|
|
1829
1829
|
assets: {
|
|
1830
1830
|
"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2": {
|
|
@@ -1844,7 +1844,7 @@ const registry = {
|
|
|
1844
1844
|
isSufficient: false,
|
|
1845
1845
|
},
|
|
1846
1846
|
},
|
|
1847
|
-
estimatedExecutionFeeDOT:
|
|
1847
|
+
estimatedExecutionFeeDOT: 54689726n,
|
|
1848
1848
|
estimatedDeliveryFeeDOT: 307100000n,
|
|
1849
1849
|
},
|
|
1850
1850
|
polkadot_2034: {
|
|
@@ -1857,10 +1857,10 @@ const registry = {
|
|
|
1857
1857
|
hasTxPaymentApi: true,
|
|
1858
1858
|
hasDryRunRpc: true,
|
|
1859
1859
|
hasDotBalance: true,
|
|
1860
|
-
hasEthBalance:
|
|
1860
|
+
hasEthBalance: true,
|
|
1861
1861
|
hasXcmPaymentApi: true,
|
|
1862
|
-
supportsAliasOrigin:
|
|
1863
|
-
xcmVersion: "
|
|
1862
|
+
supportsAliasOrigin: true,
|
|
1863
|
+
xcmVersion: "v5",
|
|
1864
1864
|
supportsV2: false,
|
|
1865
1865
|
},
|
|
1866
1866
|
info: {
|
|
@@ -1872,7 +1872,7 @@ const registry = {
|
|
|
1872
1872
|
evmChainId: 222222,
|
|
1873
1873
|
name: "Hydration",
|
|
1874
1874
|
specName: "hydradx",
|
|
1875
|
-
specVersion:
|
|
1875
|
+
specVersion: 398,
|
|
1876
1876
|
},
|
|
1877
1877
|
assets: {
|
|
1878
1878
|
"0x45804880de22913dafe09f4980848ece6ecbaf78": {
|
|
@@ -2028,7 +2028,7 @@ const registry = {
|
|
|
2028
2028
|
isSufficient: true,
|
|
2029
2029
|
},
|
|
2030
2030
|
},
|
|
2031
|
-
estimatedExecutionFeeDOT:
|
|
2031
|
+
estimatedExecutionFeeDOT: 1169428n,
|
|
2032
2032
|
estimatedDeliveryFeeDOT: 307100000n,
|
|
2033
2033
|
},
|
|
2034
2034
|
polkadot_2043: {
|
|
@@ -2081,9 +2081,9 @@ const registry = {
|
|
|
2081
2081
|
hasDryRunRpc: true,
|
|
2082
2082
|
hasDotBalance: false,
|
|
2083
2083
|
hasEthBalance: false,
|
|
2084
|
-
hasXcmPaymentApi:
|
|
2085
|
-
supportsAliasOrigin:
|
|
2086
|
-
xcmVersion: "
|
|
2084
|
+
hasXcmPaymentApi: true,
|
|
2085
|
+
supportsAliasOrigin: true,
|
|
2086
|
+
xcmVersion: "v5",
|
|
2087
2087
|
supportsV2: false,
|
|
2088
2088
|
},
|
|
2089
2089
|
info: {
|
|
@@ -2094,7 +2094,7 @@ const registry = {
|
|
|
2094
2094
|
accountType: "AccountId20",
|
|
2095
2095
|
name: "Mythos",
|
|
2096
2096
|
specName: "mythos",
|
|
2097
|
-
specVersion:
|
|
2097
|
+
specVersion: 1021,
|
|
2098
2098
|
},
|
|
2099
2099
|
assets: {
|
|
2100
2100
|
"0xba41ddf06b7ffd89d1267b5a93bfef2424eb2003": {
|
|
@@ -2136,7 +2136,7 @@ const registry = {
|
|
|
2136
2136
|
accountType: "AccountId32",
|
|
2137
2137
|
name: "Kusama Asset Hub",
|
|
2138
2138
|
specName: "statemine",
|
|
2139
|
-
specVersion:
|
|
2139
|
+
specVersion: 2001000,
|
|
2140
2140
|
},
|
|
2141
2141
|
assets: {
|
|
2142
2142
|
"0x9d39a5de30e57443bff2a8307a4256c8797a3497": {
|
|
@@ -8,13 +8,13 @@ const registry = {
|
|
|
8
8
|
"421614": "https://arbitrum-sepolia-rpc.publicnode.com",
|
|
9
9
|
"11155111": "https://ethereum-sepolia-rpc.publicnode.com",
|
|
10
10
|
},
|
|
11
|
-
relaychainUrl: "
|
|
11
|
+
relaychainUrl: "https://westend-rpc.polkadot.io",
|
|
12
12
|
parachains: {
|
|
13
|
-
"1000": "
|
|
14
|
-
"1002": "
|
|
13
|
+
"1000": "https://westend-asset-hub-rpc.polkadot.io",
|
|
14
|
+
"1002": "https://westend-bridge-hub-rpc.polkadot.io",
|
|
15
15
|
},
|
|
16
16
|
gatewayContract: "0x9ed8b47bc3417e3bd0507adc06e56e2fa360a4e9",
|
|
17
|
-
beefyContract: "
|
|
17
|
+
beefyContract: "0xebd1cfcf82baa170b86bde532f69a6a49c6c790d",
|
|
18
18
|
assetHubParaId: 1000,
|
|
19
19
|
bridgeHubParaId: 1002,
|
|
20
20
|
v2_parachains: [1000],
|