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

Add payment request creation to Buy Names tab #358

Open
JeremyRand opened this issue Feb 7, 2024 · 1 comment
Open

Add payment request creation to Buy Names tab #358

JeremyRand opened this issue Feb 7, 2024 · 1 comment

Comments

@JeremyRand
Copy link
Member

To facilitate trading/gifting pre-registrations, we should make the following GUI changes to the Buy Names tab:

  1. Below the "Register Name..." button, add a "Request Sale/Gift Registration" button next to an "Extra Amount" textbox.
  2. When that button is clicked, call name_new, with an explicit destination address, and unsigned=True, note the output.
  3. Then, the same Request/QR-Code UI that normally appears in the Receive tab should appear, but with an extra commitment field in the URL. This field should be populated with the output of name_new's commitment field (the transaction that name_new produces should be thrown away). The amount field in the URL should be 0.01 NMC plus the "Extra Amount".
@robertmin1
Copy link

Addressed here, might require improvements: #371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants