1
1
# Building a Node with LDK
2
2
3
- ## Learn how to build a basic LDK node from scratch
3
+ ## Learn how to build a basic LDK node from scratch
4
4
5
5
::: tip Note
6
6
For an integrated example of an LDK node in Rust, see the [ Sample Node] ( https://github.com/lightningdevkit/ldk-sample )
7
7
:::
8
8
9
9
The following tutorials will show you how to build the simplest lightning node using LDK, that fufills the following tasks:
10
10
11
- 1 . ** Connecting to Peers**
12
- 2 . ** Open Channels**
13
- 3 . ** Send Payments**
11
+ 1 . ** Connecting to Peers**
12
+ 2 . ** Open Channels**
13
+ 3 . ** Send Payments**
14
14
4 . ** Receive Payments**
15
15
5 . ** Close Channels**
16
16
@@ -23,13 +23,14 @@ Let's start by looking at the core components we'll need to make this node work
23
23
3 . Payments & Routing, ability to create and pay invoices.
24
24
25
25
To make the above work we also need to setup a series of supporting modules, including:
26
+
26
27
1 . A [ ` FeeEstimator ` ] ( https://docs.rs/lightning/*/lightning/chain/chaininterface/trait.FeeEstimator.html )
27
28
2 . A [ ` Logger ` ] ( https://docs.rs/lightning/*/lightning/util/logger/index.html )
28
29
3 . A Transaction [ ` Broadcaster ` ] ( https://docs.rs/lightning/*/lightning/chain/chaininterface/trait.BroadcasterInterface.html )
29
30
4 . A [ ` NetworkGraph ` ] ( https://docs.rs/lightning/*/lightning/routing/gossip/struct.NetworkGraph.html )
30
31
5 . A [ ` Persister ` ] ( https://docs.rs/lightning/*/lightning/util/persist/trait.Persister.html )
31
- 6 . An [ ` EventHandler ` ] ( https://docs.rs/lightning/*/lightning/util/ events/trait.EventHandler.html )
32
+ 6 . An [ ` EventHandler ` ] ( https://docs.rs/lightning/*/lightning/events/trait.EventHandler.html )
32
33
7 . A Transaction [ ` Filter ` ] ( https://docs.rs/lightning/*/lightning/chain/trait.Filter.html )
33
34
8 . A [ ` ChainMonitor ` ] ( https://docs.rs/lightning/*/lightning/chain/chainmonitor/index.html )
34
- 9 . A [ ` KeysManager ` ] ( https://docs.rs/lightning/*/lightning/chain/keysinterface /struct.KeysManager.html )
35
+ 9 . A [ ` KeysManager ` ] ( https://docs.rs/lightning/*/lightning/sign /struct.KeysManager.html )
35
36
10 . A [ ` Scorer ` ] ( https://docs.rs/lightning/*/lightning/routing/scoring/index.html )
0 commit comments