Skip to content

Add polkadot CAIP-19 asset profile - #219

Open
okwme wants to merge 1 commit into
ChainAgnostic:mainfrom
okwme:add-polkadot-caip19
Open

okwme wants to merge 1 commit into
ChainAgnostic:mainfrom
okwme:add-polkadot-caip19

Conversation

@okwme

@okwme okwme commented Sep 14, 2026

Copy link
Copy Markdown

Adds a CAIP-19 asset profile to the existing polkadot namespace. The CAIP-2 profile is already ratified and is not touched.

Who wrote this

I do not represent the polkadot ecosystem. I maintain FAR, an open cross-reference between CAIP-19, CoinGecko and ISO 24165 (DTI) identifiers, which needs a way to name 175 assets on this chain. CASA's README invites profiles added to an existing namespace, so this documents how assets are addressed rather than claiming to speak for anyone. Offered for the polkadot community to correct, adopt or replace.

Asset namespaces

slip44, asset, pool, foreign, nfts, uniques

What this profile establishes

A total collision, not an incidental one. Enumerating the full id spaces on Asset Hub: 762 Assets ids and 84 PoolAssets ids — and every one of the 84 pool ids is also a live Assets id. Assets:56 is UNION; PoolAssets:56 is an AMM share. A profile with a single asset: namespace would mis-resolve every pool share on the chain. Hence one namespace per on-chain index.

Bittensor subnet alpha is deliberately excluded, with reasons: SubnetLimit is 128 and the chain reports TotalNetworks = 129 right now, so the table is full and every new registration recycles a dissolved subnet's netuid — and dissolution removes all its storage. Alpha is also a share in a per-subnet staking pool attached to a hotkey, not an entry in an asset index, so there is no index for a reference to key into. A constructive alternative is offered to the Bittensor community: pin the registration block alongside the slot.

No percent-encoding, deliberately — the profile binds every reference to the on-chain storage key rather than a rendered name, because one live asset's name is 道阻且长,温暖坚定-爱情/love.

Every example was verified against a live node or explorer; anything that could not be verified is marked as such in the document rather than asserted. discussions-to points at 0xcounting/FAR#1.

Adds an asset specification to the existing polkadot namespace, covering 175
assets that a cross-reference project needs to name. The CAIP-2 profile is
unchanged.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant