Swan Blog: 3 Easy Ways To Run Your Own Bitcoin Node

05/20/22 01:06PM EDT

The guest commentary below was written by Stephan Livera of SwanBitcoin.com. This piece does not necessarily reflect the opinion of Hedgeye. 

Swan Blog: 3 Easy Ways To Run Your Own Bitcoin Node - 5 20 2022 12 59 52 PM

As part of the journey of learning about Bitcoin, it's typical that newcoiners start by buying Bitcoin and leaving it on the exchange or broker platform.

The next step is generally learning self-custody, which means withdrawing Bitcoin into a wallet where you hold the private keys. This is typically a phone wallet for small amounts or a hardware signing device (aka 'hardware wallet'). 

But to further improve your Bitcoin self-sovereignty, it's essential to learn to use Bitcoin with your node. 

What is a Bitcoin node? 

Think of it as a fake bitcoin detector. It validates Bitcoin blocks and transactions according to rules that define what Bitcoin is. It is also how you interact with the Bitcoin network, receiving and sending transactions. You either rely on somebody else's node or use your own node to use Bitcoin. 

Why should I run my own node? 

You no longer have to trust that your service provider is telling you the truth about whether you received Bitcoin. Your node is doing all of that validation instead. Your privacy will also be better when using your own node, as you are sharing less transactional data with third parties. 

Is running a node just for technical people?

Some people shy away at this point, thinking that running a node is only for developers and highly tech-savvy enthusiasts. And no, it's not. There are lots of tools making it easy to do nowadays. The more people who take an active part in running and using their Bitcoin node, the better it is.

Bitcoin is decentralised validation. Instead of millions of users relying on one central service provider's node, Bitcoin becomes more robust when more users are validating. Think of it as more participants keeping each other honest and having their influence in the direction the protocol goes. 

How do I run my Bitcoin node?

Below, I'll spell out three relatively easy ways to run your Bitcoin node (Bitcoin Core) and connect your wallet with your node. Merely running a node is of limited value. The real value comes when you use that node to validate your incoming transactions and broadcast your outgoing transactions. You can do this by connecting your software wallet with your node. 

Method 1: Specter Desktop & In-built Bitcoin Core

Specter Desktop is software you can conveniently install on the laptop or desktop computer you already use, and the convenient part is it comes bundled with Bitcoin Core. It also works using your existing computer hardware, which costs you $0 additional outlay. Let's walk through some of the high-level steps. 

  • Download and install Specter Desktop from specter.solutions.
  • Enable the in-built Bitcoin Core installation. 
  • If you want to save hard drive space, download time, and set up time, you can also enable the 'QuickSync' feature. QuickSync will download a pruned blockchain snapshot to get started faster with some trust assumptions. 
  • Wait until your computer has completed the initial sync. This will depend on your download speed and your computer's processing power. 
  • Add your hardware signing device, e.g. Coldcard or Trezor.
  • Create a Wallet (single signature is OK to get started).
  • Use the Receive tab to generate a bitcoin address to receive coins. Or spend bitcoin use the Send tab inside your chosen Wallet. 
  • Every time you close and reopen Specter Desktop, you must wait for your Bitcoin node to resync up to the blockchain's chain tip. This is because the blockchain adds a new block every 10 minutes on average, and unless you leave your computer on all day, your node will fall out of sync while it is offline. Don't worry; this is not something to worry about in this context. 

When your Specter in-built node is up and running correctly, it will look like this:

Swan Blog: 3 Easy Ways To Run Your Own Bitcoin Node - vt1

Method 2: SBC node & connect a laptop or desktop software wallet

You can operate a bitcoin node on an SBC (Single Board Computer) such as a Raspberry Pi or RockPro64. These are small devices that use less power and can be left on all the time cheaply. Various software node packages will help make this process easy. Some vendors even sell a pre-built node device that makes it even easier. Examples include Umbrel, myNode, nodl, Ronin Dojo, RaspiBlitz, Start9 Embassy

