blockful-io / external-resolver-dapp

https://external-resolver-dapp.vercel.app
2 stars 2 forks source link

feat: Register Subdomain via Arbitrum Sepolia Resolver #199

Closed eduramme closed 1 month ago

eduramme commented 1 month 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

pikonha commented 1 month ago

unblocked by #193 even though it isn't merged lol

pikonha commented 1 month ago

I'm able to register a subdomain of arb.eth but I cannot change its records after registered

Image

pikonha commented 1 month ago

apparently, this is expected and is being handled by #198 then I approve it ✅