📄️ 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.
📄️ 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.
📄️ 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.
📄️ The chia:// protocol & URN scheme
A content-addressed protocol for opening stores and resources directly from the DIG Network, with URN and shorthand forms.
📄️ Using `window.chia` in your app
Detect and use the DIG Browser's injected Chia wallet provider for permission-gated key and signing operations.
📄️ 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.
📄️ Methods
Complete dig RPC method set: dig.getContent, dig.getProof, dig.getCapsule, dig.getManifest, dig.listCapsules, and service discovery methods.
📄️ Streaming
Streaming chunk model for byte methods: chunk object structure, 64 KiB alignment, reassembly, proof verification, and reference client loop.
📄️ Conformance & Security
Blind serving model, decoy streams, CORS, caching, rate limiting, and conformance checklist for dig RPC endpoints.
📄️ Using the public network RPC
Public RPC endpoint usage, portability across nodes, operating your own node, and rate limiting policies.
📄️ The chia:// remote (clone/pull/push)
Git-style remote protocol via chia:// URLs, per-request BLS signing, clone/pull/push operations, and self-hosted node setup.