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.
- 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.
- 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.
- 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.
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,
}
BraleBrale's API issues fiat-backed USD stablecoins on Cardano mainnet and testnet. Its Cardano support is built on CIP-113.
Brale in Builder ToolsWhat 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 token | Programmable 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.
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.
The holder signed
The transaction carries the holder's signature, and every token output goes to a smart wallet address.
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.
// 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
Where to start
Try it on a testnet
The reference platform is a web app and backend for registering, minting and transferring tokens with the example modules.
Reference platformWrite a module
The module guide explains the interface and walks through two example modules. A module you write needs its own audit.
Module guideIntegrate a wallet or dApp
The integration guides cover balances, token discovery and transaction building. Check each token's third-party logic before you support it.
Integration guidesReview the regulatory context
The cardano.org overview covers the regulatory frameworks and the institutional case.
On cardano.org