Build a dapp on Chia
End-to-end: scaffold a React app, wire the in-page Chia wallet (window.chia + WalletConnect fallback) with the dig-sdk, build and sign a spend via the chip35 wasm, then deploy on-chain and add a custom domain — one thread through every DIG primitive.
CLI tutorial
Full walkthrough of the DigStore CLI: initialize a project, commit files, and read content back. The parallel track to the web-first quickstart.
Concepts & glossary
One-page index of the core DIG Network entities — capsule, store, generation, URN, retrieval key, the dig RPC, the chia:// protocol, and on-chain anchoring — each defined once and linked to its deep doc.
Conformance & Security
Blind serving model, decoy streams, CORS, caching, rate limiting, and conformance checklist for dig RPC endpoints.
Deploy from GitHub Actions
Auto-publish your built site or dapp to your existing DIG store on every push with the dig-network/deploy-action — git-push-to-deploy, with a PR comment + GitHub deployment status.
DIG Network
Overview of the DIG Network primitives: DigStore for content-addressable publishing, dig RPC for blind hosting and retrieval, and the DIG Browser for content access.
Example gallery
Example DIG dapps you can clone and open in a template — a static site, a wallet-wired React app, and an NFT drop page. Start from working code instead of a blank folder.
FAQ
Frequently asked questions about DIG — what it costs, whether you can iterate for free, how the host can't read your app, custom domains, and updates.
Methods
Complete dig RPC method set: dig.getContent, dig.getProof, dig.getCapsule, dig.getManifest, dig.listCapsules, and service discovery methods.
On-chain anchoring
Wallet seed setup, on-chain costs, funding, anchor status, and chain-verified downloads for DigStore projects.
Part 2 · DFSP
DIG Network Part 2 — the Decentralized File Storage Protocol: availability-audited capsule hosting, paid to serve rather than merely to store.
Part 3 · Digstore
DIG Network Part 3 — the content-addressable WASM store format: immutable capsules, URN-derived keys, ZK execution proofs, and a Git workflow.
Project config & build-time values
The committable dig.toml manifest and how to inject PUBLIC build-time config (RPC endpoint, asset/CAT ids, feature flags) into a dapp — plus the one hard rule: a blind static capsule holds no server secrets.
Quickstart
Ship your first site on DIG — free to build and preview, you only spend 100 DIG when you publish. Web-first path (no wallet to start) plus a parallel CLI track.
Scaffold an app (create-dig-app)
npm create dig-app — scaffold a wallet-wired, deployable DIG app in one command. Five templates (static, vite-react, next-static, nft-drop, dapp-window-chia), all free to build and preview; you spend 100 DIG only when you publish.
Store Structure
Store identity via on-chain singleton launcher id, generations as capsules, content root, on-disk layout, and compiled module structure.
Streaming
Streaming chunk model for byte methods: chunk object structure, 64 KiB alignment, reassembly, proof verification, and reference client loop.
The chia:// protocol & URN scheme
A content-addressed protocol for opening stores and resources directly from the DIG Network, with URN and shorthand forms.
The DigStore WASM Store Format
Architecture of the content-addressable, encrypted WebAssembly store format: identity, generations, URNs, and compiled modules.
Using DigStore in your project
Workflow for initializing projects, managing staging areas, running multiple stores in one workspace, and typical release loops.
Using the public network RPC
Public RPC endpoint usage, portability across nodes, operating your own node, and rate limiting policies.
What is DigStore?
Git-shaped, content-addressable project format with built-in encryption and URN-based addressing; compiles to a single self-defending WebAssembly module.
What is the dig RPC?
Network-wide read interface for DigStore capsules via JSON-RPC 2.0; blind by construction, verifiable without trust, and streamable at any size.
Whitepapers
The DIG Network technical specifications — Consensus, DFSP, and Digstore. Reference reading for protocol developers.