P2Pool
Pool Website¶
- P2Pool.io Main Clearnet and Onion
- P2Pool.io Mini Clearnet and Onion
- P2Pool.io Nano Clearnet and Onion
Observer (Miner Stats)¶
Gupax (P2Pool GUI)¶
Gupax bundles P2Pool and XMRig into a single app with simple setup.
- Visit Gupax.
Requirements¶
Wallet¶
Before starting, you'll need to have a Monero Wallet configured.
It's highly recommended to create a new wallet for mining because wallet addresses are public on p2pool.
You have to use the Primary wallet address for mining.
Subaddresses and integrated addresses are not supported.
Node¶
P2Pool requires access to a properly configured Monero node. If you have a Monero node you will need to add the following to your monerod config file or startup flags
--zmq-pub tcp://127.0.0.1:18083
Example
./monerod --zmq-pub tcp://127.0.0.1:18083 --out-peers 32 --in-peers 64 --add-priority-node=p2pmd.xmrvsbeast.com:18080 --add-priority-node=nodes.hashvault.pro:18080 --disable-dns-checkpoints --enable-dns-blocklist
XMRig and P2Pool¶
You'll need to download 2 pieces of software: XMRig & P2Pool.
- You can download XMRig from: XMRig.com
- You can download P2Pool from: P2Pool GitHub Repo
Note that you should update your P2Pool software regularly.
Configuring P2Pool¶
- Open port
37889for P2Pool "Main",37888for P2Pool "Mini", or37890for P2Pool "Nano" in your firewall to ensure better connectivity (Optional) -
Run
./p2pool --host NODE_IP_ADDRESS --rpc-port NODE_RPC_PORT --wallet PRIMARY_WALLET_ADDRESS.- It's recommended that you use your own node. If that's the case
NODE_IP_ADDRESSshould be127.0.0.1. - Similarly, the
NODE_RPC_PORTshould be18081or18089. PRIMARY_WALLET_ADDRESSmust be your main address. Subaddresses are unsupported.
(Main addresses start with4, subaddresses start with8)- Add the flag
--miniif youd prefer to mine on a lower difficulty P2Pool instance.
- It's recommended that you use your own node. If that's the case
-
Wait for P2Pool to synchronize. It should take no more than 5-10 minutes.
See the official docs for more details about P2Pool.
Running XMRig¶
On Linux and MacOS etc, run ./xmrig -o 127.0.0.1:3333 to start mining. For higher hashrates on Windows, you'll need to edit properties to run as administrator. On Linux you'll run with sudo.
See the official docs if youd prefer to use a config file.
Efficiency¶
You may want to check your efficiency before you start mining. This is based on your power costs vs the hashrates that your hardware is able to produce.
You can check your estimated hashrates at xmrig.com/benchmark.
There are many sites, such as CryptoCompare that allow you to enter your hashrate, power draw and power costs to calculate your efficiency.
Getting Help¶
There is an active Monero mining community on Reddit at /r/MoneroSupport. You can also join #monero-pools on Rizon or #xmrmine on Matrix.
Also see our troubleshooting page.
Adapted from monero-site