HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
lightningnetwork
lnd
Go2016–2024
lightningnetwork / lnd

lnd

Lightning Network Daemon ⚡️

25Distinct people
39Mentions
0Explicit recommenders
8.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Lightning Network Daemon ⚡️

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 12:45:45 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year39 dated mentions

Observed mentions: 2016-07-14 05:09:19 UTC to 2024-07-16 00:26:21 UTC.

0510152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20162017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 13 mentions; 1 submissions, 12 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 12 mentions; 0 submissions, 12 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 7 mentions; 0 submissions, 7 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC202
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC13112
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC12012
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC211
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC707
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
Lightning Network Daemon The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning Network node. lnd has several pluggable back-end chain services including btcd (a full-node), bitcoind, and neutrino (a new experimental light client). The project's codebase uses the btcsuite set of Bitcoin libraries, and also exports a large set of isolated re-usable Lightning Network related libraries within it. In the current state lnd is capable of: Creating channels. Closing channels. Completely managing all channel states (including the exceptional ones!). Maintaining a fully authenticated+validated channel graph. Performing path finding within the network, passively forwarding incoming payments. Sending outgoing onion-encrypted payments through the network. Updating advertised fee schedules. Automatic channel management (autopilot). Lightning Network Specification Compliance lnd fully conforms to the Lightning Network specification (BOLTs). BOLT stands for: Basis of Lightning Technology. The specifications are currently being drafted by several groups of implementers based around the world including the developers of lnd. The set of specification documents as well as our implementation of the specification are still a work-in-progress. With that said, the current status of lnd's BOLT compliance is: BOLT 1: Base Protocol BOLT 2: Peer Protocol for Channel Management BOLT 3: Bitcoin Transaction and Script Formats BOLT 4: Onion Routing Protocol BOLT 5: Recommendations for On-chain Transaction Handling BOLT 7: P2P Node and Channel Discovery BOLT 8: Encrypted and Authenticated Transport BOLT 9: Assigned Feature Flags BOLT 10: DNS Bootstrap and Assisted Node Location BOLT 11: Invoice Protocol for Lightning Payments Developer Resources The daemon has been designed to be as developer friendly as possible in order to facilitate application development on top of lnd. Two primary RPC interfaces are exported: an HTTP REST API, and a gRPC service. The exported APIs are not yet stable, so be warned: they may change drastically in the near future. An automatically generated set of documentation for the RPC APIs can be found at api.lightning.community. A set of developer resources including guides, articles, example applications and community resources can be found at: docs.lightning.engineering. Finally, we also have an active Slack where protocol developers, application developers, testers and users gather to discuss various aspects of lnd and also Lightning in general. First-time contributors are highly encouraged to start with code review first, before creating their own Pull Requests. Installation In order to build from source, please see the installation instructions. Docker To run lnd from Docker, please see the main Docker instructions IRC irc.libera.chat channel #lnd webchat Safety When operating a mainnet lnd node, please refer to our operational safety guidelines. It is important to note that lnd is still beta software and that ignoring these operational guidelines can lead to loss of funds. Security The developers of lnd take security very seriously. The disclosure of security vulnerabilities helps us secure the health of lnd, privacy of our users, and also the health of the Lightning Network as a whole. If you find any issues regarding security or privacy, please disclose the information responsibly by sending an email to security at lightning dot engineering, preferably encrypted using our designated PGP key (91FE464CD75101DA6B6BAB60555C6465E5BCB3AF) which can be found here. Further reading Step-by-step send payment guide with docker Contribution guide
Read the full README on GitHub

What Hacker News says

2 sources
tg3·Sep 19, 2019Submission

Launch HN: Sparkswap (YC S18) – Buy Bitcoin Instantly over the Lightning Network

