Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

aragonPM: add steps for creating a nested aragonPM instance to reference documentation #196

@sohkai

Description

@sohkai

Assuming the user uses APMRegistryFactory (all of our deployed instances do), let's say we want to deploy open.aragonpm.eth off of an existing aragonpm.eth instance:

  1. Take the parent aragonpm.eth (this should resolve to an APMRegistry), find its ENSSubdomainRegistrar (.registrar())
  2. If not already done, grant an account the ENSSubdomainRegistrar's CREATE_NAME_ROLE
  3. With that account, call .createName() on the registrar to create the new name (sha3(open)) and assign ownership to the APMRegistryFactory contract
  4. Call .newAPM() on the APMRegistryFactory with the new name (sha3(open)) and tld (namehash(aragonpm.eth)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions