#assets #hub #polkadot #run-time #parachain #chain #native

no-std asset-hub-polkadot-runtime

Asset Hub Polkadot parachain runtime

8 releases (breaking)

0.13.0 Nov 21, 2023
0.12.0 Nov 2, 2023
0.11.0 Oct 5, 2023
0.10.0 Sep 13, 2023
0.0.0 Jun 20, 2023

#37 in #hub

21 downloads per month

Apache-2.0 and GPL-3.0-only

345KB
3.5K SLoC

Asset Hub Polkadot Runtime

Asset Hub Polkadot is a parachain that provides an interface to create, manage, and use assets. Assets may be fungible or non-fungible.

Renaming

This chain was originally known as "Statemint". You may see references to Statemint, Statemine, and Westmint throughout the codebase. These are synonymous with "Asset Hub Polkadot, Kusama, and Westend", respectively.

Assets

  • Fungibles: Configuration of pallet-assets.
  • Non-Fungibles (NFTs): Configuration of pallet-uniques.

Other Functionality

Native Balances

Asset Hub Polkadot uses its parent DOT token as its native asset.

Governance

As a system parachain, Asset Hub defers its governance (namely, its Root origin), to its Relay Chain parent, Polkadot.

Collator Selection

Asset Hub uses pallet-collator-selection, a simple first-come-first-served registration system where collators can reserve a small bond to join the block producer set. There is no slashing.

XCM

Because Asset Hub is fully under the control of the Relay Chain, it is meant to be a TrustedTeleporter. It can also serve as a reserve location to other parachains for DOT as well as other local assets.

Dependencies

~34–87MB
~1.5M SLoC