Skip to content

Create subdomains for company members #43

@HabacucMX

Description

@HabacucMX

Feature: Integrated Subdomain Creation for Founders

Description

Currently, the "Founders" card in the ENS Company Names section displays member addresses but lacks a direct mechanism to assign subdomains. This enhancement transforms the card into a functional management tool, allowing founders to define and register subdomains for all members in a single flow.

Proposed UI Changes

  • Founders Card Overhaul: add functional text inputs next to member addresses.
  • Member Input Fields:
    • Placeholder: Light gray text showing a preview of the final result (e.g., member.domain.eth).
    • Context: The input should automatically append or reflect the company's root domain.
  • Batch Action: Add a primary "Create subdomains" button at the bottom of the Founders card.

Mockup Reference

Image

Technical Requirements

1. Backend & Smart Contract Integration

  • Subdomain Controller: Enable the backend logic to interface with the ENS Registry/NameWrapper.
  • Batch Processing: Implement functionality to handle multiple subdomain registrations in a single transaction (or a single Safe proposal).
  • Permissions: Ensure the system verifies the user has the authority to create subdomains under the specific company domain.

2. Frontend Implementation

  • State Management: Track input values for each member address row.
  • Safe Integration: When "Create subdomains" is clicked, trigger a transaction proposal to the connected Multichain Safe.
  • UX: Show a loading state/spinner on the button until the transaction is proposed or confirmed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions