cashubtc / cdk

Cashu Development Kit
MIT License
81 stars 39 forks source link

Support LND as LN backend #301

Closed prusnak closed 1 month ago

prusnak commented 2 months ago

Title says it all.

It seems there are multiple forks of crates which can be used to access LND: https://crates.io/search?q=lnd

I think these two might be worth investigating:

thesimplekid commented 2 months ago

I don't have direct experience with either and they both seem like they would cover our needs of interacting with LND for the mint. Since fedimint is a project I know better and their primary gateway target is lnd I would imagine that crate to be well maintained so I would have a mild preference towards the fedimint-tonic-lnd based on that.

prusnak commented 2 months ago

Moksha code for reference: https://github.com/ngutech21/moksha/blob/master/moksha-mint/src/lightning/lnd.rs

It also uses fedimint-tonic-lnd