Agentic
Start with agentic-template, the default full-stack workspace for building Miden apps with a coding agent. Clone its pinned Rust and React subprojects, complete setup, check the installed context, then build and test the counter.
Before you start
You need Git, Bash, curl, and Node.js/npm. Use Node.js 20.19.0+ within the 20.x line for the pinned frontend; the setup script's Node 18 check is less strict than its locked package requirements. The journey also uses Rust/rustup, a compatible midenup, Yarn Classic 1, and Python 3.11+. Review the prerequisites and installer behavior first. Docker with Compose is needed for the real local-node stage.
Start here
Follow these steps in order. The first page includes the recursive clone and working-directory commands before any project checks.
Set up agentic-template
Clone the official workspace with its submodules, review prerequisites, and run setup.
Check your setup
Check the installed toolchain, source pins, package guides, and the instructions your agent reads.
Build your first app
Build the Rust counter, test it with MockChain, and validate it on a disposable local node.
Verify your app
Record the contract, local-node, frontend, and browser results before moving to a network.
Next steps
Troubleshoot
Resolve setup, context, and runtime errors while preserving your keys and stores.
Network handoff
Prepare accounts, endpoints, funding, and success criteria for your target network.
Add agent skills
Add selected knowledge skills when the template and installed package guidance do not cover your task.
Resources
Smart Contracts
Learn the account, note, and transaction model and choose an authoring language.
Tutorials
Extend the counter with focused contract and client examples.
Client SDKs
Use the client APIs and installed package guidance for your app.
Smaller Rust-only and frontend-only templates are optional starting points. You can follow the default journey without choosing between them or installing extra agent skills.
The Rust counter is a local/testnet development path. For mainnet contract authoring, follow the Smart Contracts guidance.