Download P2Pool for eCash
Run your own node of this P2Pool network. Your node shares one share chain with every other node, so all miners work together on the same blocks, and every block pays everyone directly in its coinbase. No pool operator, no account, no withdrawal.
Why run your own node?
No trust, no fee
Your node builds its own blocks from your own eCash node and pays you straight from the coinbase. Nobody else holds your coins, and your node charges no fee.
Lower latency
Miners next to their own node get new work instantly and waste less work on stale shares. That means more of your hashrate gets paid.
A stronger network
Every node adds its miners' hashrate to the same share chain. More hashrate means more blocks and steadier payouts for everyone, and more nodes mean no single point of failure.
Fair eCash rules built in
The miner fund and staking reward that eCash requires are paid automatically and checked on every share, so blocks from this network are accepted by the eCash network.
Mine here or run your own node?
| Mine on this node | Run your own node | |
|---|---|---|
| Setup | Point your ASIC at this server, done in a minute | eCash node plus P2Pool, about an hour |
| You need | An eCash address | A Linux server with a synced Bitcoin ABC node |
| Payouts | Directly in every block, by PPLNS | Directly in every block, by PPLNS |
| Fee | This node's fee | None, unless you set one |
| Best for | Home miners, small farms | Farms, other pools, anyone who wants full control |
Just want to mine? No download needed: connect your ASIC to this node.
Connect your miner →What you need
A Linux server
64-bit (x86_64), always on. P2Pool itself uses about 1 GB of RAM in addition to the eCash node.
A synced eCash node
Bitcoin ABC with RPC enabled (server=1, rpcuser, rpcpassword). Keep Avalanche on and don't use -simplegbt.
Two open ports
9350 for other P2Pool nodes and 9351 for your miners and the web dashboard. Keep the node's RPC port closed.
Set up in 5 steps
-
Download and unpack
Download the zip above to your server, or fetch it directly:
-
Install PyPy and the libraries
P2Pool runs on PyPy 2.7, a fast Python runtime. This installs it inside the P2Pool folder and changes nothing else on the system.
curl -sSfL https://downloads.python.org/pypy/pypy2.7-v7.3.20-linux64.tar.bz2 | tar xj PY=$PWD/pypy2.7-v7.3.20-linux64/bin/pypy $PY -m ensurepip $PY -m pip install 'pip<21' 'setuptools<45' wheel typing 'incremental==17.5.0' $PY -m pip install -r requirements-pypy2.txt
A warning that a newer pip version is available is harmless.
-
Start P2Pool and join this network
Replace the address with your own eCash address.
-nconnects your node to this P2Pool network; after the first start it remembers its peers. RPC credentials are read from~/.bitcoin/bitcoin.conf.When the log shows
Started successfully!and your node has downloaded the share chain, it is part of the network. For running it permanently with systemd, seeREADME.mdin the zip. -
Open the ports
sudo ufw allow 9350/tcp # other P2Pool nodes sudo ufw allow 9351/tcp # your miners and the web dashboard
-
Connect your miners
Point your ASICs at
stratum+tcp://YOUR_SERVER:9351with your eCash address as the username (add.rig1for a worker name) and any password. Your own dashboard is athttp://YOUR_SERVER:9351/.
Verify your download
Compare the checksum with the one shown above before you run it:
Help the network grow
Point your hashrate here
Every miner makes blocks more frequent and payouts steadier for all participants.
Run a public node
Keep port 9350 open so new nodes can join through yours as well as through this one.
Share this page
Send it to other eCash miners and mining communities. P2Pool gets better with every node and every miner.
P2Pool for eCash is free software under the GPL-3.0, based on jtoomim/p2pool. It comes without warranty; mining rewards depend on the pool's total hashrate and luck. Always verify the download checksum.