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

Noble forwarding addrs #206

Open
grod220 opened this issue Oct 3, 2024 · 1 comment
Open

Noble forwarding addrs #206

grod220 opened this issue Oct 3, 2024 · 1 comment
Labels
ui Related to user interface or ux design

Comments

@grod220
Copy link
Contributor

grod220 commented Oct 3, 2024

Implement the web version in Prax of penumbra-zone/penumbra#4878. Noble launching feature Early Nov.

Follows this userflow:

image

Getting sequence numbers

There are three RPC responses to the register call:

  1. unregistered, no deposits (failure 1)
  2. registered already (failure 2)
  3. unregistered, deposit exists (success)

Should use binary search to find the next available sequence number for user. Prax can store it directly and the latest sequence number can be found on demand with at most 16 RPC requests

Let's say someone has already generated 50 addresses. Any sequence <=50 will result in an RPC success (aka already deposited). Anything >50 will return an error. So we keep splitting the address space in half, checking for success/error until we come down to two (50 success, 51 error).

Proposed design

screenshot_2024-09-24_at_11 50 08___am_720

States to consider:

  • If toggling the noble one, should replace the identicon with Noble icon + Noble address
  • Likely should ditch the incognito icons
  • Have a disable UI state so two can't be toggled at once
  • Requires refactoring this component
  • Needs loading/loaded/error states
@grod220 grod220 added the ui Related to user interface or ux design label Oct 3, 2024
@github-project-automation github-project-automation bot moved this to 🗄️ Backlog in Labs web Oct 3, 2024
@grod220 grod220 moved this from 🗄️ Backlog to 📝 Todo in Labs web Oct 3, 2024
@grod220 grod220 self-assigned this Oct 3, 2024
@TalDerei
Copy link
Contributor

TalDerei commented Oct 21, 2024

maybe this should be moved back into the backlog / blocked – according to henry, "forwarding addresses may have slipped schedule and might be pushed to next year."

@grod220 grod220 moved this from 🛑 Blocked to 🗄️ Backlog in Labs web Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Related to user interface or ux design
Projects
Status: 🗄️ Backlog
Development

No branches or pull requests

2 participants