Mine KOTO on Raspberry Pi 5

The Raspberry Pi 5 is one of the best devices for KOTO mining. Low power (5–8W), silent, runs 24/7, and yescryptR8G is memory-bandwidth limited so the RPi5's fast LPDDR4X hits above its weight class. This guide takes you from zero to mining in under 15 minutes.

1. What you need

Item Notes
Raspberry Pi 5 (4GB or 8GB) 4GB is sufficient
MicroSD 32GB+ or USB SSD SSD preferred for longevity
Power supply (5V 5A USB-C) Official RPi PSU recommended
Ethernet cable More reliable than WiFi for mining
KOTO wallet address From the KOTO Core Client (see below)

2. Get a KOTO wallet address

Download the KOTO Core Client from the official site: https://ko-to.org

Available for Windows, macOS, and Linux. Wait for it to sync (this takes a few hours the first time — you can continue with miner setup while it syncs).

Once synced, go to File → Receiving Addresses and copy your k1... address. This is where your mining rewards will be sent.

Node / release builds: github.com/KotoDevelopers/koto/releases ↗

3. Install Ubuntu on RPi5

KOTO's official miner (cpuminer-yescrypt) compiles and runs best on Ubuntu.

# Flash Ubuntu 24.04 LTS (64-bit) for Raspberry Pi using Raspberry Pi Imager
# https://www.raspberrypi.com/software/
# Choose: Other general-purpose OS → Ubuntu → Ubuntu 24.04 LTS (64-bit)

Boot, complete setup, connect via SSH or directly.

4. Install dependencies

sudo apt update && sudo apt upgrade -y

sudo apt install -y \
  git build-essential automake autoconf \
  libcurl4-openssl-dev libssl-dev \
  libjansson-dev libgmp-dev \
  zlib1g-dev screen

5. Set CPU governor to performance

By default the RPi5 uses ondemand governor which throttles the CPU. Switch to performance for maximum hashrate.

echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Make it permanent:

sudo apt install -y cpufrequtils
echo 'GOVERNOR="performance"' | sudo tee /etc/default/cpufrequtils

Verify it worked:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
# Should output: performance

6. Clone and compile cpuminer-yescrypt

Do not use cpuminer-opt for KOTO. cpuminer-opt's yescryptR8G implementation has a difficulty calculation bug that causes all shares to be rejected. Use the official KotoDevelopers miner below.
cd ~
git clone https://github.com/KotoDevelopers/cpuminer-yescrypt.git
cd cpuminer-yescrypt
./autogen.sh
./configure CFLAGS="-O3 -funroll-loops -fomit-frame-pointer"
make -j4

Compilation takes 3–5 minutes. When complete verify it built:

./minerd --version

If make fails with curl errors, try: ./configure LIBS="-lcurl" instead (see troubleshooting).

7. Start mining

Connect to this pool — no registration required. Your KOTO wallet address is your username. Use the official minerdno -a flag; it defaults to the correct algorithm.

./minerd \
  -o stratum+tcp://koto.isekai-pool.com:3301 \
  -u YOUR_KOTO_ADDRESS.rpi5 \
  -p x \
  -t 4

Replace YOUR_KOTO_ADDRESS with your k1... address. The .rpi5 part is your worker name — use anything you like.

Port guide

Port Difficulty Use for
3301 0.01 RPi5, low hashrate devices
3302 0.5 Desktop CPUs
3303 1.0 High-end CPUs, multi-core
3304 5 Cloud / high difficulty (if enabled on pool)

Expected output (example):

[2026-04-05 12:00:00] Starting Stratum on stratum+tcp://koto.isekai-pool.com:3301
[2026-04-05 12:00:01] 4 miner threads started, using 'yespower' algorithm.
[2026-04-05 12:00:02] Stratum connection established
[2026-04-05 12:00:03] accepted: 1/1 (100.00%), 1.05 khash/s (yay!!!)

accepted shares with 100% means everything is working correctly.

8. Run 24/7 with systemd

Create config (adjust paths and user):

sudo mkdir -p /etc/cpuminer
sudo nano /etc/cpuminer/config-koto.json
{
  "url": "stratum+tcp://koto.isekai-pool.com:3301",
  "user": "YOUR_KOTO_ADDRESS.rpi5",
  "pass": "x",
  "threads": 4
}

Create the systemd service:

sudo nano /etc/systemd/system/cpuminer-koto.service
[Unit]
Description=CPUMiner KOTO
After=network.target

[Service]
ExecStart=/home/rpi/cpuminer-yescrypt/minerd --config /etc/cpuminer/config-koto.json
Restart=always
RestartSec=10
User=rpi

[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable cpuminer-koto.service
sudo systemctl start cpuminer-koto.service

Check it's running:

journalctl -u cpuminer-koto.service -f

9. Expected performance

Hardware Threads Hashrate Pool share
Raspberry Pi 5 (4GB) 4 ~1,000–1,100 H/s ~5% of network
Raspberry Pi 4 4 ~400–600 H/s ~2% of network
Intel N100 mini PC 4 ~2,000–3,000 H/s ~10–15%
Intel i5-8500T 6 ~6,000–8,000 H/s ~30–40%
Intel i9-14900F 16 ~12,000–15,000 H/s ~60–75%

Network total hashrate is ~19 kH/s — KOTO is a small network where even modest hardware makes a meaningful contribution.

10. Troubleshooting

Problem Fix
make fails with curl errors Run ./configure LIBS="-lcurl" instead
All shares rejected You're using cpuminer-opt — use cpuminer-yescrypt instead
unknown algorithm error Don't use -a flag — minerd defaults to correct algo
Low hashrate (~100 H/s) CPU governor is ondemand — switch to performance
Connection refused Check pool status at koto.isekai-pool.com
Wallet not syncing KOTO chain is ~4.3M blocks, sync takes 2–4 hours

11. Monitor your mining

12. Windows setup (Alienware / desktop)

Download the official KotoMiner from cpuminer-yescrypt releases. Extract KotoMiner_Win_x64.zip. Edit start.bat:

minerd-avx2.exe -o stratum+tcp://koto.isekai-pool.com:3302 -u YOUR_KOTO_ADDRESS.desktop -p x -t 16

Use minerd-avx2.exe for Intel 8th gen+ and AMD Ryzen. Use port 3302 for desktop CPUs. Example with a sample worker name:

minerd-avx2.exe -o stratum+tcp://koto.isekai-pool.com:3302 -u k1Ev447YkYF3BCKf8ryph7afYZGhRtBASDW.alienware -p x -t 16

Double-click start.bat to start mining.