blockful-io / external-resolver

This project aims to scale the Ethereum Name Service (ENS) by consolidating existing patterns and proofs of concept into a unified and production-ready codebase.
MIT License
15 stars 3 forks source link

feat: Register Subdomain via Arbitrum Sepolia Resolver #214

Closed eduramme closed 2 months ago

eduramme commented 2 months ago

Feature Request

Describe the Feature Request

This feature will allow users to register subdomains through the Arbitrum Sepolia resolver. The subdomain registration process should include specifying the owner and registration duration, and use the Arbitrum Sepolia network for confirming the transaction.

Describe Preferred Solution

  1. Update create subdomain modal so it includes a duration field;
  2. Update create subdomain modal so it includes an owner fiel;
  3. Call registerParams function to get needed params for subdomain registration;
  4. Call register function to register a new subdomain;

Please note: this flow was already implemented by @pikonha, please contact him to understand how this shall be done behind the scenes

In the end, the new subdomain registration modal shall look like this:

Captura de Tela 2024-09-23 às 15 09 32

Definition of Done

Related Code

Figma design specs

CreateSubdomainModalContent.tsx