mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 21:47:56 +00:00
11678fe7cd
- Add /subdomains page listing all 20 PezkuwiChain subdomains - Add Back to Home button to Subdomains page - Create NetworkPage reusable component for network details - Add 7 network subpages: /mainnet, /staging, /testnet, /beta, /alfa, /development, /local - Update ChainSpecs network cards to navigate to network subpages - Add i18n translations for chainSpecs section in en.ts - Add SDK docs with rebranding support (rebrand-rustdoc.cjs) - Add generate-docs-structure.cjs for automatic docs generation - Update shared libs: endpoints, polkadot, wallet, xcm-bridge - Add new token logos: TYR, ZGR, pezkuwi_icon - Add new pages: Explorer, Docs, Wallet, Api, Faucet, Developers, Grants, Wiki, Forum, Telemetry
26 lines
1.3 KiB
Rust
26 lines
1.3 KiB
Rust
//! # Metadata
|
|
//!
|
|
//! The existence of metadata in pezkuwi-sdk goes back to the (forkless) upgrade-ability of all
|
|
//! Substrate-based blockchains, which is achieved through
|
|
//! [`crate::reference_docs::wasm_meta_protocol`]. You can learn more about the details of how to
|
|
//! deal with these upgrades in [`crate::reference_docs::frame_runtime_upgrades_and_migrations`].
|
|
//!
|
|
//! Another consequence of upgrade-ability is that as a UI, wallet, or generally an offchain entity,
|
|
//! it is hard to know the types internal to the runtime, specifically in light of the fact that
|
|
//! they can change at any point in time.
|
|
//!
|
|
//! This is why all Substrate-based runtimes must expose a [`sp_api::Metadata`] api, which mandates
|
|
//! the runtime to return a description of itself. The return type of this api is `Vec<u8>`, meaning
|
|
//! that it is up to the runtime developer to decide on the format of this.
|
|
//!
|
|
//! All [`crate::pezkuwi_sdk::frame_runtime`] based runtimes expose a specific metadata language,
|
|
//! maintained in <https://github.com/paritytech/frame-metadata> which is adopted in the Pezkuwi
|
|
//! ecosystem.
|
|
//!
|
|
//! ## Metadata Explorers:
|
|
//!
|
|
//! A few noteworthy tools that inspect the (FRAME-based) metadata of a chain:
|
|
//!
|
|
//! - <https://wiki.network.pezkuwichain.io/docs/metadata>
|
|
//! - <https://paritytech.github.io/subxt-explorer/>
|