RunRK-Stratum
Set up your own RKStratum solo mining bridge. Choose your platform below and follow the step-by-step guide.
Install Rust and build dependencies:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shsource $HOME/.cargo/envsudo apt update && sudo apt install -y build-essential clang cmake gitAfter your bridge is running, open ports on Ubuntu (UFW) so miners and PNN can reach you. Forward the same ports on your router to this machine's LAN IP.
1 · Enable firewall & allow SSH
Allow SSH first so you do not lock yourself out of a remote server.
sudo ufw allow sshsudo ufw enable2 · Open public mining & sync ports
Use a single Stratum port, or a range if you run multiple difficulty instances.
sudo ufw allow 5555/tcpsudo ufw allow 5555:5561/tcpsudo ufw allow 16111/tcpsudo ufw allow 3030/tcp3 · Keep RPC local only
Port 16110 is for the bridge talking to kaspad on this machine. Do not open it to the internet.
sudo ufw allow from 127.0.0.1 to any port 16110 proto tcp4 · Verify & go public
sudo ufw statusStatus: active
To Action From
-- ------ ----
22/tcp ALLOW Anywhere
5555:5561/tcp ALLOW Anywhere
16111/tcp ALLOW Anywhere
3030/tcp ALLOW Anywhere
16110/tcp ALLOW 127.0.0.1sudo ss -tulpn | grep 5555Dashboard: http://YOUR_PUBLIC_IP:3030/
Miners: stratum+tcp://YOUR_PUBLIC_IP:5555 (use your Stratum port / difficulty)
After registration, your bridge should appear on /bridges. Use JOIN PNN at the bottom to register.
Stratum URL
YOUR_IP:PORTe.g. 192.168.1.10:5555
Username / Wallet
kaspa:YOUR_WALLET.WORKERNAMESupported ASIC Miners (auto-detected):
| Port | Min Diff | Device | Prom |
|---|---|---|---|
| :5559 | 4 | CPU | :2118 |
| :5560 | 512 | GPU | :2119 |
| :5561 | 1024 | GPU | :2120 |
| :5555 | 2048 | GPU / ASIC | :2114 |
| :5556 | 4096 | ASIC | :2115 |
| :5557 | 8192 | ASIC | :2116 |
| :5558 | 16384 | ASIC | :2117 |
Ready to list on the network?
Register your public bridge on PNN after ports are open.