Skip to content

Add aptos CAIP-19 asset profile - #218

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

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

Conversation

@okwme

@okwme okwme commented Sep 14, 2026

Copy link
Copy Markdown

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

Who wrote this

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

Asset namespaces

slip44, coin, aip21, aip11, tokenv1

What this profile establishes

Two namespaces for Coin and Fungible Asset, not one. They are different reference grammars (type tag vs bare address), and merging them would assert an equivalence the chain does not guarantee. Proven in both directions on chain: paired_metadata<AptosCoin>0xa, paired_coin(0xa) → module hex decoding to aptos_coin. But the inverse failspaired_coin for Circle's USDC returns empty, because it is FA-native. Code assuming every fungible has a Coin type silently drops most new stablecoins.

APT has three identifiers (slip44:637, the Coin type, and aip21:0xa), so the profile sets a canonical one.

Namespaces use AIP numbers following the Stellar profile's cap38/sep41 precedent — fa and ft are illegal at 2 characters.

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 aptos namespace, covering 64
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