Just listened to BR031 - great episode, can highly recommend.

https://bitcoin.review/podcast/episode-31/

One correction #[0] #[1] : the client-side route contruction in SBW is done by the Immortan LN client - a criminally underrated LN implementation.

Hosted channels have nothing to do with it https://github.com/akumaigorodski/IMMORTAN

Reply to this note

Please Login to reply.

Discussion

I dream of a world where someone just rips out the ledger from SWB forks + Immortan and replaces it with ecash. It would be the ultimate custodial LN wallet.

Hosted channel provider doesn't know where your payments are going + it doesn't even know your balance because it doesn't have you listed as a user.

Imho this should arguably be done in the wallet/app layer.

Think a "Private mode" toggle in LNBits.

"By enabling this setting we will download your sats to your local device. You can still use your wallet as usual, pay invoices etc, but all this is blinded to the server operator. You will be responsible for regularly backing up your fund tokens.

Proceed Y/N?"

Then under the hood some magic would happen to "convert" the user's LNbits lightning wallet to an eCash wallet.

The UI and appearance of all the rest would remain the same. The user should not notice a difference, it's all happening in the back.

Wouldn't this work?