- Notifications
You must be signed in to change notification settings - Fork0
⚡Lightning Network Daemon⚡️
License
MitchellTesla/lnd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Lightning Network Daemon (lnd
) - is a complete implementation of aLightning Network node.lnd
has several pluggable back-endchain services includingbtcd
(afull-node),bitcoind
, andneutrino
(a new experimental light client). The project's codebase uses thebtcsuite set of Bitcoin libraries, and alsoexports a large set of isolated re-usable Lightning Network related librarieswithin it. In the current statelnd
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 outgoingonion-encrypted paymentsthrough the network.
- Updating advertised fee schedules.
- Automatic channel management (
autopilot
).
lnd
fully conforms to theLightning Network specification(BOLTs). BOLT stands for:Basis of Lightning Technology. The specifications are currently being draftedby several groups of implementers based around the world including thedevelopers oflnd
. The set of specification documents as well as ourimplementation of the specification are still a work-in-progress. With thatsaid, the current status oflnd
'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
The daemon has been designed to be as developer friendly as possible in orderto facilitate application development on top oflnd
. Two primary RPCinterfaces are exported: an HTTP REST API, and agRPCservice. The exported APIs are not yet stable, so be warned: they may changedrastically in the near future.
An automatically generated set of documentation for the RPC APIs can be foundatapi.lightning.community. A set of developerresources including guides, articles, example applications and community resources can be found at:docs.lightning.engineering.
Finally, we also have an activeSlack where protocol developers, application developers, testers and users gather todiscuss various aspects oflnd
and also Lightning in general.
In order to build from source, please seethe installationinstructions.
To run lnd from Docker, please see the mainDocker instructions
- irc.libera.chat
- channel #lnd
- webchat
When operating a mainnetlnd
node, please refer to ouroperational safetyguidelines. It is important to note thatlnd
is stillbeta software and that ignoring these operational guidelines can lead toloss of funds.
The developers oflnd
take securityvery seriously. The disclosure ofsecurity vulnerabilities helps us secure the health oflnd
, privacy of ourusers, and also the health of the Lightning Network as a whole. If you findany issues regarding security or privacy, please disclose the informationresponsibly by sending an email to security at lightning dot engineering,preferably encrypted using our designated PGP key(91FE464CD75101DA6B6BAB60555C6465E5BCB3AF
) which can be foundhere.
About
⚡Lightning Network Daemon⚡️
Topics
Resources
License
Security policy
Stars
Watchers
Forks
Packages0
Languages
- Go99.6%
- Other0.4%