Skip to content

2LD registration should be done through ENSjs #262

@pikonha

Description

@pikonha

Feature Request

Currently, second-level domain (2LD) registration in our application is not using the ENSjs library, which is the standard JavaScript library for interacting with the Ethereum Name Service protocol. This creates inconsistency in our codebase and makes maintenance more difficult as we have to maintain our own implementation.

Describe Preferred Solution

Refactor our 2LD registration process to use the ENSjs library. The implementation should:

  1. Replace custom contract calls with ENSjs library methods
  2. Utilize ENSjs for all registration steps:
    • Name availability checks
    • Price calculations
    • Registration transactions
    • Renewal operations
  3. Maintain the same user experience while abstracting the blockchain interaction through ENSjs
  4. Delete all the code that isn't used anymore from the blockchain-txs file

This change will align our implementation with ENS standards, reduce maintenance overhead, and ensure compatibility with future ENS protocol updates.

Affected components

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

🔖 TODO

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions