From a946c3343ecc2e2d814d4581d4f50b249132ffb4 Mon Sep 17 00:00:00 2001 From: Sukhveer Sanghera Date: Mon, 29 Mar 2021 19:18:29 +0200 Subject: [PATCH] Add Social Network (#8065) * Add Social Network * Remove TNET * Update ss58-registry.json * Update ss58-registry.json * Update ss58-registry.json * Add back comment Co-authored-by: everhusk Co-authored-by: Shawn Tabrizi Co-authored-by: Github Actions --- substrate/primitives/core/src/crypto.rs | 3 ++- substrate/ss58-registry.json | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/substrate/primitives/core/src/crypto.rs b/substrate/primitives/core/src/crypto.rs index 95192acc4c..aedfbd7486 100644 --- a/substrate/primitives/core/src/crypto.rs +++ b/substrate/primitives/core/src/crypto.rs @@ -586,8 +586,9 @@ ss58_address_format!( (65, "aventus", "Aventus Chain mainnet, standard account (*25519).") CrustAccount => (66, "crust", "Crust Network, standard account (*25519).") + SocialAccount => + (252, "social-network", "Social Network, standard account (*25519).") // Note: 16384 and above are reserved. - ); /// Set the default "version" (actually, this is a bit of a misnomer and the version byte is diff --git a/substrate/ss58-registry.json b/substrate/ss58-registry.json index 62ed68b792..97b3b064e9 100644 --- a/substrate/ss58-registry.json +++ b/substrate/ss58-registry.json @@ -477,6 +477,15 @@ "decimals": [12], "standardAccount": "*25519", "website": "https://crust.network" + }, + { + "prefix": 252, + "network": "social-network", + "displayName": "Social Network", + "symbols": ["NET"], + "decimals": [18], + "standardAccount": "*25519", + "website": "https://social.network" } ] }