Skip to content

Commit

Permalink
Add Social Network (paritytech#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 <sanghera@everhusk.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Github Actions <action@github.com>
  • Loading branch information
4 people authored and hirschenberger committed Apr 14, 2021
1 parent 2446c2c commit fb983dc
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 fb983dc

Please sign in to comment.