From da9c73125f7de646afce2ab7b6d1c9624e52db15 Mon Sep 17 00:00:00 2001 From: Satish Mohan <54302767+smohan-dw@users.noreply.github.com> Date: Tue, 12 Jan 2021 18:54:03 +0530 Subject: [PATCH] Add ss58 version prefix for CORD (from Dhiway) (#7862) * Add ss58 version prefix for CORD * Add ss58 version prefix for CORD --- substrate/primitives/core/src/crypto.rs | 2 ++ substrate/ss58-registry.json | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/substrate/primitives/core/src/crypto.rs b/substrate/primitives/core/src/crypto.rs index 07720b575e..b11cae5036 100644 --- a/substrate/primitives/core/src/crypto.rs +++ b/substrate/primitives/core/src/crypto.rs @@ -496,6 +496,8 @@ ss58_address_format!( (25, "alphaville", "ZERO testnet, standard account (*25519).") SubsocialAccount => (28, "subsocial", "Subsocial network, standard account (*25519).") + DhiwayAccount => + (29, "cord", "Dhiway CORD network, standard account (*25519).") PhalaAccount => (30, "phala", "Phala Network, standard account (*25519).") RobonomicsAccount => diff --git a/substrate/ss58-registry.json b/substrate/ss58-registry.json index a203db2b8e..60d678c0c5 100644 --- a/substrate/ss58-registry.json +++ b/substrate/ss58-registry.json @@ -253,6 +253,15 @@ "standardAccount": "*25519", "website": null }, + { + "prefix": 29, + "network": "cord", + "displayName": "Dhiway CORD Network", + "symbols": ["DCU"], + "decimals": [18], + "standardAccount": "*25519", + "website": "https://dhiway.com/" + }, { "prefix": 30, "network": "phala",