From 951a033e8dc5a504d12918839d28cbbdac14f783 Mon Sep 17 00:00:00 2001
From: Gautham <Gauthamastro@gmail.com>
Date: Tue, 28 Sep 2021 11:40:40 +0530
Subject: [PATCH] Add Polkadex to SS58 Registry (#9825)

* Add PDEX to SS58 Registry.

* Add PDEX to SS58 Registry.
---
 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 4764a0cac1b..cf7be5f2166 100644
--- a/substrate/primitives/core/src/crypto.rs
+++ b/substrate/primitives/core/src/crypto.rs
@@ -597,6 +597,8 @@ ss58_address_format!(
 		(77, "manta", "Manta Network, standard account (*25519).")
 	CalamariAccount =>
 		(78, "calamari", "Manta Canary Network, standard account (*25519).")
+	Polkadex =>
+		(88, "polkadex", "Polkadex Mainnet, standard account (*25519).")
 	PolkaSmith =>
 		(98, "polkasmith", "PolkaSmith Canary Network, standard account (*25519).")
 	PolkaFoundry =>
diff --git a/substrate/ss58-registry.json b/substrate/ss58-registry.json
index 563cc248db9..7c95f421586 100644
--- a/substrate/ss58-registry.json
+++ b/substrate/ss58-registry.json
@@ -532,6 +532,15 @@
 			"standardAccount": "*25519",
 			"website": "https://manta.network"
 		},
+		{
+			"prefix": 88,
+			"network": "polkadex",
+			"displayName": "Polkadex Mainnet",
+			"symbols": ["PDEX"],
+			"decimals": [12],
+			"standardAccount": "*25519",
+			"website": "https://polkadex.trade"
+		},
 		{
 			"prefix": 98,
 			"network": "polkasmith",
-- 
GitLab