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 3 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 @@ -582,7 +582,8 @@ ss58_address_format!(
(65, "aventus", "Aventus Chain mainnet, standard account (*25519).")
CrustAccount =>
(66, "crust", "Crust Network, standard account (*25519).")
// Note: 48 and above are reserved.
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
13 changes: 11 additions & 2 deletions ss58-registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
"standardAccount": null,
"website": null
},
{
{
shawntabrizi marked this conversation as resolved.
Show resolved Hide resolved
"prefix": 65,
"network": "aventus",
"displayName": "AvN Mainnet",
Expand All @@ -459,6 +459,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"
}
shawntabrizi marked this conversation as resolved.
Show resolved Hide resolved
]
}