All Projects → mrfelton → lnd-binary

mrfelton / lnd-binary

Licence: MIT license
Install lnd from npm https://github.com/lightningnetwork/lnd ⚡️

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to lnd-binary

balanceofsatoshis
Tool for working with the balance of your satoshis on LND
Stars: ✭ 447 (+2383.33%)
Mutual labels:  lightning-network
flash-demo
IOTA Flash channels demo using webRTC for communication.
Stars: ✭ 21 (+16.67%)
Mutual labels:  lightning-network
pi-factory
Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux
Stars: ✭ 17 (-5.56%)
Mutual labels:  lightning-network
DotNetLightning
Utility to work with Lightning network with .NET
Stars: ✭ 34 (+88.89%)
Mutual labels:  lightning-network
spec
[OLD!] RGB Protocol specifications for Bitcoin-based digital assets
Stars: ✭ 149 (+727.78%)
Mutual labels:  lightning-network
zapread.com
Website for zapread.com
Stars: ✭ 19 (+5.56%)
Mutual labels:  lightning-network
lntop
⚡ LN terminal dashboard 📊
Stars: ✭ 170 (+844.44%)
Mutual labels:  lightning-network
lpd
Lightning Peach Node in rust
Stars: ✭ 24 (+33.33%)
Mutual labels:  lightning-network
p2plnbot
Peer-to-peer lightning network telegram bot
Stars: ✭ 111 (+516.67%)
Mutual labels:  lightning-network
lightning-qt
bitcoin-qt for lightningd
Stars: ✭ 36 (+100%)
Mutual labels:  lightning-network
perfectly-balanced
Script to make your LND node pefectly balanced as all things should be
Stars: ✭ 26 (+44.44%)
Mutual labels:  lightning-network
lightning-network-node-operator
Resources and guides for lightning network operators
Stars: ✭ 48 (+166.67%)
Mutual labels:  lightning-network
shango-lightning-wallet
Shango Lightning Wallet
Stars: ✭ 65 (+261.11%)
Mutual labels:  lightning-network
lightningj
Core implementation of the lightningj API implementations.
Stars: ✭ 41 (+127.78%)
Mutual labels:  lightning-network
lnregtest
Regtest Lightning Networks for (python) integration testing
Stars: ✭ 17 (-5.56%)
Mutual labels:  lightning-network
umbrel-middleware
RESTful Bitcoin and Lightning API for Umbrel
Stars: ✭ 21 (+16.67%)
Mutual labels:  lightning-network
lightning-jet
Lightning Jet is a fully automated rebalancer for Lightning nodes. Jet optimizes channel liquidity allocation based on routing volume, missed routing opportunities (htlcs), and other variables.
Stars: ✭ 33 (+83.33%)
Mutual labels:  lightning-network
kwh
webln browser extension for lightningd/eclair/ptarmigan
Stars: ✭ 26 (+44.44%)
Mutual labels:  lightning-network
rgb-core
RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning
Stars: ✭ 99 (+450%)
Mutual labels:  lightning-network
lnchannels
lightning network browser with history and some stupid heuristics
Stars: ✭ 23 (+27.78%)
Mutual labels:  lightning-network

lnd-binary

standard-readme compliant Dependency Status Build Status

install lnd from npm https://github.com/lightningnetwork/lnd ⚡️

This package will download and install a precompiled lnd binary. The installed binary is verified against the official lnd binary checksums to ensure its integrity.

By default, the latest supported lnd release for your platform/architecture will be installed. Alternatively, a specific version can be specified using the configuration options below.

The lnd binary gets installed into the vendor directory inside the module folder and symlinked into your node bin directory.

Table of Contents

Install

npm install lnd-binary --save

Usage

> npm install lnd-binary
> npx lnd --version
lnd version 0.4.2-beta

Configuration

lnd-binary supports different configuration parameters to change settings related to the lnd binary such as binary name, binary path or alternative download path. Following parameters are supported by lnd-binary:

Variable name package.json .npmrc parameter Process argument Value
LND_BINARY_NAME binaryName lnd_binary_name --lnd-binary-name String
LND_BINARY_SITE binarySite lnd_binary_site --lnd-binary-site URL
LND_BINARY_PATH binaryPath lnd_binary_path --lnd-binary-path Path
LND_BINARY_DIR binaryDir lnd_binary_dir --lnd-binary-dir Path
LND_BINARY_PLATFORM binaryPlatform lnd_binary_platform --lnd-binary-platform Platform
LND_BINARY_ARCH binaryArch lnd_binary_arch --lnd-binary-arch Architecture
LND_BINARY_VERSION binaryVersion lnd_binary_version --lnd-binary-version Version

These parameters can be used in package.json config section:

  • E.g.
{
  "config": {
    "lnd-binary": {
      "binaryVersion": "0.4.2-beta"
    }
  }
}

These parameters can be used as environment variable:

  • E.g. export LND_BINARY_VERSION=0.4.2-beta

As local or global .npmrc configuration file:

  • E.g. lnd_binary_version=0.4.2-beta

As a process argument:

  • E.g. npm install lnd-binary --lnd-binary-version 0.4.2-beta

Testing

Run the tests suite:

  npm test

Run with debugging output on:

  DEBUG='lnd-binary' npm test

Maintainers

@Tom Kirkpatrick (mrfelton).

Contribute

Feel free to dive in! Open an issue or submit PRs.

lnd-binary follows the Contributor Covenant Code of Conduct.

License

MIT © Tom Kirkpatrick

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].