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

Add Social Network #8065

Merged
9 commits merged into from
Mar 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion primitives/core/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,9 @@ ss58_address_format!(
(65, "aventus", "Aventus Chain mainnet, standard account (*25519).")
CrustAccount =>
(66, "crust", "Crust Network, standard account (*25519).")
SocialAccount =>
(252, "social-network", "Social Network, standard account (*25519).")
// Note: 16384 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 @@ -477,6 +477,15 @@
"decimals": [12],
"standardAccount": "*25519",
"website": "https://crust.network"
},
{
"prefix": 252,
"network": "social-network",
"displayName": "Social Network",
"symbols": ["NET"],
"decimals": [18],
"standardAccount": "*25519",
"website": "https://social.network"
}
]
}