[BREAKGLASS] Append-only mirror of github.com/bluewallet/rn-lnd
Go to file
marcosrdz 36886f1d9d func
2021-01-05 20:55:53 -05:00
.circleci chore: initial commit 2020-12-26 18:00:33 +00:00
android feat: android done 2020-12-30 17:25:49 +00:00
example swift methods 2021-01-04 22:30:42 -05:00
ios func 2021-01-05 20:55:53 -05:00
scripts chore: initial commit 2020-12-26 18:00:33 +00:00
src swift methods 2021-01-04 22:30:42 -05: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(all): init 2020-12-29 20:25:31 +00:00
README.md Update README.md 2020-12-29 21:21:55 +00:00
rn-lnd.podspec add framework into podfile 2021-01-04 01:11:35 -05:00
RnLndCallbacks.swift func 2021-01-05 20:55:53 -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());

Example app

image

License

MIT