{"id":18391,"date":"2020-10-09T04:00:00","date_gmt":"2020-10-09T04:00:00","guid":{"rendered":"http:\/\/ci027d02ea30002697"},"modified":"2020-10-09T04:00:00","modified_gmt":"2020-10-09T04:00:00","slug":"how-to-set-up-a-lightning-network-node","status":"publish","type":"post","link":"https:\/\/bitcoinmagazine.com\/guides\/how-to-set-up-a-lightning-network-node","title":{"rendered":"How To Set Up A Lightning Network Node"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/bm-lnhub-.png\" title=\"\"><\/figure>\n<p>The easiest way to set up and run a Lightning Network node is with an <a href=\"https:\/\/store.bitcoinmagazine.com\/collections\/hardware\/products\/canakit-raspberry-pi-4-8gb-starter-kit-8gb-ram\">out-of-the-box solution<\/a>. The majority of full Bitcoin node products also run Lightning clients and they have condensed all of the essentials for running a node into small boxes \u2014 you just need to plug them in and follow prompts. Here are some easy ways to set up your first bitcoin node:<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/timetable.png\" title=\"\"><\/figure>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/img_5515.jpg\" title=\"\"><\/figure>\n<h3>1. Assemble your node<\/h3>\n<p>These are the materials you need to build your Lightning node:<\/p>\n<ul>\n<li><a href=\"https:\/\/amzn.to\/3dexkAi\" target=\"_blank\" rel=\"noopener\">Raspberry Pi 4 Model B, 4 GB<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/3g4n4MO\" target=\"_blank\" rel=\"noopener\">Raspberry Pi 4 case, including the fan<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/3dWlR7y\" target=\"_blank\" rel=\"noopener\">32 GB SD card and adapter<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/3wYyCqX\" target=\"_blank\" rel=\"noopener\">Samsung T7 Touch Portable Solid State Drive (SSD), 1 TB<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/3mLubLc\" target=\"_blank\" rel=\"noopener\">Ethernet cable<\/a><\/li>\n<\/ul>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/timetable1.png\" title=\"\"><\/figure>\n<h3>2. Build the Operating System<\/h3>\n<p><a href=\"https:\/\/github.com\/rootzoll\/raspiblitz\/tree\/v1.7\" target=\"_blank\" rel=\"noopener\">This<\/a> GitHub repository has more details on the RaspiBlitz Lightning implementation.<\/p>\n<p>Navigate to <a href=\"https:\/\/www.raspberrypi.org\/software\/operating-systems\/\" target=\"_blank\" rel=\"noopener\">this<\/a> website and download the operating system. Then download the flasher from <a href=\"https:\/\/www.raspberrypi.org\/software\/\" target=\"_blank\" rel=\"noopener\">here<\/a>. Next, flash the OS file onto your microSD card and insert this into your node.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/timetable2.png\" title=\"\"><\/figure>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/insert_microsd.png\" title=\"\"><\/figure>\n<h3>3. Connect to your node from your desktop<\/h3>\n<p>Power on your node and then, using SSH, connect to your node. Once prompted for a command, type the following commands in the terminal window:<\/p>\n<p>wget https:\/\/raw.githubusercontent.com\/rootzoll\/raspiblitz\/v1.7\/build_sdcard.sh<\/p>\n<p>Followed by:<\/p>\n<p>sudo build_sdcard.sh true<\/p>\n<p>This will compile your RaspiBlitz software, then you can reboot your node with this command: <\/p>\n<p>sudo reboot<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/timetable3.png\" title=\"\"><\/figure>\n<h3>4. Initial configuration&nbsp;<\/h3>\n<p>If everything went smoothly, you should see the RaspiBlitz welcome screen:<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/raspi_setup1.png\" title=\"\"><\/figure>\n<p>Follow the prompts to make the initial configurations and then start the Initial Blockchain Download (IBD).<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/timetable4.png\" title=\"\"><\/figure>\n<h3>5. Set your fees and create channels<\/h3>\n<p>With the Lightning Network downloaded and synced on your node, you now have the ability to set your fee for forwarding transactions, connect to other Lightning nodes and fund Lightning channels.<\/p>\n<h3>6. Additional configurations<\/h3>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/timetable5.png\" title=\"\"><\/figure>\n<p>You\u2019re almost ready to go! RaspiBlitz has many additional configurations that you can explore to get the most out of your Lightning experience. Such as the <a href=\"https:\/\/github.com\/Ride-The-Lightning\/RTL\" target=\"_blank\" rel=\"noopener\">Ride The Lightning web interface<\/a>, <a href=\"https:\/\/btcpayserver.org\/\" target=\"_blank\" rel=\"noopener\">BTCPay Server<\/a>, <a href=\"https:\/\/en.bitcoin.it\/wiki\/JoinMarket\" target=\"_blank\" rel=\"noopener\">JoinMarket<\/a> and more.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/rtl_2.png\" title=\"\"><\/figure>\n<p>To find out more about Lightning node solutions, check out our <a href=\"https:\/\/bitcoinmagazine.com\/articles\/buy-or-diy-an-overview-of-7-bitcoin-full-node-products\">review of the best full node products<\/a>. More technical resources for running your own Lightning node are available via <a href=\"https:\/\/medium.com\/@dougvk\/run-your-own-mainnet-lightning-node-2d2eab628a8b\" target=\"_blank\" rel=\"noopener\">Doug von Kohorn\u2019s explainer<\/a> and <a href=\"https:\/\/medium.com\/coinmonks\/the-lightning-network-how-to-install-and-hopefully-make-money-6e3058e3fa7c\" target=\"_blank\" rel=\"noopener\">Ronald Mannak\u2019s explainer<\/a>. And, to learn about how to make a profit from running a Lightning Network node, check out our <a href=\"https:\/\/bitcoinmagazine.com\/lightning-network\/how-to-operate-a-profitable-lightning-node\">guide to node profitability<\/a>. Welcome to the future of digital currency!&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The easiest way to set up and run a Lightning Network node is with an out-of-the-box solution. The majority of full Bitcoin node products also run Lightning clients and they have condensed all of the essentials for running a node into small boxes \u2014 you just need to plug them in and follow prompts. Here [&hellip;]<\/p>\n","protected":false},"author":2520,"featured_media":18400,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[460],"class_list":{"0":"post-18391","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-guides","8":"tag-lightning-network"},"author_data":{"id":2520,"name":"Bitcoin Magazine","nicename":"bitcoin-magazine","avatar_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2025\/01\/bitcoin-magazine-logo.jpeg"},"featured_image_url":"https:\/\/bitcoinmagazine.com\/wp-content\/uploads\/2024\/11\/bm-lnhub-.png","_links":{"self":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/18391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/users\/2520"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/comments?post=18391"}],"version-history":[{"count":0,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/posts\/18391\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media\/18400"}],"wp:attachment":[{"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/media?parent=18391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/categories?post=18391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinmagazine.com\/wp-json\/wp\/v2\/tags?post=18391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}