How to mine Electroneum in a pool on Mac using Docker

Note: This will only allow for CPU-mining, not GPU.

Instructions

  • Install docker
  • Open applications/Docker.app
  • Open Terminal and run: docker pull hmage/cpuminer-opt
  • After installation run this in Terminal: docker run -d hmage/cpuminer-opt -a cryptonight -o [POOL_URL:PORT] -u [YOUR_WALLET_ADDRESS] -p x

Make sure to replace [POOL_URL:PORT] and [YOUR_WALLET_ADDRESS], so for example for me this was:

docker run -d hmage/cpuminer-opt -a cryptonight -o stratum+tcp://eu2.electromine.fr:3333 -u etnjxqRsKWKBtZfw1ba2XFEW8jKKEAnfbepDPeHVXw8Y1UzDsH1z3WJMxBihoiCBr5hT99qWe8UaAgpQ7EbaCTkY77jP2b7fmZ -p x

Now the miner is running.

x would be your password. Usually you don’t need one but you can set it here if you want.

How to stop

  • docker ps
  • docker stop [process_id]

Leave a Reply