Hi everyone! I’m Trey, the founder of Sparkswap (https://sparkswap.com). We've built a new desktop app to purchase Bitcoin with USD directly into your wallet using the Lightning Network, instantly. This is not Bitcoin held in your name by an institution - it’s your wallet, and your private keys. Today, the vast majority of the billions of dollars worth of Bitcoin^1 traded on a daily basis is done on custodial exchanges, meaning users deposit their currencies with the exchange, trade within the system, and then withdraw their new currency balance at a later time. This runs counter to the original goal of Bitcoin, which was to give users full control of their money through a system without central authorities or middlemen. Unfortunately, users historically haven’t had much of a choice, as using custodial exchanges has been the only way to g
Read the rest
et reliable pricing, use a bank account, and achieve reasonable settlement times for transactions. Then came the Lightning Network (LN), first introduced in 2016 in this white paper: https://lightning.network/lightning-network-paper.pdf. One of the original goals of the LN was to solve Bitcoin’s scalability problem. It works by creating a second local consensus layer between two parties on top of the main Bitcoin blockchain, only going back to layer 1 for final settlement or dispute resolution, thereby decongesting the main blockchain and enabling faster transaction speeds. At Sparkswap, we’re taking advantage of Lightning’s fast transaction speeds to build an alternative to existing custodial exchanges: for the first time, you can have fast, convenient trading without custodial trust. I started working on Bitcoin after two years in wealth management technology at BlackRock, where I got to see how the financial system operates at a mechanical level. As an engineer, looking at the antiquated way that money actually moves around the system (you’d be surprised how many FTP uploads and CSVs are involved) and how reliant it is on a small group of institutions that have to trust each other, it was immediately clear to me that we can do much better. Bitcoin offers a way to re-architect our financial system in an internet-native way that removes reliance on those central parties, opening opportunities for more people to access it, and for new service providers to thrive like they have on the internet. But there is still a lot of work to be done to solve fundamental problems like custody - and that's why I started working on Sparkswap. After almost two years of hard work, we’ve just launched Sparkswap Desktop, our Lightning-powered app for buying Bitcoin. With the app, because every purchase is executed on the LN, it’s both instantaneous and you never have to give up control of your Bitcoin private keys. As the saying goes, not your keys, not your coins^2. Here's how it works. When you deposit USD via ACH in the open source Sparkswap app (https://github.com/sparkswap/sparkswap-desktop), it is sent to a US-domiciled bank account that Sparkswap (the company) doesn't own or control. Then later when you buy Bitcoin in the app, the Bitcoin payment to you is put in escrow (called a Hash/Time-lock Contract, or HTLC) locked by a cryptographic hash on the Lightning Network. This means that if you can produce the preimage of the hash, you get the Bitcoin, but at this point only Sparkswap knows the preimage. Then the app creates an escrow payment to Sparkswap for the USD price of the Bitcoin locked by the same hash using our payment partner. Since Sparkswap has the preimage, we can then immediately claim the escrowed dollars by sending the preimage to our payment partner. This gives you access to the preimage through our payment partner’s API, which the app then uses to claim the BTC on your behalf. The escrows also have timeouts so that they can be canceled if they aren't executed after a certain time. This whole process results in USD being swapped for BTC with a level of security that popular services don't provide, and in most cases swaps complete in just a few seconds. In addition, every Bitcoin you buy with Sparkswap is instantly available in a channel on the Lightning Network. That means that you can easily spend that Bitcoin on the dozens of games, apps, and merchants building Lightning-powered services. And since Sparkswap opens Lightning channels to you, after initial setup you can transfer funds from your bank, buy Bitcoin, and spend it on the Lightning Network all in a matter of seconds, making it one of the easiest ways to get started on Lightning. The first version of the app is designed for users that run LND (a popular Lightning node, https://github.com/lightningnetwork/lnd) already. If you don’t, we recommend Zap (https://github.com/LN-Zap/zap-desktop/releases), a desktop Lightning Wallet that lets you run a light client so you don’t have to sync the full blockchain. The current release of Sparkswap Desktop also only supports purchasing Bitcoin with USD. However, we have plans to support selling Bitcoin, as well as other Lightning implementations and clients (and mobile!), so stay tuned for updates. We know cryptocurrency certainly has its issues, and we’re working to try to fix one of them. In just the first half of 2019, almost $500M^3 was stolen from custodial exchanges. We believe it’s critical to the value and future success of Bitcoin to establish trustless, non-custodial trading. We don’t have a token, and we’re not selling vaporware - we’ve shipped a real product that solves a real problem and enhances the biggest proven use case in the cryptocurrency industry: buying Bitcoin. We'd love feedback on the product from all — Lightning Network enthusiasts, critics, and those that don’t know much about it. If you have any trouble getting started, please ask us for help! (support at sparkswap.com) Thanks! Trey [1] https://www.coindesk.com/bitcoin-trading-volume-tops-11-bill... [2] https://www.coindesk.com/2018-a-record-breaking-year-for-cry... [3] https://www.coindesk.com/exit-scams-swindled-3-1-billion-fro...
130 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.