This guide provides step-by-step instructions on how to mine Raptoreum ($RTM) using a Raspberry Pi 2 Model B. Raptoreum utilizes the GhostRider algorithm, which is CPU-friendly, making it feasible to mine on low-power devices like the Raspberry Pi.
Before starting, ensure you have the following:
- Raspberry Pi 2 Model B
- MicroSD card (8GB minimum recommended)
- Power supply (5V, 2.5A recommended)
- Network connection (Ethernet preferred for stability)
Flash the OS onto the microSD card using Raspberry Pi Imager:
sudo apt update && sudo apt install rpi-imager -y
rpi-imager- Select the "Raspberry Pi 2 Model B" device
- Select "Raspberry Pi OS (Legacy, 32-bit) Lite" as OS
- Choose your microSD card as storage
- Click "Next"
- Edit settings to enable SSH connection to connect to your Raspberry Pi remotely via SSH after booting.
- Insert the microSD card into your Raspberry Pi 2.
- Connect power and Ethernet cable.
- Find the Raspberry Pi’s IP and connect via SSH:
sudo arp-scan --localnet
Default password:ssh pi@<IP_ADDRESS>
raspberry
Once logged in, update the system to ensure all packages are up to date:
sudo apt update && sudo apt upgrade -yRaptoreum mining requires XMRig, which needs several dependencies to be installed before compiling.
sudo apt install -y build-essential cmake automake libtool pkg-config libssl-dev libboost-all-dev libuv1-dev gitSince Raspberry Pi 2 has an ARM CPU, we need to compile XMRig from source.
git clone https://github.com/xmrig/xmrig.git
cd xmrigmkdir build && cd build
cmake ..
makeThe compilation process may take some time depending on the Raspberry Pi’s processing power.
Ensure you have a Raptoreum wallet. If not, create one using the official Raptoreum Wallet. You can install the Raptoreum core wallet from: https://github.com/Raptor3um/raptoreum/releases
Find a mining pool: Mining Pool Stats
Example: Raptoreum Zone
Follow the instructions from the pool to generate a mining configuration and update your config.json.
cd ~/xmrig/
nano config.jsonExample config.json:
{
"autosave": true,
"donate-level": 1,
"cpu": {
"enabled": true,
"huge-pages": true,
"priority": 3,
"max-threads-hint": 50,
"asm": true
},
"opencl": false,
"cuda": false,
"pools": [
{
"algo": "ghostrider",
"url": "europe.raptoreum.zone:3333",
"user": "YOUR_WALLET.WORKER",
"pass": "x",
"tls": false,
"keepalive": true,
"nicehash": false
}
]
}Replace YOUR_WALLET.WORKER with your actual wallet address and worker name.
Start a screen session:
screen -S miningRun XMRig:
cd ~/xmrig/build
./xmrig --config ../config.jsonDetach the session:
CTRL + A, then DReopen the session:
screen -r miningXMRig will display stats about your mining performance, including hash rates and accepted shares.
vcgencmd measure_tempMonitor temperature continuously:
watch -n 1 vcgencmd measure_temp- Below 50°C → ✅ Ideal
- 50-70°C →
⚠️ Warm, but okay - Above 70°C → 🔥 Too hot! Consider cooling solutions
- Lower "max-threads-hint" in
config.json - Use a small cooling fan or heat sink
- Place the Raspberry Pi in a well-ventilated area
- Adjust the
max-threads-hintvalue inconfig.jsonbased on your Raspberry Pi’s CPU cores. - Consider overclocking your Raspberry Pi for better performance but monitor temperatures carefully.
Check your mining pool's dashboard to track earnings via https://raptoreum.zone/miners/<YOUR_WALLET_ADDRESS>
Mining Raptoreum on a Raspberry Pi 2 Model B is possible, though performance is limited due to hardware constraints. However, it’s a great way to experiment with cryptocurrency mining on low-power devices!
Happy mining!