[BREAKGLASS] Append-only mirror of github.com/bluewallet/rn-lnd
Go to file
2021-04-10 03:49:36 -04:00
.circleci chore: initial commit 2020-12-26 18:00:33 +00:00
android chore: bump bundled neutrino bin stuff 2021-03-23 15:59:05 +00:00
example wip 2021-03-08 12:40:48 -05:00
ios Link framework 2021-04-10 03:49:36 -04:00
lib fix: stuff 2021-02-11 15:53:10 +00:00
scripts chore: initial commit 2020-12-26 18:00:33 +00:00
src chore: bump bundled neutrino bin stuff 2021-03-23 15:59:05 +00:00
.editorconfig chore: initial commit 2020-12-26 18:00:33 +00:00
.gitattributes chore: initial commit 2020-12-26 18:00:33 +00:00
.gitignore chore: initial commit 2020-12-26 18:00:33 +00:00
.yarnrc chore: initial commit 2020-12-26 18:00:33 +00:00
babel.config.js chore: initial commit 2020-12-26 18:00:33 +00:00
CONTRIBUTING.md chore(all): init 2020-12-29 20:25:31 +00:00
LICENSE chore: initial commit 2020-12-26 18:00:33 +00:00
package.json chore: wip 2021-02-26 15:14:22 +00:00
README.md chore: wip 2021-02-26 15:14:22 +00:00
rn-lnd.podspec wip 2021-03-08 12:40:48 -05:00
tsconfig.build.json chore: initial commit 2020-12-26 18:00:33 +00:00
tsconfig.json chore: initial commit 2020-12-26 18:00:33 +00:00

rn-lnd

LND for React Native

Installation

npm install rn-lnd

Usage

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());

Installation

  • Android: open android/app/build.gradle and add
    implementation files("../../node_modules/rn-lnd/android/libs/Lndmobile.aar")
    

Example app

image

License

MIT