Socket
Socket
Sign inDemoInstall

@substrate/ss58-registry

Package Overview
Dependencies
0
Maintainers
16
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/ss58-registry

Registry for SS58 account types


Version published
Maintainers
16
Weekly downloads
61,938
increased by0.08%

Weekly downloads

Readme

Source

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

FAQs

Last updated on 13 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc