Pub enables your Lightning node with public Web API's, providing a framework for permissionless applications that depend on Lightning.
- Wrapper for
LNDthat can serve accounts over LNURL and NOSTR - Methods
- Accounting SubLayers for Application Pools and Users

- The service defaults to port
8080 - Requires Node.js 16
- 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
- Download and Install Lightning.Pub
git clone https://github.com/shocknet/Lightning.Pub
cd Lightning.Pub
npm install
cp env.example .env- Add values to env file, you can generate a keypair with
node genkey.js npm start- Connect with wallet2 ... until this is further along you'll get the wallets pub from the console then update your env