From 7794117ef311ec163317bec54d68b3850624795f Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Thu, 3 Sep 2020 15:26:19 +0200 Subject: [PATCH 01/10] add SS58 registry --- ss58-registry.json | 275 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 275 insertions(+) create mode 100644 ss58-registry.json diff --git a/ss58-registry.json b/ss58-registry.json new file mode 100644 index 0000000000000..37c165fcddf71 --- /dev/null +++ b/ss58-registry.json @@ -0,0 +1,275 @@ +{ + "specification": "https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)", + "schema": { + "prefix": "The address prefix. Must be an integer and unique.", + "network": "Unique identifier for the network that will use this prefix, string, no spaces. To integrate with CLI tools, e.g. `--network polkadot`.", + "displayName": "The name of the network that will use this prefix, in a format friendly for display.", + "symbol": "Array of symbols of any tokens the chain uses, usually 2-5 characters. Most chains will only have one. Chains that have multiple instances of the Balances pallet should order the array by instance.", + "decimals": "Number of decimals representing a single unit to the end user. Must be an integer.", + "standardAccount": "Signing curve for standard account. Substrate supports ed25519, sr25519, and secp256k1.", + "website": "A website or Github repo associated with the network." + }, + "registry": [ + { + "prefix": "0", + "network": "polkadot", + "description": "Polkadot Relay Chain", + "symbol": ["DOT"], + "decimals": "10", + "standardAccount": "*25519", + "website": "https://polkadot.network" + }, + { + "prefix": "1", + "network": "reserved1", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "2", + "network": "kusama", + "description": "Kusama Relay Chain", + "symbol": ["KSM"], + "decimals": "12", + "standardAccount": "*25519", + "website": "https://kusama.network" + }, + { + "prefix": "3", + "network": "reserved3", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "4", + "network": "katalchain", + "description": "Katal Chain", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "5", + "network": "plasm", + "description": "Plasm Network", + "symbol": ["PLM"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "6", + "network": "bitfrost", + "description": "Bitfrost", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "7", + "network": "edgeware", + "description": "Edgeware", + "symbol": ["EDG"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "8", + "network": "karura", + "description": "Acala Karura Canary", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "9", + "network": "reynolds", + "description": "Laminar Reynolds Canary", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "10", + "network": "acala", + "description": "Acala", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "11", + "network": "laminar", + "description": "Laminar", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "12", + "network": "polymath", + "description": "Polymath", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "13", + "network": "substratee", + "description": "SubstraTEE", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "16", + "network": "kulupu", + "description": "Kulupu", + "symbol": ["KLP"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "18", + "network": "darwinia", + "description": "Darwinia Chain", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "20", + "network": "stafi", + "description": "Stafi", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "23", + "network": "shift", + "description": "ShiftNrg", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "28", + "network": "subsocial", + "description": "Subsocial", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "30", + "network": "phala", + "description": "Phala Network", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "32", + "network": "robonomics", + "description": "Robonomics Network", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "33", + "network": "datahighway", + "description": "DataHighway", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "36", + "network": "centrifuge", + "description": "Centrifuge Chain", + "symbol": ["RAD"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "42", + "network": "substrate", + "description": "Substrate", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": "https://substrate.dev/" + }, + { + "prefix": "43", + "network": "reserved43", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "44", + "network": "chainx", + "description": "ChainX", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "46", + "network": "reserved46", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "47", + "network": "reserved47", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "48", + "network": "reserved48", + "description": "All prefixes above 48 are reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + } + ] +} From 400a0188712abf65bc014cf77bb9d5db80fcae95 Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Thu, 3 Sep 2020 15:34:43 +0200 Subject: [PATCH 02/10] formatting --- ss58-registry.json | 536 ++++++++++++++++++++++----------------------- 1 file changed, 268 insertions(+), 268 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index 37c165fcddf71..d52ce47626fc3 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -1,275 +1,275 @@ { "specification": "https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)", "schema": { - "prefix": "The address prefix. Must be an integer and unique.", - "network": "Unique identifier for the network that will use this prefix, string, no spaces. To integrate with CLI tools, e.g. `--network polkadot`.", - "displayName": "The name of the network that will use this prefix, in a format friendly for display.", - "symbol": "Array of symbols of any tokens the chain uses, usually 2-5 characters. Most chains will only have one. Chains that have multiple instances of the Balances pallet should order the array by instance.", - "decimals": "Number of decimals representing a single unit to the end user. Must be an integer.", - "standardAccount": "Signing curve for standard account. Substrate supports ed25519, sr25519, and secp256k1.", - "website": "A website or Github repo associated with the network." + "prefix": "The address prefix. Must be an integer and unique.", + "network": "Unique identifier for the network that will use this prefix, string, no spaces. To integrate with CLI tools, e.g. `--network polkadot`.", + "displayName": "The name of the network that will use this prefix, in a format friendly for display.", + "symbol": "Array of symbols of any tokens the chain uses, usually 2-5 characters. Most chains will only have one. Chains that have multiple instances of the Balances pallet should order the array by instance.", + "decimals": "Number of decimals representing a single unit to the end user. Must be an integer.", + "standardAccount": "Signing curve for standard account. Substrate supports ed25519, sr25519, and secp256k1.", + "website": "A website or Github repo associated with the network." }, "registry": [ - { - "prefix": "0", - "network": "polkadot", - "description": "Polkadot Relay Chain", - "symbol": ["DOT"], - "decimals": "10", - "standardAccount": "*25519", - "website": "https://polkadot.network" - }, - { - "prefix": "1", - "network": "reserved1", - "description": "This prefix is reserved.", - "symbol": null, - "decimals": null, - "standardAccount": null, - "website": null - }, - { - "prefix": "2", - "network": "kusama", - "description": "Kusama Relay Chain", - "symbol": ["KSM"], - "decimals": "12", - "standardAccount": "*25519", - "website": "https://kusama.network" - }, - { - "prefix": "3", - "network": "reserved3", - "description": "This prefix is reserved.", - "symbol": null, - "decimals": null, - "standardAccount": null, - "website": null - }, - { - "prefix": "4", - "network": "katalchain", - "description": "Katal Chain", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "5", - "network": "plasm", - "description": "Plasm Network", - "symbol": ["PLM"], - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "6", - "network": "bitfrost", - "description": "Bitfrost", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "7", - "network": "edgeware", - "description": "Edgeware", - "symbol": ["EDG"], - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "8", - "network": "karura", - "description": "Acala Karura Canary", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "9", - "network": "reynolds", - "description": "Laminar Reynolds Canary", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "10", - "network": "acala", - "description": "Acala", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "11", - "network": "laminar", - "description": "Laminar", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "12", - "network": "polymath", - "description": "Polymath", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "13", - "network": "substratee", - "description": "SubstraTEE", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "16", - "network": "kulupu", - "description": "Kulupu", - "symbol": ["KLP"], - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "18", - "network": "darwinia", - "description": "Darwinia Chain", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "20", - "network": "stafi", - "description": "Stafi", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "23", - "network": "shift", - "description": "ShiftNrg", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "28", - "network": "subsocial", - "description": "Subsocial", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "30", - "network": "phala", - "description": "Phala Network", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "32", - "network": "robonomics", - "description": "Robonomics Network", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "33", - "network": "datahighway", - "description": "DataHighway", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "36", - "network": "centrifuge", - "description": "Centrifuge Chain", - "symbol": ["RAD"], - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "42", - "network": "substrate", - "description": "Substrate", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": "https://substrate.dev/" - }, - { - "prefix": "43", - "network": "reserved43", - "description": "This prefix is reserved.", - "symbol": null, - "decimals": null, - "standardAccount": null, - "website": null - }, - { - "prefix": "44", - "network": "chainx", - "description": "ChainX", - "symbol": null, - "decimals": null, - "standardAccount": "*25519", - "website": null - }, - { - "prefix": "46", - "network": "reserved46", - "description": "This prefix is reserved.", - "symbol": null, - "decimals": null, - "standardAccount": null, - "website": null - }, - { - "prefix": "47", - "network": "reserved47", - "description": "This prefix is reserved.", - "symbol": null, - "decimals": null, - "standardAccount": null, - "website": null - }, - { - "prefix": "48", - "network": "reserved48", - "description": "All prefixes above 48 are reserved.", - "symbol": null, - "decimals": null, - "standardAccount": null, - "website": null - } + { + "prefix": "0", + "network": "polkadot", + "description": "Polkadot Relay Chain", + "symbol": ["DOT"], + "decimals": "10", + "standardAccount": "*25519", + "website": "https://polkadot.network" + }, + { + "prefix": "1", + "network": "reserved1", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "2", + "network": "kusama", + "description": "Kusama Relay Chain", + "symbol": ["KSM"], + "decimals": "12", + "standardAccount": "*25519", + "website": "https://kusama.network" + }, + { + "prefix": "3", + "network": "reserved3", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "4", + "network": "katalchain", + "description": "Katal Chain", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "5", + "network": "plasm", + "description": "Plasm Network", + "symbol": ["PLM"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "6", + "network": "bitfrost", + "description": "Bitfrost", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "7", + "network": "edgeware", + "description": "Edgeware", + "symbol": ["EDG"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "8", + "network": "karura", + "description": "Acala Karura Canary", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "9", + "network": "reynolds", + "description": "Laminar Reynolds Canary", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "10", + "network": "acala", + "description": "Acala", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "11", + "network": "laminar", + "description": "Laminar", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "12", + "network": "polymath", + "description": "Polymath", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "13", + "network": "substratee", + "description": "SubstraTEE", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "16", + "network": "kulupu", + "description": "Kulupu", + "symbol": ["KLP"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "18", + "network": "darwinia", + "description": "Darwinia Chain", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "20", + "network": "stafi", + "description": "Stafi", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "23", + "network": "shift", + "description": "ShiftNrg", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "28", + "network": "subsocial", + "description": "Subsocial", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "30", + "network": "phala", + "description": "Phala Network", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "32", + "network": "robonomics", + "description": "Robonomics Network", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "33", + "network": "datahighway", + "description": "DataHighway", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "36", + "network": "centrifuge", + "description": "Centrifuge Chain", + "symbol": ["RAD"], + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "42", + "network": "substrate", + "description": "Substrate", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": "https://substrate.dev/" + }, + { + "prefix": "43", + "network": "reserved43", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "44", + "network": "chainx", + "description": "ChainX", + "symbol": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": "46", + "network": "reserved46", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "47", + "network": "reserved47", + "description": "This prefix is reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + }, + { + "prefix": "48", + "network": "reserved48", + "description": "All prefixes above 48 are reserved.", + "symbol": null, + "decimals": null, + "standardAccount": null, + "website": null + } ] } From c071a232a0b02a07a448e7244449892a10eb264d Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Thu, 3 Sep 2020 15:36:35 +0200 Subject: [PATCH 03/10] description -> displayName --- ss58-registry.json | 58 +++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index d52ce47626fc3..dc509f584255a 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -13,7 +13,7 @@ { "prefix": "0", "network": "polkadot", - "description": "Polkadot Relay Chain", + "displayName": "Polkadot Relay Chain", "symbol": ["DOT"], "decimals": "10", "standardAccount": "*25519", @@ -22,7 +22,7 @@ { "prefix": "1", "network": "reserved1", - "description": "This prefix is reserved.", + "displayName": "This prefix is reserved.", "symbol": null, "decimals": null, "standardAccount": null, @@ -31,7 +31,7 @@ { "prefix": "2", "network": "kusama", - "description": "Kusama Relay Chain", + "displayName": "Kusama Relay Chain", "symbol": ["KSM"], "decimals": "12", "standardAccount": "*25519", @@ -40,7 +40,7 @@ { "prefix": "3", "network": "reserved3", - "description": "This prefix is reserved.", + "displayName": "This prefix is reserved.", "symbol": null, "decimals": null, "standardAccount": null, @@ -49,7 +49,7 @@ { "prefix": "4", "network": "katalchain", - "description": "Katal Chain", + "displayName": "Katal Chain", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -58,7 +58,7 @@ { "prefix": "5", "network": "plasm", - "description": "Plasm Network", + "displayName": "Plasm Network", "symbol": ["PLM"], "decimals": null, "standardAccount": "*25519", @@ -67,7 +67,7 @@ { "prefix": "6", "network": "bitfrost", - "description": "Bitfrost", + "displayName": "Bitfrost", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -76,7 +76,7 @@ { "prefix": "7", "network": "edgeware", - "description": "Edgeware", + "displayName": "Edgeware", "symbol": ["EDG"], "decimals": null, "standardAccount": "*25519", @@ -85,7 +85,7 @@ { "prefix": "8", "network": "karura", - "description": "Acala Karura Canary", + "displayName": "Acala Karura Canary", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -94,7 +94,7 @@ { "prefix": "9", "network": "reynolds", - "description": "Laminar Reynolds Canary", + "displayName": "Laminar Reynolds Canary", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -103,7 +103,7 @@ { "prefix": "10", "network": "acala", - "description": "Acala", + "displayName": "Acala", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -112,7 +112,7 @@ { "prefix": "11", "network": "laminar", - "description": "Laminar", + "displayName": "Laminar", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -121,7 +121,7 @@ { "prefix": "12", "network": "polymath", - "description": "Polymath", + "displayName": "Polymath", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -130,7 +130,7 @@ { "prefix": "13", "network": "substratee", - "description": "SubstraTEE", + "displayName": "SubstraTEE", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -139,7 +139,7 @@ { "prefix": "16", "network": "kulupu", - "description": "Kulupu", + "displayName": "Kulupu", "symbol": ["KLP"], "decimals": null, "standardAccount": "*25519", @@ -148,7 +148,7 @@ { "prefix": "18", "network": "darwinia", - "description": "Darwinia Chain", + "displayName": "Darwinia Chain", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -157,7 +157,7 @@ { "prefix": "20", "network": "stafi", - "description": "Stafi", + "displayName": "Stafi", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -166,7 +166,7 @@ { "prefix": "23", "network": "shift", - "description": "ShiftNrg", + "displayName": "ShiftNrg", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -175,7 +175,7 @@ { "prefix": "28", "network": "subsocial", - "description": "Subsocial", + "displayName": "Subsocial", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -184,7 +184,7 @@ { "prefix": "30", "network": "phala", - "description": "Phala Network", + "displayName": "Phala Network", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -193,7 +193,7 @@ { "prefix": "32", "network": "robonomics", - "description": "Robonomics Network", + "displayName": "Robonomics Network", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -202,7 +202,7 @@ { "prefix": "33", "network": "datahighway", - "description": "DataHighway", + "displayName": "DataHighway", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -211,7 +211,7 @@ { "prefix": "36", "network": "centrifuge", - "description": "Centrifuge Chain", + "displayName": "Centrifuge Chain", "symbol": ["RAD"], "decimals": null, "standardAccount": "*25519", @@ -220,7 +220,7 @@ { "prefix": "42", "network": "substrate", - "description": "Substrate", + "displayName": "Substrate", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -229,7 +229,7 @@ { "prefix": "43", "network": "reserved43", - "description": "This prefix is reserved.", + "displayName": "This prefix is reserved.", "symbol": null, "decimals": null, "standardAccount": null, @@ -238,7 +238,7 @@ { "prefix": "44", "network": "chainx", - "description": "ChainX", + "displayName": "ChainX", "symbol": null, "decimals": null, "standardAccount": "*25519", @@ -247,7 +247,7 @@ { "prefix": "46", "network": "reserved46", - "description": "This prefix is reserved.", + "displayName": "This prefix is reserved.", "symbol": null, "decimals": null, "standardAccount": null, @@ -256,7 +256,7 @@ { "prefix": "47", "network": "reserved47", - "description": "This prefix is reserved.", + "displayName": "This prefix is reserved.", "symbol": null, "decimals": null, "standardAccount": null, @@ -265,7 +265,7 @@ { "prefix": "48", "network": "reserved48", - "description": "All prefixes above 48 are reserved.", + "displayName": "All prefixes above 48 are reserved.", "symbol": null, "decimals": null, "standardAccount": null, From 3a24ef3e94dd4dd4aa4b6691d4359ff3509333b9 Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Thu, 3 Sep 2020 17:44:46 +0200 Subject: [PATCH 04/10] Update ss58-registry.json Co-authored-by: Jaco Greeff --- ss58-registry.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ss58-registry.json b/ss58-registry.json index dc509f584255a..218b71ac0fb3d 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -265,7 +265,7 @@ { "prefix": "48", "network": "reserved48", - "displayName": "All prefixes above 48 are reserved.", + "displayName": "All prefixes 48 and higher are reserved and cannot be allocated.", "symbol": null, "decimals": null, "standardAccount": null, From 3dd4daa35c4b8cc24fe4396f2ac281dfb2648726 Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Fri, 4 Sep 2020 12:09:33 +0200 Subject: [PATCH 05/10] make numbers literal, tokens can have different denominations --- ss58-registry.json | 124 ++++++++++++++++++++++----------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index dc509f584255a..c55d89ddf61d5 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -4,269 +4,269 @@ "prefix": "The address prefix. Must be an integer and unique.", "network": "Unique identifier for the network that will use this prefix, string, no spaces. To integrate with CLI tools, e.g. `--network polkadot`.", "displayName": "The name of the network that will use this prefix, in a format friendly for display.", - "symbol": "Array of symbols of any tokens the chain uses, usually 2-5 characters. Most chains will only have one. Chains that have multiple instances of the Balances pallet should order the array by instance.", - "decimals": "Number of decimals representing a single unit to the end user. Must be an integer.", + "symbols": "Array of symbols of any tokens the chain uses, usually 2-5 characters. Most chains will only have one. Chains that have multiple instances of the Balances pallet should order the array by instance.", + "decimals": "Array of integers representing the number of decimals that represent a single unit to the end user. Must be same length as `symbols` to represent each token's denomination.", "standardAccount": "Signing curve for standard account. Substrate supports ed25519, sr25519, and secp256k1.", "website": "A website or Github repo associated with the network." }, "registry": [ { - "prefix": "0", + "prefix": 0, "network": "polkadot", "displayName": "Polkadot Relay Chain", - "symbol": ["DOT"], - "decimals": "10", + "symbols": ["DOT"], + "decimals": [10], "standardAccount": "*25519", "website": "https://polkadot.network" }, { - "prefix": "1", + "prefix": 1, "network": "reserved1", "displayName": "This prefix is reserved.", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": null, "website": null }, { - "prefix": "2", + "prefix": 2, "network": "kusama", "displayName": "Kusama Relay Chain", - "symbol": ["KSM"], - "decimals": "12", + "symbols": ["KSM"], + "decimals": [12], "standardAccount": "*25519", "website": "https://kusama.network" }, { - "prefix": "3", + "prefix": 3, "network": "reserved3", "displayName": "This prefix is reserved.", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": null, "website": null }, { - "prefix": "4", + "prefix": 4, "network": "katalchain", "displayName": "Katal Chain", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "5", + "prefix": 5, "network": "plasm", "displayName": "Plasm Network", - "symbol": ["PLM"], + "symbols": ["PLM"], "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "6", + "prefix": 6, "network": "bitfrost", "displayName": "Bitfrost", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "7", + "prefix": 7, "network": "edgeware", "displayName": "Edgeware", - "symbol": ["EDG"], + "symbols": ["EDG"], "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "8", + "prefix": 8, "network": "karura", "displayName": "Acala Karura Canary", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "9", + "prefix": 9, "network": "reynolds", "displayName": "Laminar Reynolds Canary", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "10", + "prefix": 10, "network": "acala", "displayName": "Acala", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "11", + "prefix": 11, "network": "laminar", "displayName": "Laminar", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "12", + "prefix": 12, "network": "polymath", "displayName": "Polymath", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "13", + "prefix": 13, "network": "substratee", "displayName": "SubstraTEE", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "16", + "prefix": 16, "network": "kulupu", "displayName": "Kulupu", - "symbol": ["KLP"], + "symbols": ["KLP"], "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "18", + "prefix": 18, "network": "darwinia", "displayName": "Darwinia Chain", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "20", + "prefix": 20, "network": "stafi", "displayName": "Stafi", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "23", + "prefix": 23, "network": "shift", "displayName": "ShiftNrg", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "28", + "prefix": 28, "network": "subsocial", "displayName": "Subsocial", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "30", + "prefix": 30, "network": "phala", "displayName": "Phala Network", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "32", + "prefix": 32, "network": "robonomics", "displayName": "Robonomics Network", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "33", + "prefix": 33, "network": "datahighway", "displayName": "DataHighway", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "36", + "prefix": 36, "network": "centrifuge", "displayName": "Centrifuge Chain", - "symbol": ["RAD"], + "symbols": ["RAD"], "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "42", + "prefix": 42, "network": "substrate", "displayName": "Substrate", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": "https://substrate.dev/" }, { - "prefix": "43", + "prefix": 43, "network": "reserved43", "displayName": "This prefix is reserved.", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": null, "website": null }, { - "prefix": "44", + "prefix": 44, "network": "chainx", "displayName": "ChainX", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": "*25519", "website": null }, { - "prefix": "46", + "prefix": 46, "network": "reserved46", "displayName": "This prefix is reserved.", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": null, "website": null }, { - "prefix": "47", + "prefix": 47, "network": "reserved47", "displayName": "This prefix is reserved.", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": null, "website": null }, { - "prefix": "48", + "prefix": 48, "network": "reserved48", "displayName": "All prefixes above 48 are reserved.", - "symbol": null, + "symbols": null, "decimals": null, "standardAccount": null, "website": null From f0d7f61da79475ff785babbc3033720a2c185cd9 Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Wed, 9 Sep 2020 14:18:16 +0200 Subject: [PATCH 06/10] add dock --- ss58-registry.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ss58-registry.json b/ss58-registry.json index 2e56b4552ad04..5aae53bfe6f54 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -163,6 +163,24 @@ "standardAccount": "*25519", "website": null }, + { + "prefix": 21, + "network": "dock-testnet", + "displayName": "Dock Testnet", + "symbols": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, + { + "prefix": 22, + "network": "dock-mainnet", + "displayName": "Dock Mainnet", + "symbols": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, { "prefix": 23, "network": "shift", From 83e6afe0f971937f5287d1754f70e820d1e1c14f Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Tue, 15 Sep 2020 14:12:18 +0200 Subject: [PATCH 07/10] add dark --- ss58-registry.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ss58-registry.json b/ss58-registry.json index 5aae53bfe6f54..3da78161280e2 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -145,6 +145,15 @@ "standardAccount": "*25519", "website": null }, + { + "prefix": 17, + "network": "dark", + "displayName": "Dark Mainnet", + "symbols": null, + "decimals": null, + "standardAccount": "*25519", + "website": null + }, { "prefix": 18, "network": "darwinia", From 0c5f4c3252df34d098b61f3ad2bb1914e79670c6 Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Tue, 15 Sep 2020 19:28:00 +0200 Subject: [PATCH 08/10] add websites and tokens --- ss58-registry.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index 3da78161280e2..9935985dfe638 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -78,9 +78,9 @@ "network": "edgeware", "displayName": "Edgeware", "symbols": ["EDG"], - "decimals": null, + "decimals": [18], "standardAccount": "*25519", - "website": null + "website": "https://edgewa.re" }, { "prefix": 8, @@ -134,7 +134,7 @@ "symbols": null, "decimals": null, "standardAccount": "*25519", - "website": null + "website": "https://www.substratee.com" }, { "prefix": 16, @@ -143,7 +143,7 @@ "symbols": ["KLP"], "decimals": null, "standardAccount": "*25519", - "website": null + "website": "https://kulupu.network/" }, { "prefix": 17, @@ -240,9 +240,9 @@ "network": "centrifuge", "displayName": "Centrifuge Chain", "symbols": ["RAD"], - "decimals": null, + "decimals": [18], "standardAccount": "*25519", - "website": null + "website": "https://centrifuge.io/" }, { "prefix": 42, From d242599f722bd2ed481d5897297a6aba95e2044d Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Tue, 15 Sep 2020 22:07:09 +0200 Subject: [PATCH 09/10] add KLP decimals --- ss58-registry.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ss58-registry.json b/ss58-registry.json index 9935985dfe638..b0f952694b929 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -141,7 +141,7 @@ "network": "kulupu", "displayName": "Kulupu", "symbols": ["KLP"], - "decimals": null, + "decimals": [12], "standardAccount": "*25519", "website": "https://kulupu.network/" }, From 6385d8c4b0251ae466da64900bcdedc19945a2ec Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Wed, 16 Sep 2020 08:52:24 +0200 Subject: [PATCH 10/10] add acala and laminar info --- ss58-registry.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index b0f952694b929..db3ab18d9854f 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -86,37 +86,37 @@ "prefix": 8, "network": "karura", "displayName": "Acala Karura Canary", - "symbols": null, - "decimals": null, + "symbols": ["KAR"], + "decimals": [18], "standardAccount": "*25519", - "website": null + "website": "https://acala.network/" }, { "prefix": 9, "network": "reynolds", "displayName": "Laminar Reynolds Canary", - "symbols": null, - "decimals": null, + "symbols": ["REY"], + "decimals": [18], "standardAccount": "*25519", - "website": null + "website": ["http://laminar.network/"] }, { "prefix": 10, "network": "acala", "displayName": "Acala", - "symbols": null, - "decimals": null, + "symbols": ["ACA"], + "decimals": [18], "standardAccount": "*25519", - "website": null + "website": "https://acala.network/" }, { "prefix": 11, "network": "laminar", "displayName": "Laminar", - "symbols": null, - "decimals": null, + "symbols": ["LAMI"], + "decimals": [18], "standardAccount": "*25519", - "website": null + "website": ["http://laminar.network/"] }, { "prefix": 12,