Cut your RPC bill
ENSDb snapshots & CLI
ENSDb snapshots and ensdb-cli are planned capabilities that don’t ship yet. This page introduces the value propositions ahead of time - concrete APIs, flags, and release dates are still in flux.
The problem
Section titled “The problem”Standing up a useful ENS index from zero is expensive on two axes: time and money. A full historical backfill across mainnet, Basenames, Lineanames, 3DNS, and friends means hours-to-days of indexing and a heavy RPC bill - every request to your provider, multiplied by every chain, multiplied by every block of history you have to replay. Add a specially configured Postgres on the other side and the cost of “just spin up a fresh ENSDb” stops being a rounding error. That tax is painful for anyone building, prototyping, demoing, or testing - and it hits hardest in exactly the moments where speed matters most.
ENSDb already gives you the live, onchain state of ENS in a plain PostgreSQL database that any language with a Postgres driver can read. The next step is making it trivial - and cheap - to bootstrap and operate that database. That’s what ENSDb snapshots and ensdb-cli are for.
What we’re building toward
Section titled “What we’re building toward”ENSDb snapshots will be portable, versioned packages of an ENSDb instance that anyone can publish or consume. Pull one down, restore it into Postgres, and start querying ENS in minutes instead of waiting on a fresh indexer to catch up - without sending the underlying RPC requests yourself. Then catch up to realtime from your own ENSIndexer whenever you’re ready.
ensdb-cli will be the operator-facing tool around them - the surface where you list indexer instances and their indexing status, generate fresh snapshots, inspect what configuration a snapshot was built with, and clean up schemas you no longer need.
Spin up in minutes, not days
Repeatable CI environments
Confident release reviews
Easier self-hosting
Operate ENSNode like a database
Who this is for
Section titled “Who this is for”- Hackathon teams and prototypers who want a real ENS index right now and don’t want to babysit an indexer overnight.
- Self-hosters standing up new ENSNode instances who’d rather start from a recent snapshot than backfill from genesis.
- CI and testing pipelines that need deterministic ENS state to run repeatable assertions against.
- Maintainers running release reviews who want to diff indexed data across versions to catch unintended regressions before they ship.
- Anyone building specialized ENS services on top of ENSDb who needs faster iteration loops and lower operational cost.
How this complements ENSDb
Section titled “How this complements ENSDb”Snapshots and the CLI sit on top of the ENSDb open standard. Because ENSDb is just Postgres governed by a well-defined schema, snapshots are portable: any ENSDb Writer implementation can produce one, and any ENSDb Reader (or your own code) can consume one.
This is the same foundation that powers ENSNode’s other planned ENSDb capabilities - including Webhooks & events, which reacts to changes in your ENSDb in real time.
What this page is not
Section titled “What this page is not”This page is intentionally light on technical specifics. There is no SDK to call yet, no CLI flag reference, no snapshot file format to integrate against. Those will arrive in dedicated reference docs once the products land.
In the meantime, the goals above are stable enough to plan around. If your project would benefit from any of them, we’d love to hear from you while the design is still flexible.