Skip to content

Add tezos CAIP-19 asset profile - #223

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

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

Conversation

@okwme

@okwme okwme commented Sep 14, 2026

Copy link
Copy Markdown

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

Who wrote this

I do not represent the tezos ecosystem. I maintain FAR, an open cross-reference between CAIP-19, CoinGecko and ISO 24165 (DTI) identifiers, which needs a way to name 13 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 tezos community to correct, adopt or replace.

Asset namespaces

slip44, fa12, fa2

What this profile establishes

FA2 requires a token_id; FA1.2 must never carry one. TZIP-12 is quoted verbatim: "Token type is uniquely identified on the chain by a pair composed of the token contract address and token ID." Verified on a live multi-asset contract serving uUSD/0, uDEFI/1, uBTC/2, uXTZ/3, uXAU/4 from one address.

An indexer artefact that must not become an identifier: indexers synthesise tokenId: 0 for FA1.2 contracts. Writing that into a reference would be wrong.

An unrepresentable-asset gap, flagged rather than hidden. Michelson nat is unbounded while CAIP-19 caps token_id at 78 characters, and a live contract already has token id 30000000000000. Implementations must fail loudly rather than truncate.

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 tezos namespace, covering 13
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