P2Pool-Salvium Setup Guide

Decentralized mining for Salvium - no pool fees, no registration

Note: This guide assumes basic familiarity with using a terminal/command prompt and navigating your filesystem. If you're new to command-line tools, you may want to review those basics first.

Quick Navigation

How It Works

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)
  • salviumd - Syncs with the blockchain and communicates with p2pool-salvium via ZMQ/RPC
  • p2pool-salvium - Coordinates mining work and syncs with the decentralized P2Pool sidechain
  • Miner - Connects to p2pool-salvium's stratum server (port 3333) and does the actual mining

Requirements

  • 50+ GB free disk space (for blockchain)
  • 4+ GB RAM recommended
  • Salvium wallet address (starts with SC1)
  • Stable internet connection
1
Download the Software

You'll need two pieces of software: the Salvium node (salviumd) and p2pool-salvium.

Salvium Node

Download the latest Salvium release:

Salvium Releases
# Extract the archive tar -xvf salvium-linux-x64-*.tar.bz2 cd salvium-*

P2Pool-Salvium

Download p2pool-salvium:

P2Pool Releases
# Extract p2pool tar -xvf p2pool-salvium-linux-x64-*.tar.gz
2
Run the Salvium Node

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
The --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...
[Screenshot: salviumd fully synced]
Tip: To speed up initial sync, you can download a blockchain export from the WhiskyMine homepage if you have the salvium-blockchain-import tool.
3
Start P2Pool

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).

Never share your seed phrase or private keys. You only need your public wallet address for mining.

Optional Flags

# 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
[Screenshot: p2pool running]
4
Connect Your Miner

Point your miner to p2pool's stratum server:

Pool: 127.0.0.1:3333 Username: YOUR_SALVIUM_ADDRESS Password: x

XMRig Example

./xmrig -o 127.0.0.1:3333 -u SC1YourAddressHere -p x --algo rx/0
[Screenshot: XMRig mining to p2pool]
5
Verify It's Working

Check the p2pool observer to see your miner:

P2Pool Observer

Look for:

  • Your address in the miners list
  • Shares being found
  • Estimated hashrate matching your miner
Payouts happen directly to your wallet when the pool finds a block. No minimum payout threshold!
[Screenshot: P2Pool observer showing your miner]

Requirements

  • Windows 10 or later (64-bit)
  • 50+ GB free disk space (for blockchain)
  • 4+ GB RAM recommended
  • Salvium wallet address (starts with SC1)
  • Stable internet connection
1
Download the Software

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
[Screenshot: Extracted files in Windows Explorer]
2
Run the Salvium Node

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
Windows Firewall may prompt you to allow network access. Click "Allow" for private networks.

Wait for the blockchain to sync (may take several hours on first run):

[Screenshot: salviumd syncing in Command Prompt]
Tip: You can create a batch file (.bat) to start salviumd with the correct flags automatically.
3
Start P2Pool

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.

[Screenshot: p2pool running in Command Prompt]

Create a Batch File (Optional)

Create a file called start-p2pool.bat with:

@echo off cd C:\Salvium p2pool-salvium.exe --host 127.0.0.1 --wallet SC1YourAddressHere pause
4
Connect Your Miner

Configure your mining software to connect to p2pool:

Pool Address: 127.0.0.1:3333 Username: YOUR_SALVIUM_ADDRESS Password: x

XMRig on Windows

Edit your config.json or run from command line:

xmrig.exe -o 127.0.0.1:3333 -u SC1YourAddressHere -p x --algo rx/0
[Screenshot: XMRig mining on Windows]
5
Verify It's Working

Check the p2pool observer to confirm your miner is contributing:

P2Pool Observer

You should see:

  • Your wallet address in the miners list
  • Shares being submitted
  • Your hashrate displayed
Payouts go directly to your wallet when p2pool finds a block. No waiting, no minimums!
Performance Tips

Enable Huge Pages - Significantly improves RandomX mining performance.

  • Linux: Run sudo sysctl -w vm.nr_hugepages=1280 (or add to /etc/sysctl.conf for persistence)
  • Windows: Run XMRig as Administrator once to enable huge pages automatically

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.

Troubleshooting

Common Issues

P2Pool can't connect to salviumd

  • Make sure salviumd is fully synced
  • Check that --zmq-pub tcp://127.0.0.1:19083 flag is set
  • Verify no firewall is blocking local connections

Miner shows 0 hashrate on observer

  • It takes a few minutes for stats to appear
  • Ensure your wallet address is correct
  • Check that shares are being accepted in p2pool output

No payouts received

  • P2Pool only pays when it finds a block
  • Check the observer for recent block finds
  • Your share of the payout depends on your contribution

P2Pool sidechain not syncing / stuck syncing

  • If you're behind NAT (router), you need to forward the P2Pool p2p port (default: 38889 TCP) to the machine running p2pool-salvium
  • Without port forwarding, other P2Pool nodes may not be able to connect to you, which can cause sync issues
  • Check your router's settings for "Port Forwarding" or "Virtual Server" options
  • You can verify the port is open using online port checking tools
  • Related flags:
    • --p2p-external-port - Use if your router maps to a different external port than your local p2p port
    • --no-upnp - Disable automatic UPnP port forwarding

Questions? Join the Salvium community on Discord