Installing Fulcrum Indexer

Part 2. Installing Fulcrum Indexer

December 20, 2023


  • Completed “Dojo Node Guide,” Part 1.
  • Bitcoin Core IBD Complete.

Introduction #

After fully synchronizing Bitcoin Core, installing an Electrum indexer, which ensures compatibility with all Electrum-based Bitcoin wallets, is the next step.

Connecting wallets directly to a personal Electrum server, rather than Core, provides vast security improvements since Core stores balances and public keys unencrypted on the local device.

The Fulcrum Electrum indexer has a larger footprint than other indexers; however, its performance is unmatched once fully synchronized.

Download & Verify Fulcrum #

Go to the downloads directory.

cd ~/downloads

Visit Fulcrum’s Github page in a browser and copy the link for the latest “x86_64-linux.tar.gz” file. At the time of writing, the most recent version is 1.9.8.

Download Fulcrum.

torsocks wget

Download the releases “asc” file.

torsocks wget

Download the release’s sha256sum file.

torsocks wget

Verify Fulcrum’s checksum.

sha256sum -c --ignore-missing Fulcrum-*-shasums.txt
The output should provide an “OK” message, for example:- “Fulcrum-0.0.0-x86_64-linux.tar.gz: OK.”

Import Fulcrum’s developer’s public key from the official GitHub repository.

torsocks curl | gpg --import

Verify the signatures match.

gpg --verify Fulcrum-*-shasums.txt.asc
The output should read “Good signature from Calin Culianu.”
Do not worry about the “This key is not certified with a trusted signature!” warning. Enhanced trust levels have not been manually set for the imported key.

Remove the verification files.

rm Fulcrum-*-shasums.txt && rm Fulcrum-*-shasums.txt.asc

Folder Preparation #

Create a “fulcrum” directory.

mkdir ~/fulcrum

Create a “fulcrum_db” directory.

mkdir ~/fulcrum_db

Unpackage the archive.

tar xvf Fulcrum-*-x86_64-linux.tar.gz

Move the contents to the “fulcrum” directory.

mv Fulcrum-*-x86_64-linux/* /home/satoshi/fulcrum

Remove the leftover folder.

rm -r Fulcrum-*-x86_64-linux

Remove the archive.

rm Fulcrum-*-x86_64-linux.tar.gz

Enter the “fulcrum” directory.

cd ~/fulcrum


Generate a new SSL key. Hit enter on the prompts, leaving all at default.

openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

Configuration #

Rename the default fulcrum configuration file.

mv fulcrum-example-config.conf fulcrum.conf

Open the “fulcrum.conf” file.

nano fulcrum.conf

Edit the following lines as shown.

datadir = /path/to/a/dir  # Windows: datadir = D:\FulcrumData\mainnet

datadir = /home/satoshi/fulcrum_db  # Windows: datadir = D:\FulcrumData\mainnet
####edit to your core rpc username & password
rpcuser = Bob_The_Banker
rpcpassword = hunter1
####uncomment the following line
#ssl =

##like so
ssl =
####uncomment & edit the following lines
#cert = /path/to/server-cert.pem
#key = /path/to/server-key.pem
#peering = true

##like so
cert = /home/satoshi/fulcrum/cert.pem
key = /home/satoshi/fulcrum/key.pem
peering = false
###uncomment & edit the following line
#fast-sync = 0

##like so
fast-sync = 2000

Save and exit the file.

Service File #

Create a service file to start Fulcrum on system boot.

sudo nano /etc/systemd/system/fulcrum.service

Paste the following lines, then save and exit the service file.

ExecStart=/home/satoshi/fulcrum/Fulcrum /home/satoshi/fulcrum/fulcrum.conf

Enable the service file.

sudo systemctl enable fulcrum.service

Start Fulcrum.

sudo systemctl start fulcrum.service

Before continuing, wait until the Fulcrum sync has been completed. The device’s power supply must remain uninterrupted during this process, or the Fulcrum database may corrupt.

Monitor Fulcrum’s sync progress using the following command from the home directory. The sync is completed once the logs begin displaying the latest Mempool data.

journalctl -fu fulcrum.service

Local wallet connections to Fulcrum are made by adding the node’s local IP and SSL port into the address field of your wallet settings, for example;


Tor Connections #

Further lines must be added to the “torcc” file to configure Fulcrum with Tor.

sudo nano /etc/tor/torrc

Paste the following at the top of the file.

# Hidden Service Fulcrum
HiddenServiceDir /var/lib/tor/hidden_service_fulcrum/
HiddenServiceVersion 3
HiddenServicePort 50002

Save and exit the file, then reload Tor.

sudo systemctl reload tor

Fulcrum’s Tor address can be requested with the following command.

sudo cat /var/lib/tor/hidden_service_fulcrum/hostname

Remote wallet connections to the Fulcrum server can be made using the server’s onion address and port number, as shown in the example below.


Подключитесь к нашему релею, чтобы оставить комментарий. Подробнее.