From 929c1c732acb93b4d8d25550c15fad5d341b5dff Mon Sep 17 00:00:00 2001 From: Kun Date: Tue, 9 Feb 2021 21:53:01 +0800 Subject: [PATCH] Add Crust Network SS58 Address (#8064) * Add Crust Address Format * Add Crust Address Format * Delete extra ss58 json info --- substrate/primitives/core/src/crypto.rs | 3 +++ substrate/ss58-registry.json | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/substrate/primitives/core/src/crypto.rs b/substrate/primitives/core/src/crypto.rs index 5b7505725f..2bd9f5f52e 100644 --- a/substrate/primitives/core/src/crypto.rs +++ b/substrate/primitives/core/src/crypto.rs @@ -576,6 +576,9 @@ ss58_address_format!( (46, "reserved46", "Reserved for future use (46).") Reserved47 => (47, "reserved47", "Reserved for future use (47).") + CrustAccount => + (66, "crust", "Crust Network, standard account (*25519).") + // Note: 48 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 8db6238a9d..1acf358037 100644 --- a/substrate/ss58-registry.json +++ b/substrate/ss58-registry.json @@ -432,6 +432,15 @@ "decimals": null, "standardAccount": null, "website": null + }, + { + "prefix": 66, + "network": "crust", + "displayName": "Crust Network", + "symbols": ["CRU"], + "decimals": [12], + "standardAccount": "*25519", + "website": "https://crust.network" } ] }