Build on DigiByte
These guides are for people building their own wallets, apps and services on DigiByte. Each one walks through a real feature the way DigiScope itself implements it: Digi-ID passwordless login, reading and issuing DigiAssets, and reading, minting, sending and redeeming DigiDollar. Every step pairs a diagram with the actual code that runs on this site, so you can see the protocol and a working implementation side by side rather than reading an abstract specification.
Nothing here depends on DigiScope. The guides teach against a DigiByte Core node and, where relevant, DigiAsset Core and an IPFS node you run yourself. DigiScope’s code is the worked example, never a service you call. Where DigiScope’s implementation falls short of the ideal — a custodial minting flow, a legacy-address-only verifier — the guide says so plainly, so you can build the better version.
Reading is free and public. Signed-in members at Trust Level 1 or above can take the check at the end of each guide to earn DGB, and completing every guide for a feature earns that feature’s builder badge. Guides are grouped by feature below; each feature also has its own hub page with the concepts, the quests, and a link to try the live feature on DigiScope.
DigiAssets
- Read DigiAssets on any address — Query holdings and asset records from DigiAsset Core, derive the metadata CID from the on-chain SHA-256, fetch bytes from your own Kubo, and serve media without turning your explorer into an XSS or SSRF surface — walked through DigiScope’s asset browser code.
- Issue and transfer a DigiAsset — Pin metadata as a raw leaf, build the 60-byte issuance payload, derive the asset ID from your first input, order the outputs, guard the broadcast, and transfer with the remainder rule — from DigiScope’s builder and the open-source ATB Wallet.
Digi-ID
- Add Digi-ID login to your app (server side) — Issue a one-time challenge, render it as a QR, verify the wallet’s signature in the right order, hand the browser exactly one session, and sweep expired rows — walked through DigiScope’s own code.
- Handle digiid:// in your wallet — Parse the URI, confirm the domain, choose a legacy or per-site SLIP-0013 identity key, sign with DigiByte’s message prefix and a compressed key, and post the callback — from the open-source ATB Wallet.
DigiDollar
- Read DigiDollar state — Normalize cents, micro-USD and block-ages from the node’s DigiDollar RPCs, decode a DD address and its scripthash, and read positional OP_RETURN amounts off zero-value taproot outputs — with the freshness rule a stablecoin dashboard cannot skip.
- Mint, send and redeem DigiDollar — Check the preconditions, price a position with estimatecollateral, mint in cents, send without tripping the fee trap, and redeem all-or-nothing — the position lifecycle and every error the node returns on the way.