Deploy mintable L2 subdomains in minutes with Durin.dev

Over 25,000 people attended ETHDenver this year. Everywhere you looked, developers sat scattered among long tables and inflatable bufficorn mascots, engrossed in dissecting their codebases (not to mention those located at buzzing side events).
If that tells you anything, it's that web3 buidlers are busy buidling.
Speed matters at hackathons. Developers will cut configuration time however they can to maximize interaction with a working project. That's why for leading web3 projects, offering a quick setup solution encourages more devs to build on it.
That fast setup time hasn't always been the case for issuing ENS subdomains on L2s—until Durin.dev.
Launched late in 2024, Durin has seen over 150 contracts deployed through its framework.

Durin.dev: an opinionated approach to issuing L2 subdomains
Before, anyone who wanted to build a project that included issuing ENS subdomains on an L2 like Base or Linea needed expert-level knowledge on ENS infrastructure. There were no guides or opinionated approaches to doing it.
Durin was created as a guide for issuing subnames on an L2. It is an opinionated, open-source framework designed to get devs deploying mintable subdomains in minutes.
The benefits of using Durin
Durin isn’t just about saving time—it’s about empowering developers to innovate with ENS on L2s. With Durin, developers can:
-
-Deploy mintable L2 subdomains in minutes
-
-Use pre-built factory and template contracts
-
-Deploy on Sepolia and Mainnet
-
-Contribute (Durin is open source)
How does Durin work?
Now for more technical talk. At its core, Durin enables the deployment of ENS subdomains as ERC-721 NFTs, meaning they're transferable. By providing education and templates on the key components such as the L2 Registry, L1 Resolver, and L2 Registrar, Durin ensures devs can start minting subnames in as little as a few minutes.

Durin breaks down subdomain deployment into 5 simple steps, mostly involving just pressing a button:
-
1. Deploy the L2 Registry: You are choosing your ENS domain, Sepolia or mainnet, your preferred chain, and deploying a registry by pressing a button.
-
2. Configure L1 Resolver: Two buttons. One for updating your ENS name's resolver and to set a new record.
-
3. Customize Registrar: A customizable template is provided for you on Github. Choose how subnames will be minted by modifying the price or expiration.
-
4. Connect Registrar to Registry: call addRegistrar() on your registry with the address of your deployed registrar to connect the two contracts.
-
5. Done! Mint your first subname.