Build a dapp on Chia
एंड-टू-एंड: एक React ऐप स्कैफोल्ड करें, dig-sdk के साथ इन-पेज Chia वॉलेट (window.chia + WalletConnect फॉलबैक) वायर करें, chip35 wasm के ज़रिए एक spend बनाएं और साइन करें, फिर ऑन-चेन डिप्लॉय करें और एक कस्टम डोमेन जोड़ें — हर DIG प्रिमिटिव से गुज़रने वाला एक थ्रेड।
Building spends
Every on-chain action is built by the canonical CHIP-0035 wasm, signed by the user's wallet, and broadcast — the build → sign → broadcast split. Never hand-roll a spend bundle.
CHIP-0035 store-coin spends & delegation
The canonical CHIP-0035 wasm builder constructs every store-coin spend; admin / writer / oracle delegation is the on-chain primitive behind Teams and revocable CI deploy tokens — never hand-rolled.
Concepts & glossary
मुख्य DIG Network entities का वन-पेज इंडेक्स — capsule, store, generation, URN, retrieval key, dig RPC, chia:// protocol, और on-chain anchoring — हर एक को एक बार परिभाषित किया गया और उसके गहन डॉक से लिंक किया गया।
Deploy keys
Give your CI or an agent a revocable key that can publish new versions of your store — but never your wallet seed, and never the power to change ownership. Issue it once in DIGHUb, drop it into CI as DIGSTORE_WRITER_KEY, and revoke it any time.
For integration developers
एक पूरी तरह मशीन-रीडेबल प्लेटफॉर्म — OpenAPI/OpenRPC, एक कैटलॉग्ड एरर टैक्सोनॉमी, लाइव प्राइसिंग, JWKS, प्रति-पेज JSON, और एक टाइप्ड @dignetwork/dig-sdk — ताकि आप बिना मानव प्रोज़ की एक भी लाइन स्क्रैप किए अपने ऐप में एक वॉलेट + सत्यापित reads वायर कर सकें।
For NFT developers
एक पूरा CHIP-0007 collection mint करें जिसकी कला एक टैम्पर-एविडेंट DIG capsule में स्थायी रूप से रहती है — एक एटॉमिक साइन किया गया बंडल, असली रॉयल्टीज़, और ईमानदार ड्रॉप मैकेनिक्स जो कभी वह नकली नहीं दिखाते जो वे अभी तक ऑन-चेन साबित नहीं कर सकते।
How do I… integrate DIG into my app?
The shortest path for integrating developers: connect a wallet, read verified content, build a spend the right way, and deploy from CI — using the typed @dignetwork/dig-sdk and the dig RPC, no prose-scraping required.
L0 · Identity & naming
Layer 0 of the DIG Protocol: store vs capsule vs generation. store_id is the CHIP-0035 singleton launcher id. A store is an ordered sequence of capsules.
L4 · DIG CAT payment & pricing
The DIG CAT TAIL asset id, the treasury inner puzzle hash, 3-decimal units, the dynamic USD-pegged per-capsule amount (no protocol constant), the atomic commit-bundle convention, and its non-enforcement caveat.
L4 · On-chain anchoring (CHIP-0035)
store = a CHIP-0035 singleton; capsule = a singleton update + root-advance. Free mint vs DIG-paid commit, the owner-discovery memo hint, and admin/writer/oracle delegation as the Teams / deploy-token primitive.
L6 · The blind host model
The provider-blindness invariant, serve_blind (framing-only decode), the root-pinned immutable response cache, the *.on.dig.net + custom-domain resolver, the /v1 control plane (CHIP-0002 login, JWT sessions, refresh reuse-detection, action re-auth, GitHub-OIDC CI), and the accept-on-signature push trust model.
L6 · The dig RPC (machine interface)
The dig RPC is THE machine interface of the protocol: JSON-RPC 2.0 over HTTP POST, the full method catalogue, the chunk wire object (chunk_lens first-window-only, NO decoy field), range/window math, error codes incl. -32004, and the node profile vs the network profile.
L6 · Verification, provenance & anchoring
The four ordered integrity gates (merkle inclusion → authenticated decryption → anchored-root pinning → risc0 execution), anchored-root pinning against the CHIP-0035 singleton via coinset.org, the authenticated head, tombstones, the MOCK-by-default risc0 caveat, the freshness contract, and provenance UX surfacing.
Methods
Complete dig RPC method set: dig.getContent, dig.getProof, dig.getCapsule, dig.getManifest, dig.listCapsules, dig.listCollectionItems, dig.getCollection, and service discovery methods.
On-chain anchoring
Wallet seed setup, on-chain costs, funding, anchor status, and chain-verified downloads for DigStore projects.
Store Structure
Store identity via on-chain singleton launcher id, generations as capsules, content root, on-disk layout, and compiled module structure.
The DIG SDK
@dignetwork/dig-sdk — ChiaProvider (injected window.chia + WalletConnect→Sage), DigClient (verified reads), Paywall (pay-to-unlock / NFT-gating), and the canonical CHIP-0035 spends at the /spend subpath.
What is the dig RPC?
JSON-RPC 2.0 के ज़रिए DigStore capsules के लिए नेटवर्क-व्यापी read इंटरफेस; संरचना से ब्लाइंड, बिना भरोसे के सत्यापन योग्य, और किसी भी साइज़ पर स्ट्रीम करने योग्य।