Header background
Tutorials

Raspberry Pi mining instructions

Raspberry Pi mining instructions

Mine for blocks with Raspberry Pi OS

Buy a Raspberry Pi wallet for your coin to make use of this tutorial.

Mine for blocks with your Raspberry Pi wallet and the following instructions.

The tutorial is compatible with Raspbian 11 (bullseye) and above.

Click the Terminal app icon in your dock.

Update your Raspberry Pi with the following command:

sudo apt-get update && sudo apt-get upgrade -y

Disable the swap file on your Raspberry Pi with the following command:

sudo dphys-swapfile swapoff

Open nano with the following command:

sudo nano /etc/dphys-swapfile

Change the value "CONF_SWAPSIZE=100" with "CONF_SWAPSIZE=1024".

Save the file with the keyboard shortcut ctrl + x

Re-initialize the swap file with the following command:

sudo dphys-swapfile setup

Start the swap file with the following command:

sudo dphys-swapfile swapon

Download the wallet of your coin with the following command:

wget "https://dl.walletbuilders.com/download?customer=212c2ed32b088c0200b9ea8c19b732029b6779185b653147c9&filename=dale-qt-raspberry.tar.gz" -O dale-qt-raspberry.tar.gz

Type the following command to extract the tar file:

tar -xzvf dale-qt-raspberry.tar.gz

Type the following command to install the wallet and tools for your coin:

sudo mv qt/dale-qt daled dale-cli dale-tx /usr/bin/

Create the data directory for your coin with the following command:

mkdir $HOME/.dale

Open nano with the following command:

nano $HOME/.dale/dale.conf -t

Paste the following into nano:

rpcuser=rpc_dale rpcpassword=dR2oBQ3K1zYMZQtJFZeAerhWxaJ5Lqeq9J2 rpcbind=127.0.0.1 rpcallowip=127.0.0.1 listen=1 server=1 addnode=node3.walletbuilders.com

Save the file with the keyboard shortcut ctrl + x

Open nano with the following command:

nano ~/Desktop/mine.sh -t

Paste the following into nano:

#!/bin/bash SCRIPT_PATH=`pwd` cd $SCRIPT_PATH echo Press [CTRL+C] to stop mining. while : do dale-cli generatetoaddress 1 $(dale-cli getnewaddress) done

Save the file with the keyboard shortcut ctrl + x

Make the file executable with the following command:

chmod +x ~/Desktop/mine.sh

Open nano with the following command:

nano ~/Desktop/DALE-qt.sh -t

Paste the following into nano:

dale-qt

Save the file with the keyboard shortcut ctrl + x

Make the file executable with the following command:

chmod +x ~/Desktop/DALE-qt.sh

Go to the desktop (GUI) of your Raspberry Pi.

Open the file DALE-qt.sh, press on the button "Execute" to start your wallet.

Go to the desktop, open the file mine.sh and press on the button "Execute in Terminal" to mine your first block.