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

Commit

Permalink
Add Social Network (#8065)
Browse files Browse the repository at this point in the history
* Add Social Network

* Remove TNET

* Update ss58-registry.json

* Update ss58-registry.json

* Update ss58-registry.json

* Add back comment

Co-authored-by: everhusk <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Github Actions <[email protected]>
  • Loading branch information
4 people authored Mar 29, 2021
1 parent c6ba793 commit a2fdd15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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"
}
]
}

0 comments on commit a2fdd15

Please sign in to comment.