whatisgithub

What is lnd?

skwp/lnd — explained in plain English

Analysis updated 2026-07-11 · repo last pushed 2019-02-06

1GoAudience · developerComplexity · 4/5DormantSetup · hard

In one sentence

A complete Lightning Network node implementation in Go that lets you send and receive Bitcoin payments that are nearly instant and cost a fraction of a cent, with APIs for programmatic control.

Mindmap

mindmap
  root((repo))
    What it does
      Instant Bitcoin payments
      Opens payment channels
      Routes payments through network
      Forwards payments for fees
    Tech stack
      Go language
      Lightning Network specs
      Multiple Bitcoin backends
    Use cases
      Micropayments per message
      Pay-per-article content
      App payment APIs
    Audience
      Developers
      App builders
    Status
      Test network only
      APIs not yet stable
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a messaging app that charges tiny fractions of a cent per message.

USE CASE 2

Create a content platform with pay-per-article micropayments.

USE CASE 3

Programmatically create invoices and send Bitcoin payments from your application.

USE CASE 4

Run a Lightning node that forwards payments for others and earns routing fees.

What is it built with?

GoLightning NetworkBitcoin

How does it compare?

skwp/lndashutosh-swain-git/dahmeraudriusbutkevicius/gohashcompare
Stars111
LanguageGoGoGo
Last pushed2019-02-062016-07-09
MaintenanceDormantDormant
Setup difficultyhardeasymoderate
Complexity4/51/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires a Bitcoin backend (full node or lighter client) and configuration of a Lightning node, currently intended for testnet use only.

No license information was mentioned in the explanation, so the licensing terms are unknown.

So what is it?

The Lightning Network Daemon (lnd) lets you send and receive Bitcoin payments that are nearly instant and cost a fraction of a cent. Instead of waiting minutes or hours for a standard Bitcoin transaction to confirm, you can use this software to open payment channels that settle instantly. It is a complete implementation of a Lightning Network node, meaning it handles everything needed to participate in this faster, cheaper layer built on top of Bitcoin. At a high level, the software manages payment channels between you and other participants on the network. You can open a channel, send or receive payments through it, and close it when you are done, with the final balances settled back on the regular Bitcoin blockchain. It also handles the routing of payments, meaning if you want to pay someone you do not have a direct channel with, the software can find a path through other connected nodes to get your payment there. Payments are encrypted in a way that hides the route details, and the software can automatically forward payments for other people, earning you small fees along the way. This software is built for developers who want to create applications that accept or send Bitcoin payments quickly and cheaply. For example, if you were building a messaging app that charges tiny fractions of a cent per message, or a content platform that does pay-per-article micropayments, this would be the engine powering those transactions behind the scenes. It provides APIs that let your application talk to it, so you can programmatically create invoices, send payments, and manage channels without dealing with the underlying cryptography yourself. The project is built in Go and fully conforms to the Lightning Network's official specifications, known as the BOLTs, which are still being drafted by implementers worldwide. It is designed to work with different Bitcoin backends, including full nodes and lighter clients. The README notes that the APIs are not yet stable and may change significantly, and at the time of writing it was deployed on Bitcoin's test network rather than mainnet. The team takes security seriously and provides a PGP key for responsible disclosure of vulnerabilities.

Copy-paste prompts

Prompt 1
Help me set up an lnd Lightning node on Bitcoin testnet using Go, including connecting it to a Bitcoin backend.
Prompt 2
Write a sample script that uses the lnd API to open a payment channel, create an invoice, and send a payment programmatically.
Prompt 3
Explain how to configure lnd to automatically forward payments for other users on the Lightning Network and earn routing fees.
Prompt 4
Show me how to integrate lnd into a web app so users can pay per article using Bitcoin micropayments via the lnd API.

Frequently asked questions

What is lnd?

A complete Lightning Network node implementation in Go that lets you send and receive Bitcoin payments that are nearly instant and cost a fraction of a cent, with APIs for programmatic control.

What language is lnd written in?

Mainly Go. The stack also includes Go, Lightning Network, Bitcoin.

Is lnd actively maintained?

Dormant — no commits in 2+ years (last push 2019-02-06).

What license does lnd use?

No license information was mentioned in the explanation, so the licensing terms are unknown.

How hard is lnd to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is lnd for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.