The network
The watchers on duty.
Arkiv emits nothing when a lifetime runs out. Watchers turn that silence into a signed fact: they notice a clock is gone, prove nobody deleted it, and publish their key shares. This list is read live from Arkiv, not from us.
Reading watcher leases from Arkiv…
How a watcher stays on this list
Alive means a lease that exists. Nothing else.
- 01
A lease, not a heartbeat server
Each watcher writes one Arkiv entity with a 10-minute Entity Expiration and renews it with a Lifetime Extension every 3 minutes. Being on this page means that lease exists; nobody reports anyone’s liveness.
- 02
Stop renewing and you vanish
A watcher that crashes or is switched off simply stops extending. Within ten minutes its lease runs out and it drops off this list. Nothing is deleted and nobody has to notice.
- 03
Shares are escrowed per watcher
When a case is filed, the researcher escrows one encrypted share of the advisory key for each watcher it names, in a trigger aimed at that case’s clock. The share is bound to that clock: copied anywhere else, it does not decrypt.
- 04
Any k of n release
One share reveals nothing. When the clock lapses, each watcher proves it and publishes its share; any k of the n rebuild the key, and the watcher that completes the threshold publishes the reveal in the same batch.
Process status
What each watcher says about itself.
Read from each watcher’s own /status endpoint. This is the process talking, not Arkiv: the leases above are the part anyone can verify.
watcher 2
asking…watcher 3
asking…Run your own watcher
One command, one testnet key.
In this demo, the three watchers are run by the project, on three separate machines. That is a convenience of the demo, not a rule of the protocol: a watcher is any wallet that keeps its lease alive and does the job, and anyone can run one. A case names its watchers when it is filed, so yours holds shares for the cases that name it.
- WATCHER_PRIVATE_KEY
- The watcher’s wallet: a Tiramisu testnet key with a little test gas. The key its shares are encrypted to is derived from it (unless WATCHER_ENC_KEY is set), so one secret runs a watcher.
- WATCHER_OPERATOR
- Your label, written to the lease as op.
- WATCHER_REGION
- Where it runs, written to the lease as region.
- ARKIV_ACCESS_KEY
- Optional. An Arkiv access key, for more query budget than the public RPC gives.
- PORT
- Optional. Serves the watcher’s status (address, jobs, head, last tick, uptime) as JSON.
WATCHER_PRIVATE_KEY=0x… \
WATCHER_OPERATOR=your-name \
WATCHER_REGION=eu-west \
PORT=8080 \
npx on-the-clock watchdocker build -f docker/watcher.Dockerfile -t on-the-clock-watcher .
docker run -e WATCHER_PRIVATE_KEY=0x... -e WATCHER_OPERATOR=me -p 8080:8080 on-the-clock-watcherShares live only in memory. On restart the watcher re-reads its job list from Arkiv, the only state it needs. Its lease appears on this page shortly after it starts.