Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polkadot/networks

Package Overview
Dependencies
Maintainers
2
Versions
750
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/networks - npm Package Compare versions

Comparing version 3.6.0-beta.8 to 3.6.0-beta.9

27

index.js

@@ -19,7 +19,11 @@ "use strict";

// These are known prefixes that are not sorted
const UNSORTED = [0, 2, 42];
const UNSORTED = [0, 2, 42]; // NOTE: In the case where the network was hard-spooned and multiple genesisHashes
// are provided, it needs to be in reverse order, i.e. most-recent first, oldest
// last. This make lookups for current a case of genesisHash[0]
// (See Kusama as an example)
const all = [{
decimals: [10],
displayName: 'Polkadot Relay Chain',
genesisHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3',
genesisHash: ['0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'],
icon: 'polkadot',

@@ -42,3 +46,6 @@ network: 'polkadot',

displayName: 'Kusama Relay Chain',
genesisHash: '0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe',
genesisHash: ['0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe', // Kusama CC3,
'0xe3777fa922cafbff200cadeaea1a76bd7898ad5b89f7848999058b50e715f636', // Kusama CC2
'0x3fd7b9eb6a00376e5be61f01abb429ffb0b104be05eaff4d458da48fcd425baf' // Kusama CC1
],
icon: 'polkadot',

@@ -69,3 +76,3 @@ network: 'kusama',

displayName: 'Plasm Network',
genesisHash: '0x3e86364d4b4894021cb2a0390bcf2feb5517d5292f2de2bb9404227e908b0b8b',
genesisHash: ['0x3e86364d4b4894021cb2a0390bcf2feb5517d5292f2de2bb9404227e908b0b8b'],
network: 'plasm',

@@ -87,3 +94,3 @@ prefix: 5,

displayName: 'Edgeware',
genesisHash: '0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b',
genesisHash: ['0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'],
network: 'edgeware',

@@ -145,3 +152,3 @@ prefix: 7,

displayName: 'Kulupu',
genesisHash: '0xf7a99d3cb92853d00d5275c971c132c074636256583fee53b3bbe60d7b8769ba',
genesisHash: ['0xf7a99d3cb92853d00d5275c971c132c074636256583fee53b3bbe60d7b8769ba'],
network: 'kulupu',

@@ -179,3 +186,3 @@ prefix: 16,

displayName: 'Stafi',
genesisHash: '0x290a4149f09ea0e402c74c1c7e96ae4239588577fe78932f94f5404c68243d80',
genesisHash: ['0x290a4149f09ea0e402c74c1c7e96ae4239588577fe78932f94f5404c68243d80'],
network: 'stafi',

@@ -189,3 +196,3 @@ prefix: 20,

displayName: 'Dock Testnet',
genesisHash: '0x3f0608444cf5d7eec977430483ffef31ff86dfa6bfc6d7114023ee80cc03ea3f',
genesisHash: ['0x3f0608444cf5d7eec977430483ffef31ff86dfa6bfc6d7114023ee80cc03ea3f'],
network: 'dock-testnet',

@@ -199,3 +206,3 @@ prefix: 21,

displayName: 'Dock Mainnet',
genesisHash: '0xf73467c6544aa68df2ee546b135f955c46b90fa627e9b5d7935f41061bb8a5a9',
genesisHash: ['0xf73467c6544aa68df2ee546b135f955c46b90fa627e9b5d7935f41061bb8a5a9'],
network: 'dock-mainnet',

@@ -233,3 +240,3 @@ prefix: 22,

displayName: 'Subsocial',
genesisHash: '0x0bd72c1c305172e1275278aaeb3f161e02eccb7a819e63f62d47bd53a28189f8',
genesisHash: ['0x0bd72c1c305172e1275278aaeb3f161e02eccb7a819e63f62d47bd53a28189f8'],
network: 'subsocial',

@@ -236,0 +243,0 @@ prefix: 28,

{
"name": "@polkadot/networks",
"version": "3.6.0-beta.8",
"version": "3.6.0-beta.9",
"description": "A list of all available Substrate networks and their applicable prefixes",

@@ -33,5 +33,5 @@ "main": "index.js",

"devDependencies": {
"@polkadot/util": "3.6.0-beta.8",
"@polkadot/util": "3.6.0-beta.9",
"@polkadot/x-fetch": "^0.3.2"
}
}

@@ -7,3 +7,3 @@ export declare type Icon = 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';

prefix: number;
genesisHash?: string | null;
genesisHash?: string[] | null;
icon?: Icon | null;

@@ -15,3 +15,3 @@ standardAccount: '*25519' | null;

export interface Network extends NetworkFromSubstrate {
genesisHash: string | null;
genesisHash: string[] | null;
icon: Icon;

@@ -18,0 +18,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc