0.2.5 • Published 5 years ago

ln-autopay v0.2.5

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
5 years ago

ln-autopay

Generate certs at https://www.sslforfree.com/ npm package to automate invoices for lightning node payments this package requires Node 11.6+

git clone https://github.com/callmekurisu/ln-autopay.git cd ln-autopay/ npm install

Install with npm

npm i ln-autopay

Example with Proof of Plays

node ln-invoice.js --tls="/home/user/.lnd/tls.cert" --admin="/home/user/.lnd/data/chain/bitcoin/mainnet/admin.macaroon" --port="7777" --memo="gimme the loot" --amount="1000" --sslkey="/path/to/ssl/key" --sslcert="/path/to/ssl/cert"

  • Ensure the port is open on your server

Sample lnd.conf setup

Application Options

bitcoin.node=bitcoind bitcoind.rpcuser=YOUR USERNAME bitcoind.rpcpass=YOUR PASSWORD bitcoin.active=1 bitcoin.mainnet=1 bitcoind.zmqpubrawblock=tcp://127.0.0.1:28332 bitcoind.zmqpubrawtx=tcp://127.0.0.1:28333 externalip=YOUR IP ADDRESS (OPTIONAL) alias=YOUR ALIAS (OPTIONAL)

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago