Skip to main content
Deploy your first Stacks dApp to testnet in minutes. No Docker required. Prefer video? Watch the donation jar walkthrough. Prefer a finished app? Clone the example dApps.
Requires Clarinet 3.23+. Verify with stacksdapp doctor before you start.
1

Install the CLI

Or build from source:
2

Scaffold a project

This creates a counter contract (Clarity 6), Next.js frontend, network settings, stacksdapp.toml, and a bundled agent skill.Skip git init with stacksdapp new my-app --no-git.
3

Get testnet STX

  1. Open the Hiro testnet faucet
  2. Add your deployer mnemonic to contracts/settings/Testnet.toml:
Never commit real mnemonics. The pre-commit hook blocks likely seed phrases in Testnet.toml and Mainnet.toml.
4

Deploy to testnet

Preview fees without broadcasting:
Addresses are written to frontend/src/generated/deployments.json.
5

Start the frontend

Opens http://localhost:3000. The Debug Contracts panel lists every contract function with typed inputs.Connect Leather or Xverse set to Testnet. Public functions open a wallet popup; read-only functions call the node directly.
You now have a live Stacks dApp on testnet. Use the debug UI to interact with your contracts.

Next steps

Edit contracts

Modify Clarity contracts and see live updates.

Code generation

Bindings, hooks, watch mode, and ABI cache.

Run tests

Test contracts and frontend.

Local devnet

Docker chain with dev --auto-deploy.