Raspberry Pi Bitcoin Cash Node


Updating your raspberry pi

Not required but good practice.

sudo apt-get update
sudo apt-get upgrade

The next step is to get golang at version at least 1.9. The apt only has golang 1.3 currently so we have to download and install a newer version. If golang is already installed, it will need to be uninstalled as it will conflict with the newer version. To uninstall it, use the following commands

sudo apt remove golang
sudo apt-get autoremove

Getting Golang source

wget //storage.googleapis.com/golang/go1.10.8.linux-armv6l.tar.gz
sudo tar -C /usr/local -xzf go1.10.8.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
echo -e "PATH=\$PATH:/usr/local/go/bin" >> ~/.bashrc

To install and run BCHD is as simple as running the following commands.

go get github.com/gcash/bchd
cd /home/pi/go/bin
./bchd

The config file for bchd is located at ‘/home/pi/.bchd/bchd.conf’.


0 responses to “Raspberry Pi Bitcoin Cash Node”

Leave a Reply

Your email address will not be published. Required fields are marked *