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.
Changelog
What changed across the DIG developer surfaces — the digstore CLI, the dig RPC, and the window.chia provider — including breaking changes and the versioning rules for each.
Concepts & glossary
मुख्य DIG Network entities का वन-पेज इंडेक्स — capsule, store, generation, URN, retrieval key, dig RPC, chia:// protocol, और on-chain anchoring — हर एक को एक बार परिभाषित किया गया और उसके गहन डॉक से लिंक किया गया।
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.
For integration developers
एक पूरी तरह मशीन-रीडेबल प्लेटफॉर्म — OpenAPI/OpenRPC, एक कैटलॉग्ड एरर टैक्सोनॉमी, लाइव प्राइसिंग, JWKS, प्रति-पेज JSON, और एक टाइप्ड @dignetwork/dig-sdk — ताकि आप बिना मानव प्रोज़ की एक भी लाइन स्क्रैप किए अपने ऐप में एक वॉलेट + सत्यापित reads वायर कर सकें।
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.
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 pay the uniform capsule price only when you publish.
Status
Where to check the health of the DIG services — the dig RPC (rpc.dig.net), DIGHUb (hub.dig.net), and the resolver (on.dig.net) — plus how RPC and provider versions are signalled.
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 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.
The window.chia provider (specification)
Normative, versioned specification of the window.chia Chia wallet provider — the provider object shape, the EIP-1193-style request contract, every CHIP-0002 method with params/returns/error codes, the connect/202-pending contract, capability discovery, and EIP-6963-style multi-provider discovery.
Using `window.chia` in your app
Detect and use the DIG Browser's injected Chia wallet provider for permission-gated key and signing operations.