Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sohkai opened this issue Nov 14, 2019 · 0 comments

Comments

@sohkai
Copy link
Contributor

sohkai commented Nov 14, 2019

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)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant