From e6ab7172fa7b4876d92f1601cf5cf30583270f7b Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Sun, 8 Mar 2020 14:19:51 +0800 Subject: [PATCH 1/2] Add 6 as address type of ss58 for Bifrost Network --- primitives/core/src/crypto.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/primitives/core/src/crypto.rs b/primitives/core/src/crypto.rs index 8fa7c7e7b401b..50f5c94b08af6 100644 --- a/primitives/core/src/crypto.rs +++ b/primitives/core/src/crypto.rs @@ -438,6 +438,8 @@ ss58_address_format!( (2, "kusama", "Kusama Relay-chain, direct checksum, standard account (*25519).") PlasmAccountDirect => (5, "plasm", "Plasm Network, direct checksum, standard account (*25519).") + BifrostAccountDirect => + (6, "bifrost", "Bifrost mainnet, direct checksum, standard account (*25519).") EdgewareAccountDirect => (7, "edgeware", "Edgeware mainnet, direct checksum, standard account (*25519).") KaruraAccountDirect => From b16f8a33bd0d65febd0e93e0ea167f72a9b14634 Mon Sep 17 00:00:00 2001 From: Dengjianping Date: Fri, 18 Sep 2020 17:15:48 +0800 Subject: [PATCH 2/2] Update SS58 configuration for Bifrost --- ss58-registry.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ss58-registry.json b/ss58-registry.json index db3ab18d9854f..31177f6b61911 100644 --- a/ss58-registry.json +++ b/ss58-registry.json @@ -68,10 +68,10 @@ "prefix": 6, "network": "bitfrost", "displayName": "Bitfrost", - "symbols": null, - "decimals": null, + "symbols": ["BNC"], + "decimals": [12], "standardAccount": "*25519", - "website": null + "website": "https://bifrost.finance/" }, { "prefix": 7,