# @substrate/ss58-registry

> Registry for SS58 account types

Latest version **1.51.0** (published 2024-10-07) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @substrate/ss58-registry
pnpm add @substrate/ss58-registry
yarn add @substrate/ss58-registry
bun add @substrate/ss58-registry
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.51.0 |
| Published | 2024-10-07 |
| First published | 2022-01-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 75.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 58 |
| Author | Parity Technologies |
| Maintainers | ryan-parity, paritytech, tarikgul, marshacb, imod7, alexandru.vasile, jimmychu0807, paritytech-ci, andreieres, jacogr, kianenigma, joepetrowski, wirednkod, niklasad1, jsdw |

## Links

- npm: https://www.npmjs.com/package/@substrate/ss58-registry
- Repository: https://github.com/paritytech/ss58-registry
- Homepage: https://github.com/paritytech/ss58-registry#readme
- Issues: https://github.com/paritytech/ss58-registry/issues
- npm.io page: https://npm.io/package/@substrate/ss58-registry

## Recent versions

- 1.51.0 (latest) — 2024-10-07
- 1.50.0 — 2024-08-21
- 1.49.0 — 2024-06-21
- 1.48.0 — 2024-05-21
- 1.47.0 — 2024-03-13
- 1.46.0 — 2024-01-22
- 1.45.0 — 2024-01-05
- 1.44.0 — 2023-11-08
- 1.43.0 — 2023-08-16
- 1.42.0 — 2023-08-14
- 1.41.0 — 2023-07-03
- 1.40.0 — 2023-04-27
- 1.39.0 — 2023-02-23
- 1.38.0 — 2023-01-24
- 1.37.0 — 2023-01-06
- … 23 more at https://npm.io/package/@substrate/ss58-registry/versions

## README

# SS58 Registry

[![GitHub license](https://img.shields.io/badge/license-Apache2-green)](#LICENSE) [![GitLab Status](https://gitlab.parity.io/parity/ss58-registry/badges/main/pipeline.svg)](https://gitlab.parity.io/parity/ss58-registry/pipelines)

A list of known [SS58](https://docs.substrate.io/reference/address-formats/) account types as an enum, typically used by the Polkadot, Kusama or Substrate ecosystems.

These are derived from the [json data file](ss58-registry.json) in this repository which contains entries like this:

```js
{
	"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
```
4. Run git stage, commit, push and then raise a pull request.

5. Once the PR has landed, one of the admins can
[create a new release](https://github.com/paritytech/ss58-registry/releases/new).
This will release the new version to [crates.io](https://crates.io/crates/ss58-registry)

## Licensing

Apache-2.0

---
_Source: https://npm.io/package/@substrate/ss58-registry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
