This project provides a Dockerized solution for mining Ergo (ERG) using lolMiner.
-
Install Docker and the NVIDIA Container Toolkit.
-
Create a
.env
file in the project root with the following content, replacing the placeholders with your actual values:POOL_ADDRESS=stratum+tcp://erg.2miners.com:8080 WALLET_ADDRESS=YourErgoWalletAddress WORKER_NAME=YourWorkerName GPU_DEVICES=0
-
Build the Docker image:
docker build -t ergo-miner .
-
Run the Docker container:
docker run --gpus all -d --name ergo-miner --env-file .env --restart unless-stopped ergo-miner
...