Practical overview
When it fits
Use ENS when a development project needs ENS protocol contracts or their compiled artifacts as building blocks, rather than a ready-made interface for managing names.
Who it is for
- Developers integrating ENS lookup or record management into an application.
- Teams building name registration or renewal workflows around ENS contracts.
- Tool builders consuming compiled contract artifacts.
Documented uses
- Query ENS registry data, including domain ownership and resolver information.
- Use resolver contracts in applications that read or update ENS records.
- Build registration and renewal workflows using registrar and controller contracts.
- Import compiled contract artifacts into tooling that does not compile Solidity.
Requirements & limits
The repository is public and specifies an MIT license. The README documents npm package imports and Solidity imports.
- The package exposes registry, resolver, registrar, controller, renewal and pricing-oracle components.
- The registry is described as the starting point for ENS lookups and stores ownership, resolver and TTL data.
- ETH registration uses a commit/reveal process with a minimum delay and expiration window, and requires the appropriate registration fee.
- The README documents setup and test commands using Bun, and deployment workflows using Hardhat.
- The repository describes an L2 Reverse Registrar whose cross-L2 signature functionality depends on a consistent contract address and a specified deployment process.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install the repository and run its test command
Set up a local checkout and invoke the test command documented in the README.
Before you start
- Git
- Bun
Steps
Clone https://github.com/ensdomains/ens-contracts.
Change into the ens-contracts directory.
Run bun i to install dependencies.
Run bun run test.
Expected outcome
The repository is set up locally and its documented test command has been invoked.
Guide limitations
- These are README instructions, not a verified test result.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 9 October 2026
- Original website title
- ensdomains/ens-contracts · Official homepage title · retained in its source language

