tuto pour installer un node bitcoin lightning network
tech

Créer un node Bitcoin Lightening Network

22 avril 2026Lecture 5 min

Créer un nœud Bitcoin Lightning

Vous trouverez ici la liste des commandes à lancer sous Linux pour mettre en place ce type de node.

Si vous avez des questions, n’hésitez pas à les poster en commentaire sous les vidéos.


Série vidéo YouTube

  • Partie 1 : Installer Bitcoin Core et synchroniser la blockchain
  • Partie 2 : Configurer bitcoind, installer LND et le configurer
  • Partie 3 : Installer RTL et démarrer le node
  • Partie 4 : Créer des channels Lightning

Partie 1 : Installer Bitcoin Core sous Debian 11

Télécharger Bitcoin Core

wget https://bitcoin.org/bin/bitcoin-core-22.0/bitcoin-22.0-x86_64-linux-gnu.tar.gz

Décompresser l’archive

tar xzf bitcoin-22.0-x86_64-linux-gnu.tar.gz

Installation

sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-22.0/bin/*

Vérifier le lancement de Bitcoin Core

/usr/local/bin/bitcoin-qt

Installer les librairies manquantes si nécessaire

sudo apt install libxkbcommon-x11-0

Partie 2 : Configurer bitcoind et installer LND

Si le wallet Bitcoin Core est lancé en mode GUI :

  • Fermez-le
  • Désactivez le lancement automatique au démarrage

Configuration de Bitcoin Core

Créer/modifier le fichier :

nano /home/VOTRE_USERNAME/.bitcoin/bitcoin.conf

Ajouter :

server=1
daemon=1
maxmempool=100
debug=net
rpcuser=VOTRE_USER_BTC_RPC
rpcpassword=VOTRE_PASS_BTC_RPC
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333

Sauvegarder :

  • CTRL + X
  • Y
  • Entrée

Lancer bitcoind

screen bitcoind -datadir=/mnt/bitcoin/bitcoin -conf=/home/VOTRE_USERNAME/.bitcoin/bitcoin.conf

/mnt/bitcoin/bitcoin = dossier choisi lors de l’installation
Prévoir minimum 450 Go, idéalement 1 To


Vérifier l’état du node

watch bitcoin-cli -getinfo -rpcuser=VOTRE_USER_BTC_RPC -stdinrpcpass=VOTRE_PASS_BTC_RPC
watch bitcoin-cli -netinfo -rpcuser=VOTRE_USER_BTC_RPC -stdinrpcpass=VOTRE_PASS_BTC_RPC

Voir les logs en temps réel

tail -f /home/VOTRE_USERNAME/.bitcoin/debug.log

Installation de LND

Release GitHub officielle :

https://github.com/lightningnetwork/lnd/releases

Télécharger LND

wget https://github.com/lightningnetwork/lnd/releases/download/v0.14.3-beta/lnd-linux-amd64-v0.14.3-beta.tar.gz

Décompresser

tar xvzf lnd-linux-amd64-v0.14.3-beta.tar.gz

Entrer dans le dossier

cd lnd-linux-amd64-v0.14.3-beta/

Copier les binaires dans le PATH

sudo cp * /usr/local/bin/

Configuration de LND

Créer le fichier de configuration :

cd
cd .lnd/
touch lnd.conf
nano lnd.conf

Exemple de configuration lnd.conf

Remplacez les valeurs en majuscules par votre configuration.

Si vous êtes derrière une box internet, gardez nat=true.

[Application Options]

datadir=/home/USER/.lnd/data
lnddir=/home/USER/.lnd/

maxpendingchannels=10

alias=Bitcoin Montpellier LND

rpclisten=0.0.0.0:10009

logdir=~/.lnd/logs

maxlogfiles=3
maxlogfilesize=10

acceptortimeout=15s
connectiontimeout=120s

feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

nat=true

wallet-unlock-password-file=/home/USER/btc/password.txt

; wallet-unlock-allow-create=true


[Bitcoin]

bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=bitcoind


[bitcoind]

bitcoind.dir=CHEMIN/VERS/BITCOIN
bitcoind.rpcuser=VOTRE_RPC_USER
bitcoind.rpcpass=VOTRE_RPC_PASSWORD
bitcoind.rpchost=127.0.0.1

bitcoind.zmqpubrawblock=tcp://*:28332
bitcoind.zmqpubrawtx=tcp://*:28333

Lancer LND

screen lnd

Prochaine étape

Une fois votre node opérationnel :

  • Installer RTL
  • Ouvrir des channels Lightning
  • Commencer à router des paiements
  • Tester les paiements Lightning

Bon build ⚡

Newsletter Exclusive

Rejoignez le
Command Center.

Soyez le premier informé des nouvelles technologies, IA et des analyses exclusives que je ne partage pas sur YouTube.

Pas de spam. Désinscription en un clic.