{"id":15681061,"url":"https://github.com/coreyphillips/react-native-lightning","last_synced_at":"2026-03-13T10:33:13.479Z","repository":{"id":56301853,"uuid":"211692021","full_name":"coreyphillips/react-native-lightning","owner":"coreyphillips","description":"This library hopes to simplify the process of adding Lightning via LND's Neutrino to any React-Native app.","archived":false,"fork":false,"pushed_at":"2023-05-06T21:47:59.000Z","size":2263,"stargazers_count":11,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-09T23:55:35.583Z","etag":null,"topics":["android","bitcoin","ios","lightning","lightning-network","lnd","lnd-mobile","lndmobile","neutrino","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coreyphillips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-09-29T16:28:37.000Z","updated_at":"2024-04-01T13:57:03.000Z","dependencies_parsed_at":"2025-05-07T10:27:03.556Z","dependency_job_id":"961dfaea-d2a5-419f-abf0-d7cd4830f3c8","html_url":"https://github.com/coreyphillips/react-native-lightning","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/coreyphillips/react-native-lightning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyphillips%2Freact-native-lightning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyphillips%2Freact-native-lightning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyphillips%2Freact-native-lightning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyphillips%2Freact-native-lightning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coreyphillips","download_url":"https://codeload.github.com/coreyphillips/react-native-lightning/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coreyphillips%2Freact-native-lightning/sbom","scorecard":{"id":305010,"data":{"date":"2025-08-11","repo":{"name":"github.com/coreyphillips/react-native-lightning","commit":"5c706b87b00e804ccf5ecf89a8b861f83950f7bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.2,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.0.2 not signed: https://api.github.com/repos/coreyphillips/react-native-lightning/releases/33983862","Warn: release artifact v0.0.2 does not have provenance: https://api.github.com/repos/coreyphillips/react-native-lightning/releases/33983862"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"10 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T21:48:39.324Z","repository_id":56301853,"created_at":"2025-08-17T21:48:39.325Z","updated_at":"2025-08-17T21:48:39.325Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30465434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","bitcoin","ios","lightning","lightning-network","lnd","lnd-mobile","lndmobile","neutrino","react-native"],"created_at":"2024-10-03T16:49:06.010Z","updated_at":"2026-03-13T10:33:13.210Z","avatar_url":"https://github.com/coreyphillips.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-lightning\n\n## [DEPRECATED]\n\n### Please consider using either of the following libraries instead:\n - https://github.com/synonymdev/react-native-lightning\n - https://github.com/LtbLightning/rn-ltbl\n\n:warning: This is pre-alpha software. Please use as your own risk.\n\n### Description\nThis library hopes to simplify the process of adding Lightning via LND's Neutrino to any React-Native app. \n\n### Android Installation:\n\nVideo Walkthrough: [TODO]\n\nIf you have any trouble, please use [this commit](https://github.com/coreyphillips/photon/commit/925510f3515f6bac812d41a49a43d3a0c0981dfe) as a reference to what needs to be changed/added to your project to get everything working.\n\n1. Install Dependencies:\n   ```\n    yarn add react-native-lightning buffer react-native-randombytes react-native-crypto react-native-keychain@4.0.5\n    yarn add -D rn-nodeify\n    yarn install\n    ```\n2. Start the project:\n    \n    `react-native run-android`\n    \n#### Example Usage\n```\nconst lnd = require(\"react-native-lightning\");\nlnd.start();\n```\n    \n### iOS Installation (In Progress)\n\n### Manual (Android/iOS):\n1. `yarn add react-native-lightning buffer react-native-randombytes`\n\n2. Add the following to the end of your postinstall script in yourproject/package.json:\n    - `cd node_modules/react-native-lightning \u0026\u0026 yarn install \u0026\u0026 ./node_modules/.bin/rn-nodeify --install buffer,stream,assert,events,crypto,vm,process --hack`\n \n3. Copy react-native-lightning/src/lnd.config to the following. (Note: Create the directories if they do not exist):\n     - Android - `android/app/src/main/assets/lnd.config`\n     - iOS - `ios/lightning/lnd.config`\n     \n4. Copy necessary files over for Android \u0026 iOS respectively:\n    - Android - Copy LndNativeModule.java \u0026 LndNativePackage.java to `android/app/src/main/java/com/yourproject/` and be sure to replace \"com.rnlightning\" at the top of each file with the name of your own project.\n    - iOS - Copy LndReactModule.h \u0026 LndReactModule.m to `ios/lightning/`.\n     \n5. Generate the Lndmobile.aar \u0026 Lndmobile.framework files.\n    - Option 1 - Generate them locally with lnd v0.9:\n        - To generate these files, please follow the instructions detailed in the README of Lightning Lab's Lightning App [here.](https://github.com/lightninglabs/lightning-app/tree/master/mobile)\n    - Option 2 - Download pre-generated files:\n        - If you do not wish to generate these files locally you can download them [here](https://github.com/coreyphillips/photon/releases/tag/v0.0.1) instead. However, I highly recommend you opt for option 1.\n\n6. Add the Lndmobile.aar \u0026 Lndmobile.framework files to the project:\n    - Add the Lndmobile.aar file to `android/Lndmobile`\n    - Add the Lndmobile.framework file to `ios/lightning`\n\n7. Add `packages.add(new LndNativePackage());` to \"getPackages\" in MainApplication.java just above `return packages`\"\n\n8. For Android you'll need these additional dependencies in `YourProject/android/app/build.gradle`:\n - `implementation 'com.google.protobuf:protobuf-java:3.13.0'`\n - `implementation 'com.android.support:multidex:1.0.3'` \n - Then Add `multiDexEnabled true` under `defaultConfig` in the same gradle file.\n\n9. Start the project:\n    - iOS: `react-native run-ios`\n    - Android: `react-native run-android`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreyphillips%2Freact-native-lightning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoreyphillips%2Freact-native-lightning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoreyphillips%2Freact-native-lightning/lists"}