@polkadot/networks 12.4.2 → 12.6.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/cjs/defaults/genesis.js +9 -0
- package/cjs/defaults/ledger.js +4 -1
- package/cjs/packageInfo.js +1 -1
- package/defaults/genesis.js +9 -0
- package/defaults/ledger.js +4 -1
- package/package.json +4 -4
- package/packageInfo.js +1 -1
- package/types.d.ts +7 -0
package/cjs/defaults/genesis.js
CHANGED
|
@@ -46,6 +46,9 @@ exports.knownGenesis = {
|
|
|
46
46
|
edgeware: [
|
|
47
47
|
'0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
|
|
48
48
|
],
|
|
49
|
+
enjin: [
|
|
50
|
+
'0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9'
|
|
51
|
+
],
|
|
49
52
|
equilibrium: [
|
|
50
53
|
'0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
|
|
51
54
|
],
|
|
@@ -76,6 +79,9 @@ exports.knownGenesis = {
|
|
|
76
79
|
'0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636',
|
|
77
80
|
'0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
|
|
78
81
|
],
|
|
82
|
+
matrixchain: [
|
|
83
|
+
'0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615'
|
|
84
|
+
],
|
|
79
85
|
nodle: [
|
|
80
86
|
'0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'
|
|
81
87
|
],
|
|
@@ -107,6 +113,9 @@ exports.knownGenesis = {
|
|
|
107
113
|
polymesh: [
|
|
108
114
|
'0x6fbd74e5e1d0a61d52ccfe9d4adaed16dd3a7caa37c6bc4d0c2fa12e8b2f4063'
|
|
109
115
|
],
|
|
116
|
+
quartz: [
|
|
117
|
+
'0xcd4d732201ebe5d6b014edda071c4203e16867305332301dc8d092044b28e554'
|
|
118
|
+
],
|
|
110
119
|
rococo: [
|
|
111
120
|
'0x6408de7737c59c238890533af25896a2c20608d8b380bb01029acb392781063e',
|
|
112
121
|
'0xaaf2cd1b74b5f726895921259421b534124726263982522174147046b8827897',
|
package/cjs/defaults/ledger.js
CHANGED
|
@@ -13,6 +13,7 @@ exports.knownLedger = {
|
|
|
13
13
|
darwinia: 0x00000162,
|
|
14
14
|
'dock-mainnet': 0x00000252,
|
|
15
15
|
edgeware: 0x0000020b,
|
|
16
|
+
enjin: 0x00000483,
|
|
16
17
|
equilibrium: 0x05f5e0fd,
|
|
17
18
|
genshiro: 0x05f5e0fc,
|
|
18
19
|
hydradx: 0x00000162,
|
|
@@ -20,6 +21,7 @@ exports.knownLedger = {
|
|
|
20
21
|
karura: 0x000002ae,
|
|
21
22
|
khala: 0x000001b2,
|
|
22
23
|
kusama: 0x000001b2,
|
|
24
|
+
matrixchain: 0x00000483,
|
|
23
25
|
nodle: 0x000003eb,
|
|
24
26
|
origintrail: 0x00000162,
|
|
25
27
|
parallel: 0x00000162,
|
|
@@ -29,12 +31,13 @@ exports.knownLedger = {
|
|
|
29
31
|
polkadex: 0x0000031f,
|
|
30
32
|
polkadot: 0x00000162,
|
|
31
33
|
polymesh: 0x00000253,
|
|
34
|
+
quartz: 0x00000277,
|
|
32
35
|
sora: 0x00000269,
|
|
33
36
|
stafi: 0x0000038b,
|
|
34
37
|
statemine: 0x000001b2,
|
|
35
38
|
statemint: 0x00000162,
|
|
36
39
|
ternoa: 0x00003e3,
|
|
37
|
-
unique:
|
|
40
|
+
unique: 0x00000295,
|
|
38
41
|
vtb: 0x000002b6,
|
|
39
42
|
xxnetwork: 0x000007a3,
|
|
40
43
|
zeitgeist: 0x00000162
|
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/networks', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/networks', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '12.6.1' };
|
package/defaults/genesis.js
CHANGED
|
@@ -43,6 +43,9 @@ export const knownGenesis = {
|
|
|
43
43
|
edgeware: [
|
|
44
44
|
'0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
|
|
45
45
|
],
|
|
46
|
+
enjin: [
|
|
47
|
+
'0xd8761d3c88f26dc12875c00d3165f7d67243d56fc85b4cf19937601a7916e5a9'
|
|
48
|
+
],
|
|
46
49
|
equilibrium: [
|
|
47
50
|
'0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
|
|
48
51
|
],
|
|
@@ -73,6 +76,9 @@ export const knownGenesis = {
|
|
|
73
76
|
'0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636',
|
|
74
77
|
'0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
|
|
75
78
|
],
|
|
79
|
+
matrixchain: [
|
|
80
|
+
'0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615'
|
|
81
|
+
],
|
|
76
82
|
nodle: [
|
|
77
83
|
'0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21'
|
|
78
84
|
],
|
|
@@ -104,6 +110,9 @@ export const knownGenesis = {
|
|
|
104
110
|
polymesh: [
|
|
105
111
|
'0x6fbd74e5e1d0a61d52ccfe9d4adaed16dd3a7caa37c6bc4d0c2fa12e8b2f4063'
|
|
106
112
|
],
|
|
113
|
+
quartz: [
|
|
114
|
+
'0xcd4d732201ebe5d6b014edda071c4203e16867305332301dc8d092044b28e554'
|
|
115
|
+
],
|
|
107
116
|
rococo: [
|
|
108
117
|
'0x6408de7737c59c238890533af25896a2c20608d8b380bb01029acb392781063e',
|
|
109
118
|
'0xaaf2cd1b74b5f726895921259421b534124726263982522174147046b8827897',
|
package/defaults/ledger.js
CHANGED
|
@@ -10,6 +10,7 @@ export const knownLedger = {
|
|
|
10
10
|
darwinia: 0x00000162,
|
|
11
11
|
'dock-mainnet': 0x00000252,
|
|
12
12
|
edgeware: 0x0000020b,
|
|
13
|
+
enjin: 0x00000483,
|
|
13
14
|
equilibrium: 0x05f5e0fd,
|
|
14
15
|
genshiro: 0x05f5e0fc,
|
|
15
16
|
hydradx: 0x00000162,
|
|
@@ -17,6 +18,7 @@ export const knownLedger = {
|
|
|
17
18
|
karura: 0x000002ae,
|
|
18
19
|
khala: 0x000001b2,
|
|
19
20
|
kusama: 0x000001b2,
|
|
21
|
+
matrixchain: 0x00000483,
|
|
20
22
|
nodle: 0x000003eb,
|
|
21
23
|
origintrail: 0x00000162,
|
|
22
24
|
parallel: 0x00000162,
|
|
@@ -26,12 +28,13 @@ export const knownLedger = {
|
|
|
26
28
|
polkadex: 0x0000031f,
|
|
27
29
|
polkadot: 0x00000162,
|
|
28
30
|
polymesh: 0x00000253,
|
|
31
|
+
quartz: 0x00000277,
|
|
29
32
|
sora: 0x00000269,
|
|
30
33
|
stafi: 0x0000038b,
|
|
31
34
|
statemine: 0x000001b2,
|
|
32
35
|
statemint: 0x00000162,
|
|
33
36
|
ternoa: 0x00003e3,
|
|
34
|
-
unique:
|
|
37
|
+
unique: 0x00000295,
|
|
35
38
|
vtb: 0x000002b6,
|
|
36
39
|
xxnetwork: 0x000007a3,
|
|
37
40
|
zeitgeist: 0x00000162
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bugs": "https://github.com/polkadot-js/common/issues",
|
|
4
4
|
"description": "A list of all available Substrate networks and their applicable prefixes",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": ">=18"
|
|
7
7
|
},
|
|
8
8
|
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/networks#readme",
|
|
9
9
|
"license": "Apache-2.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"sideEffects": false,
|
|
17
17
|
"type": "module",
|
|
18
|
-
"version": "12.
|
|
18
|
+
"version": "12.6.1",
|
|
19
19
|
"main": "./cjs/index.js",
|
|
20
20
|
"module": "./index.js",
|
|
21
21
|
"types": "./index.d.ts",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@polkadot/util": "12.
|
|
104
|
-
"@substrate/ss58-registry": "^1.
|
|
103
|
+
"@polkadot/util": "12.6.1",
|
|
104
|
+
"@substrate/ss58-registry": "^1.44.0",
|
|
105
105
|
"tslib": "^2.6.2"
|
|
106
106
|
}
|
|
107
107
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/networks', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/networks', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '12.6.1' };
|
package/types.d.ts
CHANGED
|
@@ -7,14 +7,21 @@ export type KnownGenesis = Record<string, HexString[]>;
|
|
|
7
7
|
export type KnownSubstrate = RegistryEntry;
|
|
8
8
|
export type KnownTestnet = Record<string, true>;
|
|
9
9
|
export interface SubstrateNetwork extends KnownSubstrate {
|
|
10
|
+
/** The genesisHash for the chain */
|
|
10
11
|
genesisHash: HexString[];
|
|
12
|
+
/** Does the chain has support for Ledger devices */
|
|
11
13
|
hasLedgerSupport: boolean;
|
|
14
|
+
/** The IdentityIcon to use for the chain */
|
|
12
15
|
icon: Icon;
|
|
16
|
+
/** Flag set when we don't include this chain */
|
|
13
17
|
isIgnored: boolean;
|
|
18
|
+
/** Flag to indicate a testnet */
|
|
14
19
|
isTestnet: boolean;
|
|
20
|
+
/** The Ledger-specific/required slip44 for the chain */
|
|
15
21
|
slip44?: number | null;
|
|
16
22
|
}
|
|
17
23
|
export interface Network extends SubstrateNetwork {
|
|
24
|
+
/** The network assigned to this chain */
|
|
18
25
|
network: string;
|
|
19
26
|
}
|
|
20
27
|
export interface Ss58Registry {
|