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

Allow community members to register their nodes using NFT #275

Open
nionis opened this issue Sep 1, 2022 · 2 comments
Open

Allow community members to register their nodes using NFT #275

nionis opened this issue Sep 1, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request epic

Comments

@nionis
Copy link
Contributor

nionis commented Sep 1, 2022

Description

Once the NFT is sent to the community members, they still need to register their staking address and HOPR address.

Background can be found here: https://github.com/hoprnet/hoprnet/blob/master/NETWORK_REGISTRY.md
and in this Google doc

Registration can currently be done via a script when starting a node (example), or by directly interacting with the smart contract, but this is advanced and cumbersome for most users.

Instead, a simple web UI should be created at network-registry.hoprnet.org where people can connect their wallet and register their HOPR peer ID.

UX flow

The tool will:

  • Check that the wallet address has a network registry NFT either staked in the staking contract or unstaked
  • If it is unstaked it will stake it
  • Provide two fields for the user's HOPR node's xDAI address and peerID
  • Throw a warning if the user enters their staking address in this field by mistake (optional but maybe useful)
  • Register the chosen peer ID to the network registry
  • Send mHOPR and 0.1 xDAI to the HOPR node xDAI address

Relevant issues

Later versions may want to include more feedback, for example a confirmation of deregistration if a user already has a peerID registered and their NFT only allows a single address to be registered.

Although network-registry.hoprnet.org will be the preferred way to register addresses, we should also document the other options mentioned in the description.

Definition of DONE

When the registration tool is live at network-registry.hoprnet.org and is tested and shown to work.

@nionis nionis added enhancement New feature or request epic labels Sep 1, 2022
@thewanderingeditor thewanderingeditor changed the title [draft] Allow community members to register their nodes using NFT Allow community members to register their nodes using NFT Sep 9, 2022
@thewanderingeditor
Copy link
Contributor

Added more information about expected flow of participation, including sending mHOPR, as discussed in devrel call on Tuesday 5th September

@nionis
Copy link
Contributor Author

nionis commented Sep 15, 2022

You may close this issue once it's completed

@tolbrino tolbrino moved this to backlog in CORE Roadmap Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epic
Projects
No open projects
Status: 📋 backlog
Development

No branches or pull requests

3 participants