-
Notifications
You must be signed in to change notification settings - Fork 106
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
Updated Payments
> Requesting
page
#651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good additions, just had some comments. Main thing is that this page is getting really bulky. I'd address this by focusing the page more on UX and less on technical explanations, which can be moved to sub-pages. Better to have a page that makes it easy to parse and get the main steps of the flow, with plenty of options to dig deeper into the parts the reader is interested in.
As mentioned in the comments, I also recommend moving the Home screen image further up, before that design is referenced in the page copy.
I noticed a broken image reference further down the page. Github wouldn't let me add a comment to that line (page too long for the Github review screen). Look for [email protected]
.
There are 464 words on invoice expirations, I think that warrants a dedicated page. Could be a separate PR.
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great works 🚀 left a few minor comments. Also there's a conflict with cached image that should be resolved.
guide/payments/request.md
Outdated
Several not widely supported reusable payments request formats exist. For Lightning, there are [BOLT12 offers](https://bolt12.org/) and AMP invoices. | ||
|
||
On-chain there are reusable payment codes [BIP 47](https://bips.xyz/47) and [xpubs]({{ "/guide/glossary/#extended-public-key-xpub-ypub-zpub" | relative_url }}), which can be used to generate addresses for receiving bitcoin on-chain. Standard addresses can be used but this is advised against due to [privacy concerns]({{ "/guide/payments/privacy/#generate-a-new-address-for-each-on-chain-payment" | relative_url }}). Learn more about these on our [payment request formats]({{ "/guide/payments/request/payment-request-formats/" | relative_url }}) page. | ||
|
||
## Withdrawal request | ||
|
||
Another way a user can request bitcoin is from a withdrawal request. A withdrawal request is a payment request that lets the receiver withdraw bitcoin from another wallet. Unlike previously mentioned payment requests, withdrawal requests are generated by the sender. These can be useful for merchants providing refunds to customers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you're requesting bitcoin
, rather it's a way to receive it
as it's not an action initiated by the received, it's sender that has to create this request for receiver to withdraw, right?
Another way a user can request bitcoin is from a withdrawal request. A withdrawal request is a payment request that lets the receiver withdraw bitcoin from another wallet. Unlike previously mentioned payment requests, withdrawal requests are generated by the sender. These can be useful for merchants providing refunds to customers. | |
Another way a user can receive bitcoin is from a withdrawal request. A withdrawal request is a payment request that lets the receiver withdraw bitcoin from another wallet. Unlike previously mentioned payment requests, withdrawal requests are generated by the sender. These can be useful for merchants providing refunds to customers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah very true! Probably having generating on of these should also be covered in the sending section.
I've discussed with @GBKS about also having a Receiving
page that covers receiving in more detail (mostly LSP stuff) which we could move this part of the page too also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are withdrawals only an LNURL thing or will BOLT 12 also make this possible?
In a way, this is initiated by the receiver. Let's say you deposit 100 sats in some Lightning app, take some actions, and then later want to withdraw your balance. Via LNURL-Withdraw, the app can have a static QR code on your profile that lets you withdraw whenever you want. So the sender still has to make the functionality available, but the receiver initiates the actual payment/withdrawal.
Co-authored-by: Pavlenex <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great update. Just had some minor nitpicks in a few places.
guide/payments/request.md
Outdated
Several not widely supported reusable payments request formats exist. For Lightning, there are [BOLT12 offers](https://bolt12.org/) and AMP invoices. | ||
|
||
On-chain there are reusable payment codes [BIP 47](https://bips.xyz/47) and [xpubs]({{ "/guide/glossary/#extended-public-key-xpub-ypub-zpub" | relative_url }}), which can be used to generate addresses for receiving bitcoin on-chain. Standard addresses can be used but this is advised against due to [privacy concerns]({{ "/guide/payments/privacy/#generate-a-new-address-for-each-on-chain-payment" | relative_url }}). Learn more about these on our [payment request formats]({{ "/guide/payments/request/payment-request-formats/" | relative_url }}) page. | ||
|
||
## Withdrawal request | ||
|
||
Another way a user can request bitcoin is from a withdrawal request. A withdrawal request is a payment request that lets the receiver withdraw bitcoin from another wallet. Unlike previously mentioned payment requests, withdrawal requests are generated by the sender. These can be useful for merchants providing refunds to customers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are withdrawals only an LNURL thing or will BOLT 12 also make this possible?
In a way, this is initiated by the receiver. Let's say you deposit 100 sats in some Lightning app, take some actions, and then later want to withdraw your balance. Via LNURL-Withdraw, the app can have a static QR code on your profile that lets you withdraw whenever you want. So the sender still has to make the functionality available, but the receiver initiates the actual payment/withdrawal.
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
Co-authored-by: Christoph Ono <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, I love the QR code updates.
My main issue is the part about expiries. While I agree with the information, I think it is presented in a way that is a little difficult to parse the context of these payment situations. Also, I appreciate the link to my blog post, but I don't know if that's necessary in this situation. I added a suggested rewrite to address all this.
Co-authored-by: Stephen DeLorme <[email protected]>
Co-authored-by: Stephen DeLorme <[email protected]>
Just did another review. Looks really good. I think we discussed this before, but the page is really long. We should split out "Receiving bitcoin" to a dedicated page, which would then allow us to go more in-depth on that aspect. Also think we need to do a light revision for consistency once this PR and the one for the Activity page are merged. |
Yep agree, I'll get the LSP page done and then we can get on to that as I think it'll reference it quite a bit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. I echo the sentiments that the page is getting kind of long and it might be worth breaking out into subpages. That could be handled in another PR. Open to discussion. But in terms of content, I approve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work, really in-depth and I really like the structure. Agreed with others that we potentially should think about breaking this down into smaller sections, but for now, it looks good to go, LFG 🚀
Agreed, now that this and activity page pr are merged, do you want to open up an issue so we can do the cleanup on what's needed? |
Closes #641
Closes #640
Closes #663
Closes #653
Live preview