> ## Documentation Index
> Fetch the complete documentation index at: https://scaffoldstacks.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Build full-stack dApps on Stacks with auto-generated TypeScript bindings and one-command deployment

# Scaffold Stacks

A Rust-powered CLI (`stacksdapp`) and Next.js template for building full-stack Stacks (Bitcoin L2) dApps — with auto-generated TypeScript contract bindings, a live debug UI, and one-command testnet deployment.

## What is Scaffold Stacks?

Scaffold Stacks provides everything you need to build decentralized applications on the Stacks blockchain. It combines a powerful CLI tool with a modern Next.js frontend template, making it easy to create, test, and deploy smart contracts.

## Key Features

* **Auto-generated TypeScript bindings**: Automatically generate type-safe TypeScript code from your Clarity contracts
* **Live debug UI**: Interactive interface to test contract functions during development
* **One-command deployment**: Deploy to testnet or mainnet with a single command
* **Local development**: Run a full Stacks devnet locally with Docker
* **Contract templates**: Start with pre-built SIP-010 tokens or SIP-009 NFTs

## Quick Start

Get started in 5 steps:

1. Install the CLI
2. Scaffold a new project
3. Deploy to testnet
4. Start the frontend
5. Connect your wallet

<Card title="Get started" icon="rocket" href="/quickstart">
  Follow our 5-step quickstart guide to deploy your first dApp.
</Card>

## Prerequisites

Before you begin, ensure you have:

* Rust 1.75+
* Node.js 20+
* Clarinet
* A Stacks wallet (Leather or Xverse)

<Card title="Check prerequisites" icon="check" href="/prerequisites">
  Verify your development environment is ready.
</Card>

## Developer Workflow

<Columns cols={2}>
  <Card title="Edit contracts" icon="pen-to-square" href="/development">
    Modify Clarity contracts and see live updates.
  </Card>

  <Card title="Add contracts" icon="plus" href="/contracts">
    Create new contracts with templates.
  </Card>

  <Card title="Run tests" icon="flask" href="/testing">
    Test your contracts and frontend.
  </Card>

  <Card title="Deploy" icon="cloud-upload" href="/testnet">
    Deploy to testnet or mainnet.
  </Card>
</Columns>
