{"repo":"altangent/lnd-async","free":true,"listed":false,"github":"https://github.com/altangent/lnd-async","clone":"git clone https://github.com/altangent/lnd-async.git","description":"Lightning Network Daemon gRPC async client","language":"JavaScript","stars":21,"topics":["lightning-network","bitcoin","lnd","grpc"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"lnd-async This library simplifies connecting to the Bitcoin Lightning Network Daemon via gRPC. It wraps all callback functions in promises to make api calls easier to work with. This library supports LND version 0.18.5-beta. The default behavior assumes LND is running on localhost port 10009 . It also assumes that macaroons are enabled and the tls.cert and admin.macaroon are found in the OS specific default data paths. To establish a connection to gRPC localhost:10009 with macaroons: This call can be customized to meet your specific needs: You can also specify cert and macaroon as base64 encoded string. Usefull if you do not want to keep them on the server. To do this you can do it buy commands like base64 -w 0 /path/to/lnd/data/tls.cert; echo for cert or base64 -w 0 /path/to/lnd/data/admin.macaroon; echo for macaroon . You can also initiate calls with no macaroons by passing the noMacaroons flag. When this option is supplied, the macaroonPath is ignored. You can also connect using a TLS server certificate signed by public certificate authorities by passing the noCert flag. When this option is supplied, the certPath (and cert ) is ignored. How work with services By default the lnd-async uses Lightning service but you can call certain methods of other services: Long integer treatment The JavaScript Number type internally stores values as IEEE 754 floating point values. The max safe integer value is 2^53-1 which can result in data loss for 64-bit integers. By default and for ma","default_branch":null,"files":null,"tree":[],"storefront":"/r/altangent","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/altangent/lnd-async/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}