Skip to content

grunch/ln-registration

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
ln
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Lightning Network event registration app

Simple lightning event registration nodejs app, this app connects to a lnd node using gRPC.

Instalation

To connect with a lnd node we need to set 3 variables in the .env file .

LND_CERT_BASE64: LND node TLS certificate on base64 format, you can get it with base64 ~/.lnd/tls.cert | tr -d '\n' on the lnd node.

LND_MACAROON_BASE64: Macaroon file on base64 format, the macaroon file contains permission for doing actions on the lnd node, for this app a good choice is to use the invoice.macaroon file, you can get it with base64 ~/.lnd/data/chain/bitcoin/mainnet/invoice.macaroon | tr -d '\n'.

LND_GRPC_HOST: IP address or domain name from the LND node and the port separated by colon (:), example: 192.168.0.2:10009.

To install just run:

$ git clone git@github.com:grunch/ln-registration.git
$ cd ln-registration
$ npm install

Executing

$ npm start

About

Simple Lightning Network events registration app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published