Miner for nimiq (NIM) cryptocurrency from official nimiq mining repository
10K+
Default: 1.5.7-1
You can use this variable to change the official miner version.
See available versions at nimiq repository.
Default: dumb
Set up the protocol to be used. The only protocol supported right now is dumb. Other protocols will be supported soon : wss (WebSocket Secure, requires a FQDN, port and SSL), ws (WebSocket, only requires public IP/FQDN and port).
Default: NQ51BJ7CGJA4Y35XNL7KL9VVVYQNA0K76FMB
Your wallet address, this is the address of your wallet available at wallet.nimiq.com.
Default: eu.nimpool.io:8444
The default pool for mining. You can choose the one you want at nimiq.community/mining.
Default: light
Configure the consensus type to establish, one of full, light, or nano.
See [nimiq community]{https://nimiq.community/2018/04/14/setting-up-nodejs_miner.html}
Default: /home/nimiq
The home directory of the user that will launch the nimiq miner. No need to change it.
This is a Nimiq cryptocurrency miner. Run it like
$ docker run -d \
--name nimiq-miner \
--mount 'type=volume,source=nimiq-miner,destination=/home/nimiq' \
pmietlicki/nimiq-miner \
--pool=eu.nimpool.io:8444 \
--wallet-address=NQ51BJ7CGJA4Y35XNL7KL9VVVYQNA0K76FMB
Or start it with docker-compose up -d:
version: "3"
services:
nimiq-miner:
image: pmietlicki/nimiq-miner
command: --wallet-address=NQ51BJ7CGJA4Y35XNL7KL9VVVYQNA0K76FMB
volumes:
- nimiq-miner:/home/nimiq
restart: on-failure
volumes:
nimiq-miner:
Of course, you need to replace the wallet with your own (but you are welcome to use mine ;-), and maybe change the pool if you fancy a different one, or simply go solo and leave out the pool argument.
You will then have a running Nimiq miner that uses all the available resources for mining.
To see the output from the miner, run one of:
$ docker logs -t -f nimiq-miner
$ docker-compose logs
To update the miner:
$ docker stop nimiq-miner
$ docker rm nimiq-miner
$ docker pull pmietlicki/nimiq-miner
$ docker run -d --mount ...
To stop the miner:
$ docker stop nimiq-miner
$ docker-compose stop
To restart the miner:
$ docker restart nimiq-miner
$ docker-compose restart
$ cd src/miner
$ docker build -t pmietlicki/nimiq-miner .
Content type
Image
Digest
sha256:74e314470…
Size
127.6 MB
Last updated
about 4 hours ago
docker pull pmietlicki/nimiq-miner