Decentralized mining for Salvium - no pool fees, no registration
P2Pool mining involves three components running on your machine, each connecting to its respective network:
[Miner/XMRig] ----> [p2pool-salvium] <----> [salviumd]
:3333 | |
| |
v v
P2Pool Network Salvium Network
(Sidechain) (Blockchain)
You'll need two pieces of software: the Salvium node (salviumd) and p2pool-salvium.
Download the latest Salvium release:
Salvium Releases# Extract the archive
tar -xvf salvium-linux-x64-*.tar.bz2
cd salvium-*
Download p2pool-salvium:
P2Pool Releases# Extract p2pool
tar -xvf p2pool-salvium-linux-x64-*.tar.gz
Start salviumd and let it sync with the network. This may take several hours on first run.
./salviumd --zmq-pub tcp://127.0.0.1:19083 --disable-dns-checkpoints
--zmq-pub flag is required for p2pool to receive block notifications.
Wait for the node to fully sync. You'll see output like:
Height: 425000/425000 (100.0%) on mainnet, net hash 1.23 GH/s...
Once your node is synced, start p2pool with your wallet address:
./p2pool-salvium --host 127.0.0.1 --wallet YOUR_SALVIUM_ADDRESS
Replace YOUR_SALVIUM_ADDRESS with your actual Salvium wallet address (starts with SC1).
# Full example with common options
./p2pool-salvium --host 127.0.0.1 \
--wallet SC1YourAddressHere \
--stratum 0.0.0.0:3333 \
--p2p 0.0.0.0:38889 \
--loglevel 0
P2Pool will start syncing its own sidechain. When ready, you'll see:
SIDECHAIN LOADED - MINING IS NOW ENABLED
Point your miner to p2pool's stratum server:
Pool: 127.0.0.1:3333
Username: YOUR_SALVIUM_ADDRESS
Password: x
./xmrig -o 127.0.0.1:3333 -u SC1YourAddressHere -p x --algo rx/0
Check the p2pool observer to see your miner:
P2Pool ObserverLook for:
Download both Salvium and P2Pool for Windows:
Salvium (Windows) P2Pool (Windows)Extract both ZIP files to a folder, for example:
C:\Salvium\
├── salviumd.exe
├── salvium-wallet-cli.exe
├── salvium-wallet-rpc.exe
└── p2pool-salvium.exe
Open Command Prompt (cmd) or PowerShell and navigate to your Salvium folder:
cd C:\Salvium
salviumd.exe --zmq-pub tcp://127.0.0.1:19083 --disable-dns-checkpoints
Wait for the blockchain to sync (may take several hours on first run):
Open a new Command Prompt window (keep salviumd running) and start p2pool:
cd C:\Salvium
p2pool-salvium.exe --host 127.0.0.1 --wallet YOUR_SALVIUM_ADDRESS
Replace YOUR_SALVIUM_ADDRESS with your wallet address starting with SC1.
Create a file called start-p2pool.bat with:
@echo off
cd C:\Salvium
p2pool-salvium.exe --host 127.0.0.1 --wallet SC1YourAddressHere
pause
Configure your mining software to connect to p2pool:
Pool Address: 127.0.0.1:3333
Username: YOUR_SALVIUM_ADDRESS
Password: x
Edit your config.json or run from command line:
xmrig.exe -o 127.0.0.1:3333 -u SC1YourAddressHere -p x --algo rx/0
Check the p2pool observer to confirm your miner is contributing:
P2Pool ObserverYou should see:
Enable Huge Pages - Significantly improves RandomX mining performance.
sudo sysctl -w vm.nr_hugepages=1280 (or add to /etc/sysctl.conf for persistence)Use an SSD - The blockchain sync and node performance benefit greatly from SSD storage versus traditional hard drives.
Keep Software Updated - Check for updates to salviumd, p2pool-salvium, and your mining software periodically for performance improvements and bug fixes.
P2Pool can't connect to salviumd
--zmq-pub tcp://127.0.0.1:19083 flag is setMiner shows 0 hashrate on observer
No payouts received
P2Pool sidechain not syncing / stuck syncing
38889 TCP) to the machine running p2pool-salvium--p2p-external-port - Use if your router maps to a different external port than your local p2p port--no-upnp - Disable automatic UPnP port forwardingQuestions? Join the Salvium community on Discord