Nhảy tới nội dung

31 tài liệu đã gắn thẻ với "digstore-cli"

Xem tất cả Thẻ

Bắt đầu nhanh

Xuất bản trang web đầu tiên của bạn trên DIG — miễn phí để xây dựng và xem trước, bạn chỉ trả mức giá capsule đồng nhất khi xuất bản. Lộ trình ưu tiên web (không cần ví để bắt đầu) cùng một lộ trình CLI song song.

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.

CLI tutorial

Full walkthrough of the DigStore CLI: initialize a store, commit files, and read content back. The parallel track to the web-first quickstart.

Command reference

Complete command reference for the digstore CLI, including wallet, store, staging, history, content, remote, and maintenance commands.

Dành cho nhà phát triển NFT

Mint một bộ sưu tập CHIP-0007 hoàn chỉnh mà tác phẩm nghệ thuật của nó sống vĩnh viễn trong một capsule DIG chống giả mạo — một bó giao dịch đã ký nguyên tử duy nhất, tiền bản quyền thực, và cơ chế drop trung thực không bao giờ giả vờ những gì chưa thể chứng minh on-chain.

Dành cho nhà phát triển ứng dụng

Xuất bản một website hoặc ứng dụng bạn thực sự sở hữu — được mint on-chain như tài sản của riêng bạn, không phải thuê. Xây dựng và xem trước miễn phí; chỉ trả một mức giá $DIG đồng nhất nhỏ khi xuất bản, với các file được mã hóa ngay trong trình duyệt của bạn nên không host nào có thể đọc chúng.

Deploy from GitHub Actions

Auto-publish your built site or dapp to your existing DIG store on every push with the dig-network/deploy-action — git-push-to-deploy, free PR previews, and a PR comment + GitHub deployment status. Keyless CI auth, no long-lived hub secret.

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.

DIG Network

Tổng quan về các thành phần cơ bản của DIG Network: DigStore để xuất bản theo địa chỉ nội dung, dig RPC để lưu trữ và truy xuất ẩn danh (blind hosting), và DIG Browser để truy cập nội dung.

DigStore là gì?

Định dạng dự án theo phong cách Git, định địa chỉ theo nội dung với mã hóa tích hợp và định địa chỉ dựa trên URN; biên dịch thành một module WebAssembly duy nhất tự bảo vệ chính nó.

Error codes

Every DIG error code in one place: dig RPC JSON-RPC codes, digstore CLI exit codes, and DIGHUb user-facing codes — each with what it means and what to do.

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.

FAQ

Frequently asked questions about DIG — what it costs, whether you can iterate for free, how the host can't read your app, custom domains, and updates.

Get help

Where to get help with DIG — the community Discord, GitHub issues, and how to file a report that gets answered fast.

How do I… use the digstore CLI?

The shortest path through the digstore CLI: install it, scaffold and preview for free, publish a capsule on-chain, share it over a remote, and read it back — each task linked to the page that walks it.

Install on Ubuntu/Debian (apt)

Install dig-node and the digstore CLI on Ubuntu/Debian from the apt.dig.net repository, and run dig-node as a managed systemd service.

Installing the CLI

Download and run the self-contained DigStore CLI installer for Windows, macOS, or Linux; also build from source with Rust.

Khái niệm & thuật ngữ

Danh mục một trang cho các thực thể cốt lõi của DIG Network — capsule, store, generation, URN, retrieval key, dig RPC, giao thức chia://, và việc neo on-chain — mỗi thực thể được định nghĩa một lần và liên kết đến tài liệu chuyên sâu của nó.

L5 · §21 transport & push

The §21 transport: dig:// locator resolution, the REST surface, the JSON-outer / Chia-codec-inner envelope, 2-leg push v1 (inline | presigned), the authenticated head (PUSH_DST), per-request §21.9 auth with exact signing messages, ETag/delta/pull, tombstone revocation, and decoy indistinguishability.

On-chain anchoring

Wallet seed setup, on-chain costs, funding, anchor status, and chain-verified downloads for DigStore projects.

Project config & build-time values

The committable dig.toml manifest and how to inject PUBLIC build-time config (RPC endpoint, asset/CAT ids, feature flags) into a dapp — plus the one hard rule: a blind static capsule holds no server secrets.

Proofs & Security

Merkle proofs, verified downloads, signed roots, revocation, and host attestation for DigStore security.

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.

Sharing over a remote

Publishing stores to remotes, downloading with verification, revoking roots, and understanding public vs. private access models.

Streaming & retrieval keys

Streaming resources by URN or retrieval key, listing keys per deployment, and checking out entire generations.

Troubleshooting

Fixes for the most common DIG failures — funding, confirmation timeouts, push conflicts, verification errors, and wallet/session problems.

URNs & Encryption

URN format and semantics, derivation of retrieval and decryption keys, AES-256-GCM-SIV encryption, and public vs. private store differences.

Using DigStore in your project

Workflow for initializing projects, managing staging areas, running multiple stores in one workspace, and typical release loops.

Xây dựng một dapp trên Chia

Từ đầu đến cuối: dựng khung một ứng dụng React, kết nối ví Chia trong-trang (window.chia + dự phòng WalletConnect) với dig-sdk, xây dựng và ký một giao dịch chi tiêu qua wasm chip35, sau đó triển khai on-chain và thêm một tên miền tùy chỉnh — một luồng duy nhất xuyên suốt mọi thành phần cơ bản của DIG.

Xử lý sự cố — thoát khỏi bế tắc

Mỗi lỗi đều cho bạn một mã ổn định và một request-id gắn thẳng vào log server, các giao dịch chi tiêu on-chain được bảo vệ khỏi tình trạng đua (race-guarded) nên bạn không bao giờ trả tiền hai lần, và các bảo vệ tiền kiểm rõ ràng ngăn lãng phí capsule trước khi bạn chi $DIG.