While this kind of setup will cost roughly $400 more than Method 1, the benefit is that your device will be on all the time, staying in sync with the bitcoin network. You will also benefit from viewing your transactions in your own mempool explorer, using lightning, using coinjoin and privacy features, running self-sovereign bitcoin payment processing, etc. 

With this method, you will either buy the device outright or build it yourself and flash a microSD card with the node software. If you buy the device outright, it will be a simple process of plugging it in to power and your router for the internet. Then, you can access the node from your laptop or desktop (or even your phone in some cases), and you can connect your desktop/laptop software wallet to your node.

For example, you can download and install Sparrow Wallet on your laptop, and in the setup connection dialog box, you can copy-paste the information relating to your bitcoin node. 

In Sparrow Wallet on Windows, clicking ‘File’, ‘Preferences’, then ‘Server’ will show this dialog box (URL below has been blurred). You can then paste in your Private Electrum Server address and port (e.g. 50001), which you should be able to find in your SBC node web interface. For e.g. on Umbrel you will find this Tor URL in the ‘Connect Wallet’ dialog box area. 

Swan Blog: 3 Easy Ways To Run Your Own Bitcoin Node - vt2

Once you’ve done this and clicked ‘test connection’, you can see if Sparrow is able to successfully connect to your own node for transacting.

Once you create or load up a wallet, you will then be checking your transaction history on your own bitcoin node, rather than your service provider’s node. When transacting, your bitcoin node will be the one to broadcast the transactions. backs your software wallet such as Sparrow. 

With Sparrow Wallet, you can easily plug in your hardware signing devices (aka hardware wallets) directly via cable, or use air-gapped wallets via QR code or microSD. So similar to above, you will have achieved the goal of transacting using your own hardware signing device, backed by your own node. 

Method 3: VPS node for those looking to set up bitcoin merchant payment processing, or possibly for digital nomads

This option is not for everybody, but it can be the right choice depending on what you want to achieve. In this case, it works well for people living nomadically or those who want to quickly set up an always online bitcoin payment processor such as BTCPay Server.

You can use services such as Voltage.cloud or LunaNode to host your Bitcoin, Lightning or BTCPay Server node. 

Using this setup, you are using someone else's computer, so note there is a sovereignty trade-off. However, it does make it easy to get started using a node that you control, rather than being entirely dependent on somebody else for bitcoin payment processing services. For example, if you are a merchant and want to set up to take payment without trusting somebody else. BTC Sessions walks through a quick example of using Voltage to spin up a BTCPay node and accept payment over lightning. You can create a webshop or set up to take bitcoin donations using the crowdfunding app.

Another example feature when selling services for Bitcoin is BTCPay Server's payment requests. For example, you might want to bill somebody $1,000 equivalent in Bitcoin, but they might be in a different time zone to you.

You can create a payment request on your BTCPay Server, a persistent web link that you can send to your customer.

When your customer is ready, they can go to the site, and it will automatically do the USD to BTC conversion on the spot and show the correct amount of satoshis to pay. Once paid, it goes into the wallet you specified, and this is all backed by the node you control. 

Next steps

None of this is so tricky that a motivated individual can't figure it out. Once you achieve some of these steps, you will be amazed at the self-sovereignty you can achieve with Bitcoin if you take the time to learn.

Other aspects to learn include verifying signatures, building from software from source, and manually controlling or configuring elements of your node. You can also learn about customising your bitcoin node with command-line operations, for example, see the node box video guide series by k3tan here.

Bitcoin is about using tools to give yourself financial freedom, regardless of what other governments, businesses or individuals say. Using your own bitcoin node on your existing PC, a dedicated node computer, or a VPS gives you additional functionality and reduces the trust you have to place in other people or companies.

Editor's Note

Stephan Livera is a Bitcoin podcaster, Managing Director of Swan Bitcoin International, Co-Founder of Ministry of Nodes, and Partner with Bitcoiner Ventures.

© 2024 Hedgeye Risk Management, LLC. The information contained herein is the property of Hedgeye, which reserves all rights thereto. Redistribution of any part of this information is prohibited without the express written consent of Hedgeye. Hedgeye is not responsible for any errors in or omissions to this information, or for any consequences that may result from the use of this information.