raspiblitz icon indicating copy to clipboard operation
raspiblitz copied to clipboard

[BonusApp] Cashu

Open geco91 opened this issue 8 months ago • 0 comments

Since a Cashu mint extension is no longer integrated/deprecated in LNbits the RaspiBlitz misses the possiblity to run a Cashu mint. The goal here would be to look into options of alternatives to run a mint and und use LND/CL for a lightning gateway.

The most logical choice seems to run the python based reference mint: https://github.com/cashubtc/nutshell

Looking at the .env both LND or CL can be configured to use as a Lightning Gateway .. using REST and needing the usual macaroon access tokens (should be configured thru systemd pre-start in RaspiBlitz). https://github.com/cashubtc/nutshell/blob/main/.env.example

The management is just CLI based ... so at least for statistics and some basic functions there should be a basic WebUI module.

Also the general question arises how to make the mint publicly available on the internet. Only some Cashu wallets can handle Tor onion-address:port - most rely on clearnet connection. So RaspiBlitz should add Tor hidden service as an additional possibility but should not rely on it as only option.

geco91 avatar Jun 20 '24 13:06 geco91