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

Commit

Permalink
Add Crust Network SS58 Address (#8064)
Browse files Browse the repository at this point in the history
* Add Crust Address Format

* Add Crust Address Format

* Delete extra ss58 json info
  • Loading branch information
badkk committed Feb 9, 2021
1 parent 07a5f29 commit 66cfa92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions primitives/core/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions ss58-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}

0 comments on commit 66cfa92

Please sign in to comment.