Arkivate
Arkiv data expires. Arkivate reacts.
Created on 17th October 2026
•
Arkivate
Arkiv data expires. Arkivate reacts.
The problem Arkivate solves
Every Arkiv entity expires, which is the point of Arkiv. But Arkiv emits no expiry event, and a read of a missing entity can't say whether it expired or was deleted. So any app that needs "renew this before it dies", "alert me when it dies" or "tell me when this changes" has to build and run its own detection. And the usual way to automate (a cron job or bot you or a service run) is a single operator who can skip a job without anyone being able to prove it, can be pressured to stop, and sees every rule you automate.
Arkivate is shared, open-source trigger infrastructure for Arkiv. You post a trigger: a condition (on_expiring, on_expire, on_extend, on_delete, on_create, on_silence, on_count) and an action (a notice, Reactivate to keep the data alive, or a private webhook or Telegram alert). An open network of workers watches Arkiv, and the first to act writes a receipt burned to 0x…dEaD, so nobody can delete it, the worker included.
Reactivate extends the entity, creates the receipt and burns it in one atomic transaction, up to a cap you set.
Sealed triggers put only a salted hash on Arkiv. The spec and destination go privately to one worker.
If that worker skips the job, the owner reveals, and anyone can run verify and get SKIPPED: censorship you can prove, not just suspect.
Challenges I ran into
No expiry event, and expired vs deleted is indistinguishable: I built an expiry engine that indexes deadlines from creation and extension events, sweeps them, and confirms at the boundary. A disappearance before the known expiresAt means deleted; otherwise it expired. Measured detection lag: 4 blocks.
Extension attacks: ExpiryExtended doesn't say who extended, so anyone can move a permissionlessExtension deadline. I added a pinned deadline mode that nobody's extension can move.
Multi-worker dedupe without a coordinator: There is no atomic "create if absent", so I rank workers by address with a 12 s slot per rank and use the first receipt as the lock. A 2 s slot produced a duplicate receipt on the testnet; latency is 2.7 to 15.6 s. I tuned the slot from measurements.
Hitting the read quota mid-deploy: detecting expiry takes reads, each worker sweeps deadlines, re-checks receipts before every write and refreshes triggers and peers, and the web app's live pages read through the same access key. The night before the deadline, with both workers deployed and the site live, the access key hit its 1,000,000 cost-unit monthly cap. The site's read proxy logged the rate-limit responses, and the UI showed a "Read quota exhausted" banner while it retried. I requested more usage through the Hub, and Arkiv raised the cap to 2,000,000 within minutes, but that ran out too, and a 429 at startup made both workers crash-loop, re-reading on every restart. Measuring with Arkiv's undocumented Arkiv-Cost response header showed the real rule: every arkiv_query costs a flat 100 units whatever it returns, while arkiv_getEntityCount and eth_* calls are free. So I rebuilt the read path around fewer queries:
free counts as change detectors, and WebSocket events instead of polling;
batched $key IN (…) reads;
one shared, cached snapshot for every site visitor;
backoff on 429 instead of crashing. Usage fell from about 265,000 to about 5,000 units per hour, roughly 50× less (F20).
A privacy leak in my own design: Sealed receipts first stored an unsalted hash of the epoch, which can be brute-forced over public entity keys. Two jobs on the same event produced identical hashes, so I mixed the job's secret salt in.
Link to a twitter post explaining your project (or post with the video)
Tracks Applied (3)
Censorship Resistance
Open Source
Privacy
Technologies used
