Skip to Content
Remit Docs
Run a holder

Remit on Cloudflare Workers (edge Holder)

An alternative Holder backend: D1 is the read plane, kernels run in Dynamic Workers created per program hash with globalOutbound: null and an empty environment, and the same Rust verifier (as Wasm) does canonicalization, the SQL profile, binding, capacity and result validation.

It serves the native API (/.well-known/remit, /remit/v1/check, /run, /receipts/{id}), accepts the same envelopes and returns the same receipts, so every Sender SDK works against it unchanged.

What is different from the reference Holder ("edge profile")

Reference HolderEdge profile
Read planeDataFusion + policy viewsD1 (SQLite) over Holder-written views; Remit SQL is bound to the catalog and rewritten to those views
PolicyCedardeclared per resource (purposes, columns, max_bits, aggregate_only, groups)
k-thresholds / DPyesnot offered: resources needing them must use the reference Holder
Kernel readsdata-dependent, max_callseach read runs once, with the remit's own params
MeteringfuelCPU ms (Dynamic Worker limits), wall clock; not deterministic fuel
IsolationWasm in a per-trust-domain processV8 isolate per program hash, no outbound network, no bindings
rows orderengine orderengine order; use ORDER BY for stable hashes

Receipts say isolation: "cloudflare-dynamic-worker", so a Sender can refuse it.

On this page