Alephium Namespace - Assets

Author Hongchao Liu
Discussions-To https://github.com/ChainAgnostic/namespaces/pull/117
Status Draft
Type Standard
Created 2024-06-20
Updated 2024-06-20
Requires CAIP-2, CAIP-19

Rationale

Tokens are first class citizens on Alephium. Just like the native token ALPH, all tokens on Alephium are managed by UTXOs, which is battle tested for secure asset management.

New tokens are deployed through the deployment of new contracts, with token’s id matching the id of the issuing contract. The process of token issuance is the same for both fungible and non-fungible tokens.

Specification of token id

Token’s id is the same as its issuing contract’s id, which is a 32 bytes blake2b hash encoded as a hex string. It is not specific to a network or a group.

Syntax

Alephium token id represented as 32 byte array encoded as hex string.

Examples

alephium:universal:383bc735a4de6722af80546ec9eeb3cff508f2f68e97da19489ce69f3e703200

References

Copyright and related rights waived via CC0.

Citation

Please cite this document as:

Hongchao Liu, "namespaces/alephium-caip19: Alephium Namespace - Assets [DRAFT]," Chain Agnostic Namespaces, alephium-caip19, June 2024 / June 2024. [Online serial]. Available: https://github.com/ChainAgnostic/namespaces/alephium-caip19.md