A replayable, auditable indexing and read API for ENS, ENSv2, and Basenames.
bigname turns onchain state from Ethereum and Base into a versioned REST API. Its v2
routes cover the supported portions of exact-name profiles, name and
address collections, resolver records and overviews, primary names, history, permissions,
and verified record reads; see the consumer capability matrix
for the exact boundaries. Partial and unsupported results are reported explicitly.
Raw facts are immutable; projections are
rebuildable; v2 verified reads use the schema-v2 lookup engine without writing reusable
outcomes or durable execution traces.
apps/api— the read API (/v1/...,/healthz)apps/phase-runner— the ingest, interpret, project, verify, and live phase supervisorcrates/— domain types, storage, manifests, schema-v2 adapters, ingest, interpret, lookup, and projection behaviormanifests/— checked-in profile roots such asmainnetandsepolia, split by chain combocrates/storage/schema/— the fresh database baseline and schema regression fixturesmigrations/— append-only SQLx history and upgrades for existing databasesscripts/— development and CI checks, includingscripts/check-schematests/e2e/— contract-backed scenarios and the retained restore exerciseops/— operational SQL and monitoring configurationdocs/— current contracts and runbooks; historical plans live indocs/internal/archive/site/— the landing page and API reference, a static site hosted apart from the API, with a mainnet/Sepolia network switcher
For a fresh, disposable local database:
cp .env.example .env
# Edit local settings before loading them.
set -a
. ./.env
set +a
docker compose up -d --wait
cargo phase init-schema
./scripts/dev-upThe sample configuration starts only the API, on 127.0.0.1:3000. Use /v1
routes for REST and /healthz for readiness. To run indexing too, complete the
phase-runner configuration, including its
separate SELECT-only verification login, before starting dev-up.
init-schema refuses a nonempty schema. For a retained database, follow the
upgrade procedure instead of initializing
it again.
Useful one-shots, with the environment loaded:
cargo api servecargo phase init-schemacargo phase redo --help
Set BIGNAME_API_CHAIN_RPC_URLS for schema-v2 verified ENS resolution and
ENS/60 primary-name lookup. The phase runner owns ingest, interpret, project,
verify, and continuous live follow. See docs/development.md.
Published as ghcr.io/ensdomains/bigname when a vMAJOR.MINOR.PATCH[-PRERELEASE]
tag is pushed on a commit on main whose CI passed. Each image is tagged with
the release tag and the short commit sha; :latest moves only for releases
without a pre-release suffix. The image entrypoint takes a service
name (api, phases, or phases-migrate). The one-time phases-migrate
command installs schema-v2 into an empty bigname_phase namespace in that
same database.
For server deployment:
cp .env.server.example .env.server # configure credentials, image and capacity inputs
# Set a positive disk floor, pre-create the dedicated probe directory, and
# choose a memory ceiling per service.
# Complete docs/runbooks/production-docker.md#capacity-preflight before starting.
docker compose --env-file .env.server -f docker-compose.server.yml up -dThe compose file leaves api and phase-runner as long-running services.
Apply reviewed versioned migrations at the deployment boundary before starting
the new image; the deleted worker migration command is no longer available.
See docs/deployment.md and docs/production.md for the public-edge stack.
Start with docs/architecture.md for the model — with docs/glossary.md beside it for any project-specific term — then dive into the area you care about:
docs/api-v1.md— the read contract; per-route reference indocs/api-v1-routes.mddocs/storage.md— schema and write ownershipdocs/manifests.md— source manifests and discoverydocs/chain-intake.md— block intake, lineage, reorgs, backfilldocs/projections.md— current-state read modelsdocs/execution.md— verified resolution and primary namesdocs/consumer-capabilities.md— what each capability coversdocs/development.md,docs/deployment.md,docs/production.md,docs/runbooks/— running itdocs/upstream.md— pinned upstream refs and intentional divergencesdocs/adrs/— architecture decisions
Internal planning notes (implementation sequencing, parallel workstreams) live under docs/internal/ and are not required reading to use or deploy bigname.
- schema-v2
interpretwrites identity rows, discovery edges, and normalized events; adapters provide interpretation behavior, not projection writes - the API reads projections and request-scoped schema-v2 lookup output, not raw facts
- raw facts are immutable, projections are rebuildable, and provider lookup responses are not retained
- update the relevant doc before changing public semantics, shared IDs, manifest schema, or coverage meaning