electrum-nmc
electrum-nmc copied to clipboard
Add payment request creation to Buy Names tab
To facilitate trading/gifting pre-registrations, we should make the following GUI changes to the Buy Names tab:
- Below the "Register Name..." button, add a "Request Sale/Gift Registration" button next to an "Extra Amount" textbox.
- When that button is clicked, call
name_new, with an explicit destination address, andunsigned=True, note the output. - Then, the same Request/QR-Code UI that normally appears in the Receive tab should appear, but with an extra
commitmentfield in the URL. This field should be populated with the output ofname_new'scommitmentfield (the transaction thatname_newproduces should be thrown away). Theamountfield in the URL should be 0.01 NMC plus the "Extra Amount".
Addressed here, might require improvements: https://github.com/namecoin/electrum-nmc/pull/371