Giter VIP home page Giter VIP logo

lightning-app's Introduction

Lightning Desktop App

This repo houses a cross-platform Lightning desktop app powered by lnd. The application is under active development and currently only operates on the Bitcoin testnet chain.

Developing Locally

First start by pulling down the git repo:

git clone https://github.com/lightninglabs/lightning-app.git

Then go inside the project folder and run the following commands (grab a coffee, this might take a while):

cd lightning-app
npm run setup

After everything has installed you can run the app in dev mode:

npm start

In dev mode, the app will be using simnet.

Errors

If you get any errors related to GRPC on startup, run:

npm run setup

If the window doesn't load after running npm start: try clicking on dev tools window and hitting cmd-r to refresh the window.

Logs

Logs are written to the following locations:

  • Linux: ~/.config/Lightning/log.log
  • OSX: ~/Library/Logs/Lightning/log.log
  • Windows: %USERPROFILE%\AppData\Roaming\Lightning\log.log

Building

To build the packaged version of the app for your current platform, run:

npm run package-electron

The packaged app will then be available in the lightning-app/release directory. The packaged version of the app will run on Bitcoin testnet. To debug a packaged app, go to localhost:9997 in your browser.

Cross-plaform packaging

To package the app for all platforms run npm run package-all-electron. If running on MacOS, you'll need xquartz brew cask install xquartz and wine brew install wine. If you run into ENFILE: file table overflow as an error put ulimit -n 2560 in your bash profile.

Also Check: karma-runner/karma#1979 (comment)

lightning-app's People

Contributors

casesandberg avatar roasbeef avatar bryanvu avatar willpiers avatar

Watchers

Irfan avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.