How To: Mine To Remote RPC
Last updated
Last updated
Difficulty Level: Professional
Mining over LAN or over the internet to a remote RPC allows you to run a single node and leverage that node to direct all your hashpower to the the mining work of your mining farm.
First, start your master node, connect and sync to the network. For more instructions on how to deploy your node, you can check the tutorial below.
Ensure that you configure your node.ini
file to enable both rpc
and miner
:
Once you get your node running, make sure you open your 30337
and your 8545
ports, otherwise your miners won't be able to connect.
Download your miner and configure your miner.ini
file with your master node's IP address. You can do it over LAN or use your public IP address and mine over the internet:
Once you have everything configured and setup, just start your miner normally. If you have any connection issues, you should see an error message on your miner console, and if it connects successfully, you will see the progress in the miner's console while it gets the work, generates the cache, and starts to mine.
IMPORTANT: Right now, the account
and worker_name
fields aren't being used by the miner. It will mine to the wallet you have configured in your master node's node.ini
file. These are there for future iteration and support for actual mining pools.
A checklist for everything to work:
Port 8545
needs to be open in the master node.
You must ensure you have rpc
and miner
enabled in the master node.
You must ensure you use the correct IP address in your miner's config file.