Skip to main content

Programmable Tokens

Issue stablecoins and securities on Cardano with transfer rules built into the token.

Every transfer is checked against the issuer's rules, such as a denylist or KYC status. Modules can add freeze and seize.

A published standard
CIP-113 is merged into the CIPs repository.
Read CIP-113
Audited
The reference implementation has been security-audited, and the reports are public.
Audit reports
Recognized by CMTA
CMTA, the Swiss standards association for tokenized securities, recognizes the CMTA reference module for tokenized shares.
The recognition

Built from modules

Every programmable token uses the same core smart contracts. Its rules come from a module, a separate set of smart contracts written for one use case, which can be audited on its own.

Tokenized securities

Company shares issued as a native token.

CMTA is the Swiss association that sets standards for issuing and trading securities as tokens. It recognized this audited module for tokenized shares. An issuer can use it when applying for the CMTA Tokenized Shares certification mark, and the recognition sets four conditions for each deployment.

CMTA reference
  • KYC-gated transfers
  • Sanctions denylist
  • Global pause
  • Forced transfers
  • Supply caps
  • Role-based permissions

Regulated stablecoins

Freeze and seize on a native token.

The issuer keeps a denylist on chain. A holder on the list cannot transfer, and the issuer can seize that holder's tokens. The module is a working example to start from.

Freeze and Seize
  • Denylist checked on every transfer
  • Freeze and unfreeze
  • Seize

Your own rules

Write a module for any other asset.

A module is up to four smart contracts, one each for minting, transfers, third-party actions and holders restructuring their own UTxOs. The token's registry entry names them, and the core smart contracts require the matching one to run with each action.

registry_node.ak
pub type RegistryNode { // The token's policy ID key: ByteArray, // The next entry in the registry next: ByteArray, // Who can mint and burn minting_logic_script: Credential, // Which transfers pass transfer_logic_script: Credential, // Third-party actions, such as seizure third_party_logic_script: Credential, // Holders restructuring their own UTxOs unfracking_logic_script: Credential, // Optional state, such as a denylist global_state_cs: ByteArray, }
Brale

Brale's API issues fiat-backed USD stablecoins on Cardano mainnet and testnet. Its Cardano support is built on CIP-113.

Brale in Builder Tools

What changes from a native token

A programmable token is still a native asset that the holder controls. What it adds is issuer control after minting.

Native tokenProgrammable token
Native assetThe ledger tracks it under its own policy ID, like any Cardano token.✓✓
Self-custodyNo custodian holds the tokens. A transfer needs the holder's own signature.✓✓
Control at mint and burnThe issuer decides who can mint and burn.✓✓
Transfer restrictionsEvery transfer has to pass the issuer's rules, such as a denylist or a KYC check.·✓
Freeze and seizeIf the token's module allows it, the issuer can block a holder's transfers or move their tokens without their signature.·✓
Upgradeable rulesIn the reference implementation, the issuer can replace a token's rules after issuance. Addresses and policy IDs stay the same.·✓

How a transfer works

The holder signs one transaction. It is valid only if three conditions are met.

  1. The core smart contracts run

    A holder's tokens sit at a smart wallet address, made of one smart contract shared by every holder and the holder's own key. Spending from that address requires the core smart contracts to run, so no transfer can bypass them.

  2. The holder signed

    The transaction carries the holder's signature, and every token output goes to a smart wallet address.

  3. The issuer's rules pass

    The core smart contracts look up the token in the registry and require its transfer logic to run. A denylist check is one example.

transfer transaction
// The sender's tokens inputs: addr(programmable_logic_base, sender) // The recipient's smart wallet address outputs: addr(programmable_logic_base, recipient) // Zero-ADA withdrawals run the checks withdrawals: programmable_logic_global transfer transfer_logic_script // Read, not spent reference_inputs: protocol parameters the token's registry node // The holder's key signatories: sender

Build with programmable tokens

Read the docs, then the standard itself.