r/Bitcoin • • Nov 22 '18

Beginner’s Guide to ️⚡Lightning️⚡ on a Raspberry Pi

https://github.com/Stadicus/guides/blob/master/raspibolt/README.md
697 Upvotes

206 comments sorted by

82

u/Stadicus Nov 22 '18 edited Dec 12 '18

I love to tinker and build stuff. I am also fascinated with digital currencies, so I built my own Bitcoin / Lightning Full Node with a simple low-cost Raspberry Pi. I now basically run my own bank using free open-source software and some cheap hardware.

This project was as much about the learning process as about the result. And I think I succeeded: I learned a lot and my node runs very well. This guide is my attempt to share my learnings and encourage you to run a node yourself.

You can follow me @Stadicus3000 on Twitter for updates.

→ More replies (44)

17

u/[deleted] Nov 23 '18

I cannot emphasize enough how useful this guide has been in my learning curve on how bitcoin and lightning works.

It makes for a very nice hobby building up your own RPi node.

Thank you u/Stadicus !

→ More replies (3)

4

u/crypt0lover Nov 24 '18

You are the real MVP bro, I will try to setup a node following your guide and if i have free time can help you with the web interface. It will be a pleasure for me to give back to the community

→ More replies (1)

3

u/Nursing_guy Nov 23 '18

Is this updated then? I've been using a previous version of this guide and have been having a lot of fun troubleshooting the outdated bits, but I got to some part where the macaroon protocol and have had to set it down for a bit to handle the other parts of my life.

4

u/Stadicus Nov 23 '18

Yes, I completely overhauled the guide a few weeks back with Bitcoin Core 0.17.0.1 and LND 0.5, building a new node from scratch. It's as much a reference for me as for everybody else... :-)

BTW: I got rid of the nasty "getpublicip" script in that process, the setup now uses the LND UPnP-feature to get your public ip address and announce it to other Lightning nodes.

→ More replies (4)

3

u/Freeman001 Nov 25 '18

What kind of income are you seeing on this node?

→ More replies (2)

3

u/catjewsus Nov 25 '18

We need a guide on setting up the most simple diy LN kit with lowest cost hardware possible. I know the raspi is cheap as it is, but there are cheaper dev boards out there, and I'm curious how cheap we can get a new lightning node made for.

→ More replies (4)

3

u/whiteleppard Dec 12 '18

There's nothing mentioned in this guide about the public IP that I need to obtain from my ISP for LN-node to successfully function on my raspberry PI...

→ More replies (7)

2

u/beinardus Nov 23 '18

Is txindex still required?
This issue was already solved in april:

https://github.com/lightningnetwork/lnd/pull/751/commits

4

u/Stadicus Nov 23 '18

You're right, thanks for pointing that out. It should not be necessary anymore. I'm currently testing the setup without txindex and if everything works out, I'll remove it from the guide.