Running your own mining local network
In the previous steps we launched a single node and it was great but not very useful since the configuration used by default was not set for mining. As we know, mining is needed in order to publish contracts so let's configure our node to mine. A sample configuration for mining is miner1.conf.
In IntelliJ IDEA, copy the existing RSK configuration and add the VM options for the miner node:
With the Run button, you're running your first miner node!
We have now three configurations for different miners, now the funny part, let's run our local RSK Smart network. Go to Run configuration button again and start all the miners configurations one after the other.
Congratulations! you're running a local RSK mining party :)https://github.com/rsksmart/rskj/wiki/Running-your-own-mining-local-network