awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
lightningnetwork avatar

lightningnetwork/lnd

0
View on GitHub↗
8,154 stars·2,272 forks·Go·MIT·19 views

Lnd

Lnd is a full implementation of the Lightning Network protocol, functioning as a Bitcoin Layer 2 daemon that manages payment channels and settles transactions on the Bitcoin blockchain. It serves as an off-chain payment processor and a cryptographic wallet manager, enabling the execution of instant, scalable transactions through a network node.

The project distinguishes itself through a focus on secure node networking and programmatic control. It provides gRPC and REST API servers for automating payment workflows and utilizes macaroon-based authorization to delegate granular permissions via cryptographically signed tokens. Network privacy is integrated through SOCKS5-based anonymization and the management of onion services to obscure node identity.

Broad capabilities include the management of payment channel liquidity and the calculation of optimal routing paths through a channel graph. The system handles on-chain transaction management and wallet balance tracking, while employing actor-based state management for concurrent computation. Fund recovery tools are provided to claim assets from channels using static backups and loss prevention protocols.

The core logic is available as containerized deployments and can be compiled into binaries or libraries for iOS and Android.

Features

  • Off-Chain Payment Channels - Calculates optimal paths through a channel graph to route instant off-chain payments.
  • Layer-2 Scaling Solutions - Functions as a Bitcoin Layer 2 daemon providing a scaling solution for high-frequency off-chain payments.
  • Payment Invoices - Provides mechanisms to create, track, and receive real-time notifications for payment invoices.
  • Balance Tracking - Tracks both confirmed on-chain and aggregate off-chain balances to monitor available funds.
  • Key-Value Persistence Stores - Persists channels, invoices, and network graphs in an embedded key-value store.
  • Transaction Managers - Manages the lifecycle of on-chain transactions, including signing, broadcasting, and tracking.
  • Blockchain Data Synchronization - Broadcasts new block data to internal consumers to maintain synchronized blockchain state.
  • Channel Graph Management - Synchronizes peer state and validates announcements to maintain an accurate map of the Lightning Network topology.
  • Blockchain Integration - Integrates with blockchain backends to track on-chain transactions and validate the current network state.
  • Full Node Implementations - Implements a full Lightning Network node that validates state and manages off-chain payment routing.
  • Peer-to-Peer Networking - Uses a network wire protocol to communicate directly with other nodes at the transport level.
  • Lightning Network APIs - Provides gRPC and REST API servers for programmatic control of node operations and payment workflows.
  • Onion Routing - Wraps payment data in layers of encryption to route transactions without revealing the destination.
  • Payment Channel Networks - Implements routing logic to find optimal paths for forwarding payments across the channel network.
  • Path Calculation - Calculates the optimal route through the channel network to deliver payments from sender to destination.
  • Peer Connection Management - Manages the lifecycle of network connections to peers using public keys and host information.
  • Remote Procedure Calls - Provides a typed gRPC interface for external applications to interact with internal daemon services.
  • REST Administrative APIs - Exposes REST administrative APIs for programmatic management of node operations and financial data retrieval.
  • RPC Interfaces - Exposes system functionality to external applications via gRPC and REST interfaces.
  • Daemon API Interfaces - Provides HTTP REST and gRPC endpoints for external applications to programmatically control the background daemon.
  • Macaroon Authorization - Uses macaroon-based authorization to delegate granular permissions via cryptographically signed tokens.
  • Key Derivation Schemes - Generates a hierarchy of private keys from a password-protected seed phrase.
  • Mnemonic Seed Generation - Provides secure generation of mnemonic seeds and root entropy for wallet initialization.
  • Private Wallet Management - Provides secure management of private keys and mnemonic seeds for both on-chain and off-chain assets.
  • Cryptocurrency Wallets - Generates password-protected wallets and mnemonic seeds for secure fund management and recovery.
  • Secure Node Networking - Implements a network node that establishes encrypted communication and maintains peer connections for the Lightning Network.
  • Actor-Based Concurrency - Uses an actor model to encapsulate state and process asynchronous messages without lock contention.
  • Autonomous Fund Sweeping - Recovers channel funds after a remote force-close using static remote keys.
  • Request Encoding - Transforms public keys, payment hashes, and values into checksummed strings for secure transmission.
  • Cryptographic Fund Recovery - Claims funds from nodes by force-closing channels using static backups.
  • Channel State Tracking - Implements a state machine to validate updates to channel commitment transactions.
  • Liquidity Management Automations - Automatically manages payment channel settings and liquidity to optimize network connectivity.
  • SOCKS5 - Routes peer communications and DNS queries through a SOCKS5 proxy to obscure node identity.
  • Funding Workflows - Coordinates workflows to fund payment channels and generates the necessary scripts and witnesses.
  • Liquidity Management - Manages the opening, closing, and balancing of payment channels to optimize network connectivity and routing fees.
  • Peer Connection Policies - Controls remote peer connections based on channel history, requests, or ban status.
  • Routing Fee Policies - Provides global and channel-specific fee schedules and routing policies.
  • Access Token Management - Issues and manages cryptographically verifiable tokens to control programmatic access to node operations.
  • Scoped Token Issuance - Generates scoped tokens with specific read or write permissions to restrict API execution.
  • Multi-Signature Key Aggregation - Creates shared public keys and signatures via the MuSig2 protocol to reduce transaction signature counts.
  • Wallet Encryption - Protects sensitive database files at rest by encrypting them with a wallet password.
  • Granular Access Controls - Generates tokens with granular access controls based on specific API methods and actions.
  • Cryptographic Identity Verification - Signs messages with an identity key and verifies signatures from other active nodes to ensure authenticity.
  • Revocation Key Derivation - Generates the cryptographic keys required to revoke previous channel states during closure.
  • Tor Routing - Routes network traffic and DNS queries through SOCKS5 proxies to anonymize node identity via Tor.
  • Secure Communication Protocols - Secures data exchange between programs using an encrypted and authenticated messaging protocol.
  • Macaroons - Implements macaroon-based authorization to delegate granular API permissions via signed tokens.
  • Transport Security - Encrypts gRPC and REST communications using TLS with self-signed certificates.
  • Blockchain Backends - Decouples core logic from specific chain implementations to track transactions across different backends.
  • Onion - Integrates with Tor to create v3 onion services for maintaining hidden network addresses.
  • Databases & Data - Implementation of a Lightning Network node.

