Asteroid Protocol Docs
  • Asteroid Protocol Docs
    • Introduction
    • General overview
  • Creators/Artists
    • Getting started for creators/artists
    • Creating your first inscription
    • Creating a collection with the launchpad
    • Creating a token (CFT-20)
    • Join the Asteroid community
  • Collectors
    • Getting started for collectors
  • Developers
    • Getting started for devs
    • The Cosmos Inscriptions Specification
    • Cosmos Fungible Token (CFT-20) Standard
    • Deploy, mint, transfer, trade or bridge CFT-20 tokens
    • Asteroid Protocol API
    • Command line tool
    • Ideas to build on Asteroid Protocol
    • Multisig wallets
    • Enable support for your bridged tokens on Astroport.fi
    • NFT spec
    • Migrating an inscription into a collection
  • References
    • Logo and brand assets
    • Frequently Asked Questions (FAQs)
    • Asteroid timeline
    • Important links
    • Terminology
Powered by GitBook
On this page
  1. Developers

Cosmos Fungible Token (CFT-20) Standard

PreviousThe Cosmos Inscriptions SpecificationNextDeploy, mint, transfer, trade or bridge CFT-20 tokens

Last updated 9 months ago

The CFT-20 token standard describes how to create, mint and transfer fungible tokens using the Asteroid metaprotocol framework. It is derived from the initial BRC-20 idea from Red Phone (one of the authors of this paper) and implementation from . However, it differs in implementation, and takes an approach inspired by , which is under development, as well as the nascent .

The CFT-20 standard is implemented using the Asteroid metaprocotol framework. It relies only on the URN in the memo field with the exception of an optional logo that may be specified when creating a token that uses Asteroid inscriptions.

To create a CFT-20 token, use the following URN:

urn:cft20:{chain-id}@{version};{operation}${param}={value},{param}={value}

The operation values are:

The required parameters are:

To mint a token, anyone can use the following URN:

urn:cft20:{chain-id}@{version};{operation}${param}={value},{param}={value}

The operation values are:

The required parameters are:

To transfer a token, anyone can use the following URN:

urn:cft20:{chain-id}@{version};{operation}${param}={value},{param}={value}

The operation values are:

The required parameters are:

Beyond OTC-based swaps, trading tokens is not currently possible. However, we’re actively exploring possibilities to enable it (see the Marketplace Fees section below for more).

Domo
Casey Rodarmor’s RUNES protocol
CBRC-20 protocol