This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add SS58 Registry #7020
Merged
Merged
Add SS58 Registry #7020
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7794117
add SS58 registry
joepetrowski 400a018
formatting
joepetrowski c071a23
description -> displayName
joepetrowski 3a24ef3
Update ss58-registry.json
joepetrowski 3dd4daa
make numbers literal, tokens can have different denominations
joepetrowski 72fcca5
merge remote changes
joepetrowski f0d7f61
add dock
joepetrowski 83e6afe
add dark
joepetrowski fdfe5b8
Merge remote-tracking branch 'origin' into joe-ss58-registry
joepetrowski 0c5f4c3
add websites and tokens
joepetrowski d242599
add KLP decimals
joepetrowski 6385d8c
add acala and laminar info
joepetrowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,302 @@ | ||
| { | ||
| "specification": "https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)", | ||
| "schema": { | ||
| "prefix": "The address prefix. Must be an integer and unique.", | ||
| "network": "Unique identifier for the network that will use this prefix, string, no spaces. To integrate with CLI tools, e.g. `--network polkadot`.", | ||
| "displayName": "The name of the network that will use this prefix, in a format friendly for display.", | ||
| "symbols": "Array of symbols of any tokens the chain uses, usually 2-5 characters. Most chains will only have one. Chains that have multiple instances of the Balances pallet should order the array by instance.", | ||
| "decimals": "Array of integers representing the number of decimals that represent a single unit to the end user. Must be same length as `symbols` to represent each token's denomination.", | ||
| "standardAccount": "Signing curve for standard account. Substrate supports ed25519, sr25519, and secp256k1.", | ||
| "website": "A website or Github repo associated with the network." | ||
| }, | ||
| "registry": [ | ||
| { | ||
| "prefix": 0, | ||
| "network": "polkadot", | ||
| "displayName": "Polkadot Relay Chain", | ||
| "symbols": ["DOT"], | ||
| "decimals": [10], | ||
| "standardAccount": "*25519", | ||
| "website": "https://polkadot.network" | ||
| }, | ||
| { | ||
| "prefix": 1, | ||
| "network": "reserved1", | ||
| "displayName": "This prefix is reserved.", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": null, | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 2, | ||
| "network": "kusama", | ||
| "displayName": "Kusama Relay Chain", | ||
| "symbols": ["KSM"], | ||
| "decimals": [12], | ||
| "standardAccount": "*25519", | ||
| "website": "https://kusama.network" | ||
| }, | ||
| { | ||
| "prefix": 3, | ||
| "network": "reserved3", | ||
| "displayName": "This prefix is reserved.", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": null, | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 4, | ||
| "network": "katalchain", | ||
| "displayName": "Katal Chain", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 5, | ||
| "network": "plasm", | ||
| "displayName": "Plasm Network", | ||
| "symbols": ["PLM"], | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 6, | ||
| "network": "bitfrost", | ||
| "displayName": "Bitfrost", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 7, | ||
| "network": "edgeware", | ||
| "displayName": "Edgeware", | ||
| "symbols": ["EDG"], | ||
| "decimals": [18], | ||
| "standardAccount": "*25519", | ||
| "website": "https://edgewa.re" | ||
| }, | ||
| { | ||
| "prefix": 8, | ||
| "network": "karura", | ||
| "displayName": "Acala Karura Canary", | ||
| "symbols": ["KAR"], | ||
| "decimals": [18], | ||
| "standardAccount": "*25519", | ||
| "website": "https://acala.network/" | ||
| }, | ||
| { | ||
| "prefix": 9, | ||
| "network": "reynolds", | ||
| "displayName": "Laminar Reynolds Canary", | ||
| "symbols": ["REY"], | ||
| "decimals": [18], | ||
| "standardAccount": "*25519", | ||
| "website": ["http://laminar.network/"] | ||
| }, | ||
| { | ||
| "prefix": 10, | ||
| "network": "acala", | ||
| "displayName": "Acala", | ||
| "symbols": ["ACA"], | ||
| "decimals": [18], | ||
| "standardAccount": "*25519", | ||
| "website": "https://acala.network/" | ||
| }, | ||
| { | ||
| "prefix": 11, | ||
| "network": "laminar", | ||
| "displayName": "Laminar", | ||
| "symbols": ["LAMI"], | ||
| "decimals": [18], | ||
| "standardAccount": "*25519", | ||
| "website": ["http://laminar.network/"] | ||
| }, | ||
| { | ||
| "prefix": 12, | ||
| "network": "polymath", | ||
| "displayName": "Polymath", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 13, | ||
| "network": "substratee", | ||
| "displayName": "SubstraTEE", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": "https://www.substratee.com" | ||
| }, | ||
| { | ||
| "prefix": 16, | ||
| "network": "kulupu", | ||
| "displayName": "Kulupu", | ||
| "symbols": ["KLP"], | ||
| "decimals": [12], | ||
| "standardAccount": "*25519", | ||
| "website": "https://kulupu.network/" | ||
| }, | ||
| { | ||
| "prefix": 17, | ||
| "network": "dark", | ||
| "displayName": "Dark Mainnet", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 18, | ||
| "network": "darwinia", | ||
| "displayName": "Darwinia Chain", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 20, | ||
| "network": "stafi", | ||
| "displayName": "Stafi", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 21, | ||
| "network": "dock-testnet", | ||
| "displayName": "Dock Testnet", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 22, | ||
| "network": "dock-mainnet", | ||
| "displayName": "Dock Mainnet", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 23, | ||
| "network": "shift", | ||
| "displayName": "ShiftNrg", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 28, | ||
| "network": "subsocial", | ||
| "displayName": "Subsocial", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 30, | ||
| "network": "phala", | ||
| "displayName": "Phala Network", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 32, | ||
| "network": "robonomics", | ||
| "displayName": "Robonomics Network", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 33, | ||
| "network": "datahighway", | ||
| "displayName": "DataHighway", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 36, | ||
| "network": "centrifuge", | ||
| "displayName": "Centrifuge Chain", | ||
| "symbols": ["RAD"], | ||
| "decimals": [18], | ||
| "standardAccount": "*25519", | ||
| "website": "https://centrifuge.io/" | ||
| }, | ||
| { | ||
| "prefix": 42, | ||
| "network": "substrate", | ||
| "displayName": "Substrate", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": "https://substrate.dev/" | ||
| }, | ||
| { | ||
| "prefix": 43, | ||
| "network": "reserved43", | ||
| "displayName": "This prefix is reserved.", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": null, | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 44, | ||
| "network": "chainx", | ||
| "displayName": "ChainX", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": "*25519", | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 46, | ||
| "network": "reserved46", | ||
| "displayName": "This prefix is reserved.", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": null, | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 47, | ||
| "network": "reserved47", | ||
| "displayName": "This prefix is reserved.", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": null, | ||
| "website": null | ||
| }, | ||
| { | ||
| "prefix": 48, | ||
| "network": "reserved48", | ||
| "displayName": "All prefixes 48 and higher are reserved and cannot be allocated.", | ||
| "symbols": null, | ||
| "decimals": null, | ||
| "standardAccount": null, | ||
| "website": null | ||
| } | ||
| ] | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.