The chia:// protocol
chia:// is the DIG Browser's native address scheme. Paste a chia:// link into the address bar and the browser fetches the content straight from the DIG Network — content-addressed and cryptographically verified — with no web server in the middle. It is the browser-facing front end of DigStore's urn:dig: URN scheme: the same identity, in a form you can type and link. The browser also provides window.chia wallet integration for apps running in the DIG Browser.
dig://The scheme value is chia (it was previously dig); it is otherwise functionally identical. The underlying urn:dig: URN namespace is unchanged — it derives retrieval keys and must stay byte-exact — so only the typed/linked address changed, not the protocol.
Just open a link
For most people there is nothing to learn. A DIG address looks like this:
chia://2855390f…aade/
That opens a store — the DIG equivalent of a website — and shows its home page. Everything you'd expect from a browser works: links, images, JavaScript, and even the built-in wallet. The address bar shows the clean form (chia://<store>/); you never see /index.html.
A few addresses are special, handled by the browser itself:
| Address | Opens |
|---|---|
chia://home | The DIG Browser home page (also the new-tab page). |
chia://wallet | The browser's built-in Chia wallet. |
chia://settings | DIG settings (local cache, etc.) — a deprecated alias the browser rewrites to chrome://settings/dig. |
dig://control | The Control Pane — opened from the dedicated Control Pane button in the toolbar (next to the wallet + shields buttons). It opens full-page in the active tab and manages your local DIG node: if a node is running it shows the management view, otherwise it shows how to install one. Browsing never needs a node. |
Everything else after chia:// is a store id — that is the difference between a special page and on-chain content.
Get the DIG Browser ↗ and open chia://home in the address bar to see these built-in pages live.
Addressing content
A DIG address has up to three parts: which store, which version of it, and which file inside it.
chia://<storeId>/<resource> # latest version of the store
chia://<storeId>:<rootHash>/<resource> # a specific, pinned version
chia://<rootHash>.<storeId>/<resource> # same thing, host-label form
| Part | What it is | Default |
|---|---|---|
storeId | The store's id — a 64-character hex string (the CHIP-0035 DataLayer singleton launcher id). | Required |
rootHash | A 64-character hex id pinning one specific version. Omit it and the browser resolves the store's latest on-chain version. | Latest |
resource | The path of a file inside the store, e.g. about/index.html. Omit it and you get the default file, index.html. | index.html |
So chia://2855…aade/ and chia://2855…aade/index.html open the same page — the browser canonicalizes the default view to chia://2855…aade/ and hides the index.html, exactly like a web server serving /.
Both id parts are case-insensitive and normalized to lowercase. An address whose storeId (or rootHash) is not a valid 64-hex string is rejected as not a DIG address.
Without a rootHash you always get the store's current version — the browser resolves and verifies against the store's chain-anchored tip, not whatever a host claims. Include a rootHash to pin one exact, immutable version (a capsule) that never changes.
The full URN form
chia:// is shorthand. The canonical, portable identity is the DigStore URN, which the browser also accepts directly in the address bar:
urn:dig:<chain>:<storeId>[:<rootHash>][/<resource>]
| Part | Role | Required |
|---|---|---|
urn:dig: | Scheme + namespace (literal) | Required |
<chain> | Chain identifier — always chia | Required |
<storeId> | 64-hex store id | Required |
<rootHash> | Pin a specific version; omit for the latest | Optional |
<resource> | File path within the store; omit for the default (index.html) | Optional |
urn:dig:chia:2855390f…aade/readme.txt # latest version
urn:dig:chia:2855390f…aade:1a2b3c…/readme.txt # pinned version
When you type a URN (urn:dig:…) or a chain-qualified shorthand (chia://chia:<storeId>…), the browser canonicalizes it to the host-bearing form chia://[<rootHash>.]<storeId>/<resource>. Two benefits: it parses as an ordinary URL, and relative subresources (the page's images, scripts, links) resolve against the same store and version automatically.
The URN's grammar is defined once, in DigStore's urn.rs, and is shared byte-for-byte by every implementation (the browser, dig-node, the RPC, the extension).