Skip to main content
Official forkable reference dApps live in github.com/scaffold-stack/Examples. Each one is a complete Stacks project: Clarity contract, tests, generated React hooks, custom Next.js UI, and a live testnet deployment. Start here if you want to run a real app before stacksdapp new, or to copy a custom frontend pattern.
Run stacksdapp inside an example folder (airdrop_product/ or votingapp/), not from the repo root.

Examples

Run on testnet

Contracts are already deployed. You do not need to deploy to try the UI.
1

Start an example

2

Connect a wallet

Open http://localhost:3000. Install Leather or Xverse, switch to Testnet, fund STX from the Hiro faucet, then click Connect.
To customize and deploy under your own address, fork the repo first.

DropClaim

SIP-010 DROP token (6 decimals). One-time claim of 1,000 DROP per wallet. In the UI: claim airdrop, mint extra tokens, transfer DROP. Trait rules for mainnet listing: SIP standards. Full notes: airdrop.md.

StackVote

On-chain proposals with a yes/no vote. One vote per wallet per proposal. In the UI: create a proposal, vote yes or no, refresh tallies. Full notes: voting.md.

Edit and redeploy

From inside the example directory:
Set a testnet-only mnemonic in contracts/settings/Testnet.toml (never commit it), then:
If you bump the contract name (for example voting-v3voting-v4), update hook imports in the custom UI component. Deployment details: DEPLOYMENT.md.