Skip to main content
Mining is how new coins are created and how transactions are secured on the Parallax network. The Parallax client comes with a built-in CPU miner, which makes it easy to start mining without installing extra software.

Prerequisites

  • You have already installed and started the Parallax client.
  • Your client is synced or actively syncing with the Parallax network.

Step-by-step Guide

1

Create or unlock an account

Before you can mine, you need a Parallax account (address) to receive rewards.
  • If you already use MetaMask with Parallax, you can use one of those addresses.
  • To quickly generate a new account with the client, run:
./prlx account new
You’ll be asked to create a password. Keep this safe!Copy the address that is generated — you’ll need it in the next step.
2

Start mining

Run the Parallax client with the --mine flag and point it to your account:
./prlx --mine --miner.coinbase <YOUR_ADDRESS>
Replace <YOUR_ADDRESS> with the account you created in the previous step.Example:
./prlx --mine --miner.coinbase 0x1234abcd...
--miner.coinbase tells the node where to send mining rewards.
If you are using MetaMask, don’t forget to include --http when starting the Parallax client. You can find more details on the Setting up MetaMask guide.
You can specify how many CPU threads to use when mining with --miner.threads N, where N is the number of threads. Set to 0 to use all available threads.
3

Check mining status

Once running, the client will show logs about new work being generated and accepted.To confirm mining is active, look for messages like:
⛏️ Working on new block template
🔷 Block found 

Where do rewards go?

  • Mining rewards are automatically sent to the coinbase account you specified.
  • These rewards will be credited to your account once the block you mined reach enough maturity (100 blocks on top of the one you mined).
  • You can view your balance in MetaMask (if using the same account) or with:
./prlx attach --exec "eth.getBalance('<YOUR_ADDRESS>')"

Tips & Troubleshooting

  • If your node isn’t syncing, mining will not produce valid blocks. Wait until sync is caught up.
  • CPU mining is slow — don’t expect big rewards. For better performance, look into GPU mining.
  • Make sure your node stays online; if you close the client, mining stops.

✨ You’re now mining on the Parallax network with your CPU!
I