Skip to main content
Directory structure after stacksdapp new or stacksdapp init.

Contents

Root

Root package.json scripts:

contracts/

Clarinet.toml

Each contract entry includes:
Per-contract settings take precedence for deploy. See Clarity versions.

frontend/

Edit matrix

Environment variables

frontend/.env.local

stacksdapp dev and deploy update network-related env as needed. Frontend hooks, wallet, and signing: Frontend guide

Agent / CI

Root discovery

The CLI walks up from the current directory looking for:
  1. stacksdapp.toml, or
  2. contracts/Clarinet.toml
Standard Clarinet repos (root Clarinet.toml) are normalized on init/upgrade to the nested layout. See Adopt an existing project.

Git hooks

After clone, enable the mnemonic guard:
stacksdapp doctor --strict warns if hooks are not configured.