lndrests on top of.
lndneeds a way to communicate with the underlying blockchain in order to send on-chain payments, create channel open/close transactions, and watch for events on the blockchain.
lndnodes add each other as peers so they can send messages between one another via an encrypted connection. For example, the
lncli connectadds a peer, which are identified by identity pubkey and IP address.
lncli openchannelcommand opens a channel with a node that was already connected at the peer layer, and the
lncli describegraphcommand returns the list of edges and vertices of the payment channel graph.
lndstands for Lightning Network Daemon and serves as the main software component driving the Lightning Network. It manages a database, connects to peers, opens / closes channels, generates payment invoices, sends, forwards, and revokes payments, responds to potential breaches, and more.
lncliopens up a command line interface for driving
lnd. Neutrino is not required from an application development standpoint, but can be regarded as the primary way for an end-user of
lndto interact with the Bitcoin Network and the applications built on top of it.
lndcommand line tool. All commands are executed instantaneously. A full list of commands can be viewed with
lncli --help. To see a breakdown of the parameters for a particular command, run
lncli <command> --help
lndalso features a REST proxy someone can use if they are accustomed to standard RESTful APIs. However, REST does not have full streaming RPC coverage.