pull down to refresh
31 sats \ 0 replies \ @nout 22 Jan 2022
I like that the unlock stays sticky even if I use the same link later 🍌🍞
reply
11 sats \ 0 replies \ @samsamskies OP 22 Jan 2022
code is here https://github.com/SamSamskies/protected-by-plebpay-example
reply
10 sats \ 1 reply \ @kxdemon 24 Jan 2022 freebie
Will it only work with Strike? Isn't that a KYC thing? What if I don't want it?
reply
10 sats \ 0 replies \ @samsamskies OP 24 Jan 2022
You can pay with any ⚡️ wallet. The invoices are BOLT11 invoices. All proceeds can go directly to any Strike user that you want. For example, if you want to make a paywall and have all proceeds donated to the Human Rights Foundation, you can just go straight here and do that https://www.plebpay.com/create/hrf. If you don't want it, don't use it.
reply
10 sats \ 2 replies \ @samsamskies OP 22 Jan 2022
Updated the code and now this is all you need to include on your site if you want to protect it with a PlebPay paywall. Just replace the PlebPay paywall URL with your own PlebPay paywall URL.
reply
0 sats \ 1 reply \ @samsamskies OP 22 Jan 2022
Deployed a package to npm so disregard previous code snippet. This one is better.
reply
0 sats \ 0 replies \ @samsamskies OP 23 Jan 2022
Forgot to drop the link to the package 😂
https://www.npmjs.com/package/plebpay-utils
reply