Miden Smart Contracts
This section is the complete reference for building smart contracts on Miden using Rust and the Miden SDK. If you're new to Miden, follow the hands-on Miden Bank Tutorial.
All Miden Rust contracts compile under these constraints: #![no_std], Rust 2024 edition.
Core concepts
State & codeProgrammable messagesExecutionComposition
Accounts
Components, storage, custom types, operations, cryptography, and authentication.
Notes
Programmable UTXOs for asset transfers.
Transactions
Transaction context, scripts, and the advice provider.
Cross-component calls
Calling methods across account components and from note scripts.