Code Monkey home page Code Monkey logo

lnconf-2019-workshop's Introduction

Lightning Conference 2019 Workshop

This is the code for the Building a LApp with NodeJS + LND workshop at The Lightning Conference. If you're interested in learning to make Lightning apps though, I suggest you check out the Lightning App Tutorial blog post series I put together that this is based off of.

If you are here at the conference, welcome! I'm looking forward to building some cool stuff with you.

Requirements

Setup the Project

Copy the environment configuration file with

cp .env.example .env

Edit the following fields in your new .env file with information about your node. You can get some help finding this info using this tool: https://lightningjoule.com/tools/node-info

  • LND_GRPC_URL - The location to connect to your node. If you're running with default settings locally, this should be 127.0.0.1:10009.
  • LND_MACAROON - Your readonly.macaroon file, base64 encoded. Run base64 readonly.macaroon in your macaroon directory to get this.
  • LND_TLS_CERT - Your TLS certificate, also base 64 encoded. Run base64 tls.cert in your data directory to get this.

If you're on a Windows operating system, you'll need to base64 encode some other way since you won't have the base64 command. If you use an online tool like this one I recommend not uploading any mainnet node credentials.

Run the Project

Install dependencies and run the app with

npm install && npm run dev

lnconf-2019-workshop's People

Contributors

wbobeirne avatar

Watchers

James Cloos avatar  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.