lightninglabs / neutrino

Privacy-Preserving Bitcoin Light Client
MIT License
894 stars 182 forks source link

Mobile Support #284

Closed mkohlhaas closed 1 year ago

mkohlhaas commented 1 year ago

Sorry for being ignorant. But what is the preferred way to include neutrino into an Android/iOS app? Is the library designed to be conformant with gomobile?

Kind regards!

guggero commented 1 year ago

Neutrino is a Golang library for all the light client validation code. But it doesn't have its own standalone binary. So you'd use Neutrino in a wallet app that's written in Golang and then use gomobile on that. For example, that's how lnd is using Neutrino. And this is where we generate the mobile bindings for lnd in general: https://github.com/lightningnetwork/lnd/tree/master/mobile

mkohlhaas commented 1 year ago

Cool. Thank you!