LND for React Native
npm install rn-lnd
import RnLnd from "rn-lnd";
// ...
await RnLnd.start();
await RnLnd.initWallet('gsomgsomgsom', 'abstract rhythm weird food attract treat mosquito sight royal actor surround ride strike remove guilt catch filter summer mushroom protect poverty cruel chaos pattern');
// or await RnLnd.unlockWallet('gsomgsomgsom'); if its not the first run
console.warn(await RnLnd.getInfo());
- Android: open
android/app/build.gradle
and addimplementation files("../../node_modules/rn-lnd/android/libs/Lndmobile.aar")
MIT