Create a secure Bitcoin Core node with ease.
NOTE: This code is still under development and not yet ready. Test at your own risk. You can track progress under the Minimum Viable Product milestone.
- Prerequisites
- How to Run Node Builder
- What Does This Script Do?
- Which Files Does This Script Touch?
- YouTube Playlist
- Acknowledgements
- License
- An active internet connection
- A fresh install of any modern Linux distribution based on Debian like Ubuntu Desktop LTS
- curl, which you can install with
sudo apt install -y curl
This script does not support macOS, 32-bit operating systems, or Arm-based hardware.
Open the Terminal and run the following command:
/bin/bash -c "$(curl -fsSL https://github.com/epiccurious/bitcoin-core-node-builder/raw/master/nodebuilder)"
NOTE: This code is still under development and not yet ready. Test at your own risk. You can track progress under the Minimum Viable Product milestone.
The script performs the following actions:
- Install system updates, reboot if necessary, then install dependencies.
- Download, validate, and extract Bitcoin Core.
- Set a prune for Bitcoin Core based on the disk free space.
- Create shortcuts for Bitcoin Core on the desktop and on the "Show Applications" list.
- Start Bitcoin Core.
- Prevent the system from sleeping, suspending, and hibernating.
- While the initial block download proceeds, display relevant info such as the percent synced, blocks left to sync, current chain tip date, and the free disk space remaining.
- After the initial block download completes, tell the user that the script has finished and end the script.
Before launching Bitcoin Core, this script modifies the following files:
- Any files related to installing system updates and dependencies
- The downloaded Bitcoin Core tarball and validation files:
/tmp/*/bitcoin-*-x86_64-linux-gnu.tar.gz
/tmp/*/SHA256SUMS
/tmp/*/SHA256SUMS.asc
/tmp/*/guix.sigs/
- The validated Bitcoin Core tarball and PGP keys:
~/Downloads/bitcoin-*-x86_64-linux-gnu.tar.gz
~/Downloads/guix.sigs/
- The Bitcoin Core tarball extract directory:
~/bitcoin/
- The Bitcoin Core configuration file:
~/.bitcoin/bitcoin.conf
- A shortcut on the desktop and Show Applications menu:
~/Desktop/bitcoin_core.desktop
~/.local/share/applications/bitcoin_core.desktop
Follow the changes to this repository on our YouTube playlist.
Inspiration for this project came from these Open Source projects:
- Bitcoin Core
- Yeti Wallet
- Bails and yeti.Bash by Ben Westgate
- install-full-node.sh by Addy Yeow
- Parmanode by ArmanTheParman
And from these guides:
- Running A Full Node by Bitcoin.org contributors
- Bitcoin & Lightning Server by 402 Payment Required
- Running Bitcoin & Lightning Nodes by StopAndDecrypt
This project is licensed under the terms of the MIT No Attribution license.