stacksdapp new, or to copy a custom frontend pattern.
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.
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:contracts/settings/Testnet.toml (never commit it), then:
voting-v3 → voting-v4), update hook imports in the custom UI component.
Deployment details: DEPLOYMENT.md.