Eclair + Bitcoin Qt/Core GUI - Setting up a lightning network node

in #lightning3 years ago (edited)

Let's coneeeeeeeect you to the Lightning Network on Mainnet and stake some real money in a risky network of scripted channels where things can go wrong and make you lose all your money 😱... really don't put more in than you are willing to lose or spend on emoji's, articles and cookies?
... giphy_cookies.gif

This week I've gained enough confidence in the current state of the Béta Lightning Network wallet to put in some sweat, tears and satoshi's.

I've had been running the LND electron wallet on testnet, but was not very happy with the performance at that time. The channels I tried to open failed at first and I never managed to buy an imaginary coffee at starblocks

This time around I went with the Eclair wallet v0.2:
A requirement for this wallet is to have a full node running on the same machine, with these minimal configuration settings in bitcoin.conf:


If you already have a fully synced bitcoin node, what takes the longest is the txindex=1 setting, as it will rebuild the entire blockchain including all transaction ID's.

After a good night's rest you can continue with setting the right configuration for Eclair by making the file eclair.confin your user directory/.eclair/


Make sure to match your RPC username and password and the public-IP is optional, you could stay anonymous. Here you can explore the other nodes and channels visually:


I've given my node a noticable and idealistic name, in the hope that people will start opening channels to my node on their own. So be creative!

Next step is to open a channel, I suggest either to my node 027[email protected] or the ''cookie jar'' node:


If you have been running a Bitcoin Qt/Core node (update to v0.16!) for a while, you'll have to make a transaction to yourself to move the funds from Pay-to-Public-Key-Hash (starts with 1) to the so called Pay-to-Script-Hash on a Segwit address (starts with 3) before you can open a channel with those funds. Actually Eclair did not start until there was UTXO/spendable bitcoin in a segwit address on my node.

I ran into two error codes, which were easily solved by following some advice on Github:

  1. bitcoin-cli lockunspent true (or restart bitcoin core, this will remove utxo locks)
  2. bitcoin-cli walletpassphrase <passphrase> 60
  3. open a channel

You should have encrypted your Bitcoin wallet, so in order to spend funds with Eclair you can use the console in Bitcoin Qt/Core to unlock the funds and set a certain time window where the app can open a new channel. Be patient when opening a new channel, as the network suggests 6 confirmations (~1 hour) before accepting payments over a lightning channel.


As you can see I've succesfully bought myself a rocket reaction on

  • Click Channel - Send Payment to pay an LN invoice

And then stole some cookies (actually satoshi's) from the Community Jar 😛

  • Click Channel - Receive Payment to generate the request.

Hope this helps you all to smoothly get unto the second layer magic called ⚡Lightning Network⚡.

Love & Light,




Is it safe to use my home IP? I've heard of DDoS attacks and I don't really want that to happen to me

I have not had any problems, except for the logfile growing several GB big. You can leave the IP-field blank if you don't want to broadcast that info.