SS58 Registry
A list of known SS58 account types as an enum, typically used by the Polkadot, Kusama or Substrate ecosystems.
These are derived from the json data file in this repository which contains entries like this:
{
"prefix": 5,
"network": "astar",
"displayName": "Astar Network",
"symbols": ["ASTR"],
"decimals": [18],
"standardAccount": "*25519",
"website": "https://astar.network"
},
Process
-
Fork and clone this repo.
-
Add an additional account type to ss58-registry.json
(contiguous prefixes are better).
-
Bump the minor (middle) version number of the Cargo.toml
by running:
cargo install cargo-bump && cargo bump minor
-
Run git stage, commit, push and then raise a pull request.
-
Once the PR has landed, one of the admins can
create a new release.
This will release the new version to crates.io
Licensing
Apache-2.0