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

feat: rif name util #3

Merged
merged 6 commits into from
Dec 23, 2020
Merged

feat: rif name util #3

merged 6 commits into from
Dec 23, 2020

Conversation

bguiz
Copy link
Owner

@bguiz bguiz commented Dec 22, 2020

What

  • impl rns util + demo test
  • registers a new name if necessary, using FIFSAddrResolver, via makeCommitment and register (via RIF token's transferAndCall)
  • if necessary, calls setResolver to upgrade to "definitive resolver"
  • if necesary, calls setAddr again subsequent to setResolver
  • finally, call setContenthash to either set or update domain to new content

Why

  • add a code-only means to register a .rsk name
    • currently manually using a browser to interact with the rns manager dapp

Refs

@bguiz bguiz merged commit b770ba0 into master Dec 23, 2020
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

Successfully merging this pull request may close these issues.

1 participant