Pular para o conteúdo principal

9 documentos selecionados com "dig-sdk"

Ver todas os Marcadores

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.

Concepts & glossary

Índice em uma página das entidades centrais da DIG Network — capsule, store, generation, URN, retrieval key, o dig RPC, o protocolo chia:// e a ancoragem on-chain — cada uma definida uma vez e ligada ao seu documento aprofundado.

For integration developers

Uma plataforma totalmente legível por máquina — OpenAPI/OpenRPC, uma taxonomia de erros catalogada, precificação ao vivo, JWKS, JSON por página, e um @dignetwork/dig-sdk tipado — para você conectar uma carteira + leituras verificadas na sua aplicação sem raspar uma única linha de texto humano.

For NFT developers

Minte uma coleção CHIP-0007 inteira cuja arte vive permanentemente em um capsule DIG à prova de adulteração — um único pacote atômico assinado, royalties reais, e mecânicas de drop honestas que nunca simulam o que ainda não conseguem provar on-chain.

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.

Machine-readable surfaces

Every machine-readable entry point: /openrpc.json, /error-codes.json, /llms.txt, /knowledge-graph.json, the sitemap, and per-page schema.org JSON-LD — so an agent integrates DIG without scraping a single line of human prose.

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.

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.