ExploreTrendingAnalytics
Nostr Archives
ExploreTrendingAnalytics
Juraj48d ago
New project! Are the e-shops you are trying to pay suddenly trying to KYC you for buying alpaca socks with Bitcoin? Yes, that's the new regulation. They should of course go self-custodial, run @a536ab1f…2788bca0 and none of this applies (it only applies to to payment gateways who are providing gateway services for third parties). But running BtcpayServer is not always easy, especially if you are just starting to accept Bitcoin. VPS, docker, running your nodes (although it's possible without). And maybe you don't have people who would run it for you. But since we have @f2456c85…6a12efd9 now, we can do something magical - use Cashu mints' lightning capability to accept Bitcoin, anonymously. And run the payment gateway the same way we run the e-shop - on a $3/month PHP hosting. Enter CashuPayServer - a simplified Lightning gateway, compatible with BTCPayServer Greenfield API (so yes, your WooCommerce, etc. is supported out of the box), by basically unpacking a .zip in your webhost and going through a simple wizard. And if you run Wordpress, it's even easier, because CashuPayServer installs as a plug-in (and if you have BTCPay plug-in as well, it autoconfigures it for you). You can withdraw your Cashu tokens to a lightning address, BOLT-11 invoice, as cashu tokens. You can enable autowithdrawal. Free and open-source. Self-custody possible, if you run your own mint. Autowithdraw lowers the custody risk. Warning, version 0.1-alpha that is out is very alpha, no one besides me in localhost has tested it. I will present it tomorrow at Cashu dev call. Pull requests welcome. And if you want to see the checkout flow for yourself, go to donate section. Links: https://cashupayserver.org/ Repo: https://github.com/jooray/cashupayserver I have also released a few supplemental repos, such as https://github.com/jooray/cashu-wallet-php Yes, I know many people think that PHP sucks. But it's literally unzip and run on the hosting you already have. For anything more sophisticated, run BTCPayServer, it is much better and battle-tested (I run it myself). I created this as a fun project to help small businesses accept Bitcoin without the complexity of running infrastructure. There are a few things this can do out of the box though (even less tested). Some mints can mint you euro and usd tokens. If you are not ready for Bitcoin volatility, and you want certainty of value evaporation of fiat, it is possible. You get the customers that want to pay with Lightning, but get euros or usd. I don't recommend doing that, but it's an option. Again - ⚠️ #reckless. Not battle-tested. Feedback and pull requests wanted. I will probably not add many more features. For features, go to btcpay. Introductory video:
💬 5 replies

Replies (5)

Kuba48d ago
THIS! Not in the phase to implement just now, but wanted to pilot my eshop on BTC before fiat anyway..and now THIS?!!
0000 sats
Sebastix48d ago
PHP 💜 Will look into it, should not be hard to distribute as an package as well? So it can be used with Composer.
0000 sats
Juraj48d ago
Yes, should be possible too, but I haven't looked into it yet.
0000 sats
mleku47d ago
this looks interesting. i've dropped the link to this note to the people i'm working with on a nostr/bitcoin ecom project we might use this in the future. very nice. bookmarking, also.
0000 sats
Rizful.com47d ago
Another option, to escape fiat jail, but not have to leave behind all your Shopify data... https://docs.megalithic.me/BLFS/getting-started
0000 sats