PayButton / paybutton

Accept eCash by adding a donation or buy button to your website.
https://paybutton.org
MIT License
36 stars 19 forks source link

Add support for locking web content #30

Open Klakurka opened 4 years ago

Klakurka commented 4 years ago

Add support for locking web content.

Like this: https://www.reddit.com/r/btc/comments/iw3lgg/this_is_amazing_someone_needs_to_build_a_simple/

Klakurka commented 2 years ago

Likely needs to be done in conjunction with PayButton Server.

vorg-code commented 1 year ago

@Klakurka this seems to be a popup similar to metamask, wallet functionality to be able to transfer funds on the click of a button. Is signing transactions with user's private keys part of the roadmap or did I misunderstand it? Or would the paybutton only be responsible for locking the content and showing the qrcode for the payment, but not the payment itself?

Klakurka commented 1 year ago

This is the server-side task: https://github.com/PayButton/paybutton-server/issues/43

The user's wallet handles the actual payment, but we'd somehow facilitate the locking/unlocking of page content. There's a ton of different ways to do this with pros and cons so it requires discussion (and is likely a pretty big task).

Klakurka commented 8 months ago

We have payment IDs (via OP_RETURN) at our disposal now which could come in handy here.