Skip to content
This repository has been 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 2 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
2 changes: 2 additions & 0 deletions primitives/core/src/crypto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,8 @@ ss58_address_format!(
(46, "reserved46", "Reserved for future use (46).")
Reserved47 =>
(47, "reserved47", "Reserved for future use (47).")
SocialAccount =>
(252, "social-network", "Social Network, standard account (*25519).")
);

/// 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": 252,
"network": "social-network",
"displayName": "Social Network",
"symbols": ["NET"],
"decimals": [18],
"standardAccount": "*25519",
"website": "https://social.network"
}
]
}