Star history

Star history chart for lightningnetwork/lndStar history chart for lightningnetwork/lnd

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Lnd

These projects share indexed features with Lnd. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • input-output-hk/cardano-slinput-output-hk avatar

    input-output-hk/cardano-sl

    3,756View on GitHub↗

    This project is a blockchain node software implementation that maintains a decentralized ledger using the Ouroboros proof-of-stake consensus protocol. It provides a complete environment for operating a distributed record, including a cryptocurrency wallet backend and a peer-to-peer network layer. The system is distinguished by its use of a UTXO-based ledger model and a diffusion-based state synchronization layer for node communication. It integrates a Public Key Infrastructure with TLS-authenticated communication to secure inter-node traffic and employs hierarchical deterministic key derivati

    Haskell
    View on GitHub↗3,756
  • bluewallet/bluewalletBlueWallet avatar

    BlueWallet/BlueWallet

    3,146View on GitHub↗

    BlueWallet is a Bitcoin wallet application that provides a mobile interface for managing Bitcoin assets, including standard wallets and specialized tools for Lightning Network payments. It serves as a coordinator for various wallet types, including multisig vaults and watch-only interfaces. The project distinguishes itself through advanced security and privacy features, such as decoy storage architecture to hide assets during forced disclosure and custom entropy generation using physical dice or coins. It supports air-gapped transaction management via QR codes and PSBT integration for hardwar

    TypeScriptbitcoinbitcoinjsblockchain
    View on GitHub↗3,146
  • btcpayserver/btcpayserverbtcpayserver avatar

    btcpayserver/btcpayserver

    7,407View on GitHub↗

    BTCPay Server is a non-custodial payment gateway and invoice manager designed for accepting Bitcoin and other cryptocurrencies directly into a private wallet. It serves as a self-hosted payment infrastructure that allows merchants to manage digital invoicing and storefronts without relying on third-party intermediaries. The system distinguishes itself through a non-custodial wallet architecture that ensures private keys remain on the user's own hardware or server. It integrates the Lightning Network for instant, low-cost transactions and provides a hardware-wallet signing bridge to secure tra

    C#bitcoinbitcoin-payment-gatewaybitcoin-payment-processor
    View on GitHub↗7,407
  • stellar/stellar-corestellar avatar

    stellar/stellar-core

    3,269View on GitHub↗

    Stellar Core is the primary software implementation of the Stellar blockchain network, serving as a distributed ledger and a Federated Byzantine Agreement system. It functions as a core node that maintains the shared state of the network and provides a runtime environment for executing WebAssembly smart contracts. The project enables the creation and management of digital assets, including the implementation of decentralized exchanges through distributed orderbooks and automated liquidity pools. It facilitates cross-border payment settlement by routing assets via path payments and bridging di

    C++
    View on GitHub↗3,269
Compare all 30 related projects→

Frequently asked questions

What does lightningnetwork/lnd do?

Lnd is a full implementation of the Lightning Network protocol, functioning as a Bitcoin Layer 2 daemon that manages payment channels and settles transactions on the Bitcoin blockchain. It serves as an off-chain payment processor and a cryptographic wallet manager, enabling the execution of instant, scalable transactions through a network node.

What are the main features of lightningnetwork/lnd?

The main features of lightningnetwork/lnd are: Off-Chain Payment Channels, Layer-2 Scaling Solutions, Payment Invoices, Balance Tracking, Key-Value Persistence Stores, Transaction Managers, Blockchain Data Synchronization, Channel Graph Management.

Which projects share features with lightningnetwork/lnd?

Projects with overlapping indexed features include: input-output-hk/cardano-sl — This project is a blockchain node software implementation that maintains a decentralized ledger using the Ouroboros… btcpayserver/btcpayserver — BTCPay Server is a non-custodial payment gateway and invoice manager designed for accepting Bitcoin and other… bluewallet/bluewallet — BlueWallet is a Bitcoin wallet application that provides a mobile interface for managing Bitcoin assets, including… stellar/stellar-core — Stellar Core is the primary software implementation of the Stellar blockchain network, serving as a distributed ledger… bitpay/bitcore — Bitcore is a blockchain development framework and a set of libraries used to build applications that interact with the… monero-project/monero — Monero is a privacy-focused cryptocurrency and proof-of-work blockchain designed for private digital payments. It…