42 stable releases

1.47.0 Mar 13, 2024
1.44.0 Nov 8, 2023
1.41.0 Jul 3, 2023
1.39.0 Feb 23, 2023
0.0.1 Oct 7, 2021

#1367 in Magic Beans

Download history 38225/week @ 2023-12-18 16900/week @ 2023-12-25 27105/week @ 2024-01-01 41313/week @ 2024-01-08 47524/week @ 2024-01-15 46321/week @ 2024-01-22 43004/week @ 2024-01-29 45384/week @ 2024-02-05 49399/week @ 2024-02-12 51645/week @ 2024-02-19 49520/week @ 2024-02-26 43415/week @ 2024-03-04 46238/week @ 2024-03-11 51979/week @ 2024-03-18 46974/week @ 2024-03-25 64146/week @ 2024-04-01

211,408 downloads per month
Used in 590 crates (5 directly)

Apache-2.0

31KB
601 lines

SS58 Registry

GitHub license GitLab Status

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,                       // unique u16
	"network": "astar",                // unique no spaces
	"displayName": "Astar Network",    //
	"symbols": ["ASTR"],               // symbol for each instance of the Balances pallet (usually one)
	"decimals": [18],                  // decimals for each symbol listed
	"standardAccount": "*25519",       // Sr25519, Ed25519 or secp256k1
	"website": "https://astar.network" // website or code repository of network
},

Process

  1. Fork and clone this repo.

  2. Add an additional account type to ss58-registry.json (contiguous prefixes are better).

  3. Bump the minor (middle) version number of the Cargo.toml by running:

cargo install cargo-bump && cargo bump minor
  1. Run git stage, commit, push and then raise a pull request.

  2. 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

Dependencies

~5–255KB