Layer 5 · §21 transport & push
Canonical reference:
digstore-remote(axum server + reqwestDigClient) and its crypto/codec indigstore-core/digstore-crypto. This is the transport half of the scheme split:chia://= content addressing;dig://here = the §21 transport locator. Browser/agent reads use the POST JSON-RPC; CLI/peer sync + publishing use these authenticated REST routes.
Under the dual-transport tier model: the §21 GET content routes (content / proof / roots / descriptor) are on the PUBLIC READ tier — anonymous, CORS-enabled, browser-reachable, client-verified, decoy-on-miss. The §21 PUSH / WRITE routes (module/upload, module PUT, module/complete, tombstone) are on the PEER / CONTROL tier — mTLS-authenticated plus the per-request BLS signature below, and never reachable anonymously. See the tier map.
The dig:// transport locator
dig:// is not spoken on the wire — it resolves client-side to https://<host>/stores/<id> (config.rs:89). The 32-byte store id is the wire address.
| You write… | Resolves to… |
|---|---|
dig://<64hex> | https://rpc.dig.net/stores/<64hex> |
dig://<user>@<64hex> | same (user stripped — informational only) |
dig://<host>[:port]/<64hex> | https://<host>[:port]/stores/<64hex> |
dig://<host>/stores/<64hex> | passthrough |