Skip to main content

For NFT developers

Mint a whole CHIP-0007 collection whose art lives PERMANENTLY in a tamper-evident DIG capsule — one atomic signed bundle, real royalties, and honest drop mechanics (reveal / allowlist / phases) that never fake what they can't yet prove on-chain.

The mental model

First put your art into a DIG capsule, then mint NFTs whose data_uris / metadata_uris point at that capsule. The on-chain hashes pin the real bytes — so the art is content-addressed, verifiable, and permanent, not a link that can rot or be swapped.

Spends are never hand-rolled: the canonical CHIP-0035 wasm builder (via @dignetwork/dig-sdk/spend) builds every coin spend, your wallet signs once, and it broadcasts once.

Minting a store is free of $DIG — you pay the uniform capsule price only when a capsule is created (when the art is written into a capsule).

Scaffold a mint page — the nft-drop template

Start from a wallet-wired drop page in one command:

digstore new nft-drop
# or
npm create dig-app@latest my-drop -- --template nft-drop

Scaffold an app

Mint from the CLI

The asset CLI builds the spend via the digstore-chain builders, signs with your wallet seed, and pushes — all --dry-run / --json CI-safe:

digstore did create                          # an issuer DID for attribution
digstore collection create --name "My Drop" # a CHIP-0007 collection
digstore nft mint --data ./art.png --metadata ./meta.json --dry-run
digstore offer make ... # XCH / CAT trades

The nft mint capsule-media path writes the art + CHIP-0007 metadata into a capsule, computes the data/metadata hashes from the real bytes, and sets the URIs to the capsule's chia:// address (with an https gateway fallback). → Command reference

Mint from the web — DIGHUb NFT Studio

Mint a capsule-backed collection in the browser: upload art (written into a capsule), set royalties, and attach a DID for attribution — wallet signs at the end. → DIGHUb ↗

Drops — reveal, allowlist, phases

Drop mechanics are surfaced honestly: what's enforced on-chain today vs. what's an off-chain convenience pending the claim-coin primitive. We never present a guarantee we can't yet prove on-chain.

Build a dapp on Chia for the end-to-end mint thread.

Build spends with the SDK — never hand-roll

Every coin spend is built by the canonical CHIP-0035 wasm and re-exported at @dignetwork/dig-sdk/spend. The flow is always build → sign → broadcast, split so the wallet only ever signs.

Building spends · The DIG SDK

Monetize & gate — the Paywall

The SDK's Paywall composes the provider with the spend builder for pay-to-unlock and NFT / collection-ownership gating — without hand-wiring spends.

The DIG SDK → Paywall

Offers — make / take / show

Trade NFTs for XCH or CATs with digstore offer make | take | show (each --dry-run / --json). → Command reference


Go deeper: the protocol