[BREAKGLASS] Append-only mirror of github.com/bluewallet/rn-lnd
| .circleci | ||
| android | ||
| example | ||
| ios | ||
| lib | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .yarnrc | ||
| babel.config.js | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| rn-lnd.podspec | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
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.gradleand addimplementation files("../../node_modules/rn-lnd/android/libs/Lndmobile.aar")
Example app
License
MIT
