Skip to content

equilibrium-eosdt/ss58-registry

 
 

Repository files navigation

SS58 Registry

GitHub license GitLab Status

A list of known SS58 account types as an enum.

This is driven from the json data file which contains entries like this:

{
	"prefix": 5,                      // unique u16
	"network": "plasm",               // unique no spaces
	"displayName": "Plasm Network",   //
	"symbols": ["PLM"],               // symbol for each ballance pallet (usually one)
	"decimals": [15],                 // decimals for each symbol listed.
	"standardAccount": "*25519",      // Sr25519, Ed25519 or secp256k1
	"website": "https://plasmnet.io"  // website or github of network
},

(Typically used by the Polkadot, Kusama or Substrate ecosystems.)

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

About

Registry for SS58 account types

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 93.5%
  • Shell 6.5%