From b1843097dea235cd03304b5240d0aa8e6e53b6e0 Mon Sep 17 00:00:00 2001 From: Tung Date: Thu, 15 Apr 2021 10:28:38 +0700 Subject: [PATCH 1/4] Add PolkaFoundry, PolkaSmith SS58 address --- primitives/core/src/crypto.rs | 4 ++++ ss58-registry.json | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/primitives/core/src/crypto.rs b/primitives/core/src/crypto.rs index 3479fc28c6358..70184a69bf79c 100644 --- a/primitives/core/src/crypto.rs +++ b/primitives/core/src/crypto.rs @@ -588,6 +588,10 @@ ss58_address_format!( (66, "crust", "Crust Network, standard account (*25519).") SoraAccount => (69, "sora", "SORA Network, standard account (*25519).") + PolkaSmith => + (98, "polkasmith", "PolkaSmith Canary Network, standard account (*25519).") + PolkaFoundry => + (99, "polkafoundry", "PolkaFoundry Network, standard account (*25519).") SocialAccount => (252, "social-network", "Social Network, standard account (*25519).") // Note: 16384 and above are reserved. diff --git a/ss58-registry.json b/ss58-registry.json index 624d0256a81fe..2d1a16f45285f 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -487,6 +487,24 @@ "standardAccount": "*25519", "website": "https://sora.org" }, + { + "prefix": 98, + "network": "polkasmith", + "displayName": "PolkaSmith Canary Network", + "symbols": ["PKS"], + "decimals": [12], + "standardAccount": "*25519", + "website": "https://polkafoundry.com" + }, + { + "prefix": 99, + "network": "polkafoundry", + "displayName": "PolkaFoundry Network", + "symbols": ["PKF"], + "decimals": [12], + "standardAccount": "*25519", + "website": "https://polkafoundry.com" + }, { "prefix": 252, "network": "social-network", From 2f3d25afeb5951a9360659a6619f4eff8a082d5d Mon Sep 17 00:00:00 2001 From: Tung Date: Tue, 18 May 2021 16:44:16 +0700 Subject: [PATCH 2/4] chang decimals to 18 --- ss58-registry.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index 2d1a16f45285f..703e00ae031b7 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -492,7 +492,7 @@ "network": "polkasmith", "displayName": "PolkaSmith Canary Network", "symbols": ["PKS"], - "decimals": [12], + "decimals": [18], "standardAccount": "*25519", "website": "https://polkafoundry.com" }, @@ -501,7 +501,7 @@ "network": "polkafoundry", "displayName": "PolkaFoundry Network", "symbols": ["PKF"], - "decimals": [12], + "decimals": [18], "standardAccount": "*25519", "website": "https://polkafoundry.com" }, From 993706a20bac56ef3e04930b9c09b6d0521aec00 Mon Sep 17 00:00:00 2001 From: akashi6824 Date: Fri, 11 Jun 2021 13:57:20 +0700 Subject: [PATCH 3/4] fix format --- ss58-registry.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index f94be26ebafe1..5c49c20a91e6b 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -505,8 +505,8 @@ "standardAccount": "*25519", "website": "https://manta.network" }, - { - "prefix": 98, + { + "prefix": 98, "network": "polkasmith", "displayName": "PolkaSmith Canary Network", "symbols": ["PKS"], @@ -522,7 +522,7 @@ "decimals": [18], "standardAccount": "*25519", "website": "https://polkafoundry.com" - }, + }, { "prefix": 252, "network": "social-network", From 175bc3fe1a8dafa9af3e7e6060808daa7a67dde7 Mon Sep 17 00:00:00 2001 From: Tung Date: Fri, 11 Jun 2021 14:02:24 +0700 Subject: [PATCH 4/4] fix format --- ss58-registry.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index 5c49c20a91e6b..11fdbc5837109 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -505,8 +505,8 @@ "standardAccount": "*25519", "website": "https://manta.network" }, - { - "prefix": 98, + { + "prefix": 98, "network": "polkasmith", "displayName": "PolkaSmith Canary Network", "symbols": ["PKS"],