mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-30 07:29:53 +00:00
Make this monorepo's tracked tree identical to the deployed github repo (github.com/pezkuwichain/pezkuwi-DKS): all RC/AH/People runtimes and framework carry the mainnet fixes (incl. U128CurrencyToVote everywhere, so the staking election stall cannot recur), and tools/usdt-bridge matches the current, public-safe custody tooling (real config/deploy units gitignored, secret-file locations and server IPs stripped, sanitized *.example templates committed). Only exception to the mirror: GitLab-native CI is preserved (.gitlab-ci.yml and .gitlab/), to be rebuilt to match the github CI pipeline in a follow-up.
SS58 Registry
A list of known SS58 account types as an enum, typically used by the Polkadot, Dicle 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 pezpallet (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
-
Fork and clone this repo.
-
Add an additional account type to
ss58-registry.json(contiguous prefixes are better). -
Bump the minor (middle) version number of the
Cargo.tomlby running:
cargo install cargo-bump && cargo bump minor
-
Run git stage, commit, push and then raise a pull request.
-
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