Skip to content

PrivAtlas/Lightning.Pub

 
 

Repository files navigation

Lightning.Pub

GitHub last commit PRs Welcome Chat Twitter Follow

Pub enables your Lightning node with public Web API's, providing a framework for permissionless applications that depend on Lightning.

  • Wrapper for LND that can serve accounts over LNURL and NOSTR
  • Methods
  • Accounting SubLayers for Application Pools and Users Accounts

This repository is under rapid iteration and should only be used in development.

Manual Installation

Notes:

  • The service defaults to port 8080
  • Requires Node.js 16

Steps:

  1. Run LND - Example mainnet startup:
./lnd --bitcoin.active --bitcoin.mainnet --bitcoin.node=neutrino --neutrino.connect=neutrino.shock.network --routing.assumechanvalid --accept-keysend --allow-circular-route --feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json
  1. Download and Install Lightning.Pub
git clone https://github.com/shocknet/Lightning.Pub
cd Lightning.Pub
npm install
  1. cp env.example .env
  2. Add values to env file, you can generate a keypair with node genkey.js
  3. npm start
  4. Connect with wallet2 ... until this is further along you'll get the wallets pub from the console then update your env

About

Enable WebApps from your Lightning node.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%