Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add ss58 version prefix for Patract/Jupiter (from PatractHubs) (#7785)
Browse files Browse the repository at this point in the history
  • Loading branch information
atenjin authored Jan 15, 2021
1 parent 946c0e1 commit cfb8157
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions primitives/core/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,10 @@ ss58_address_format!(
(24, "zero", "ZERO mainnet, standard account (*25519).")
AlphavilleAccount =>
(25, "alphaville", "ZERO testnet, standard account (*25519).")
JupiterAccount =>
(26, "jupiter", "Jupiter testnet, standard account (*25519).")
PatractAccount =>
(27, "patract", "Patract mainnet, standard account (*25519).")
SubsocialAccount =>
(28, "subsocial", "Subsocial network, standard account (*25519).")
DhiwayAccount =>
Expand Down
18 changes: 18 additions & 0 deletions ss58-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,24 @@
"standardAccount": "*25519",
"website": "https://zero.io"
},
{
"prefix": 26,
"network": "jupiter",
"displayName": "Jupiter",
"symbols": ["jDOT"],
"decimals": [10],
"standardAccount": "*25519",
"website": "https://jupiter.patract.io"
},
{
"prefix": 27,
"network": "patract",
"displayName": "Patract",
"symbols": ["pDOT", "pKSM"],
"decimals": [10, 12],
"standardAccount": "*25519",
"website": "https://patract.network"
},
{
"prefix": 28,
"network": "subsocial",
Expand Down

0 comments on commit cfb8157

Please sign in to comment.