Example Catalog
This section is organised around things you might be trying to build, not around the language features they happen to use. For the feature reference, see the Language section. Every snippet on these pages is drawn from the tx3 reference examples and compiles against the current parser.
Transfers Send Ada or native assets between parties.
Minting & burning Create new tokens or destroy existing ones.
Vesting & escrow Lock funds in a script and let someone redeem them later under conditions.
Swaps & marketplaces Atomically exchange one asset for another.
UTxO state Encode state into datums; spend a UTxO to advance it, reference one to read it.
Cardano-specific use-cases Stake withdrawals, governance, treasury donations, reference-script publishing.
All examples on GitHub Browse the full set of reference examples in the language repo.