Skip to content

πŸ‹ SNcomp docker instructions

SiemdeNijs edited this page Apr 20, 2022 · 2 revisions

How to download SNcomp and mine PKT with docker

This is a Linux amd64 container with SNcomp included, environmental variables set define what address and pool config to mine.

To start, lets pull the latest container:

sudo docker pull sjjn/sncompdocker:sncompv0173

Now we will need to declare the environmental variables and run the container.

It's advised to make a new file, paste your complete command in there and save it as a script, to make it easier to run.

sudo docker run -e "HTTPS_PROXY=http://username:password@PROXYURLORIP:3128" -e "HTTP_PROXY=http://username:password@PROXYURLORIP:3128" -e WALLET_ADDR="pkt1qc4l3wgtkx3t4qez6pun5k73cktcdczkqqutwnj" -e POOL1="poolurl" -e POOL2="poolurl" -e POOL3="poolurl" -e POOL4="poolurl" -e POOL5="poolurl" -e LOGRATES="1" -e THREADS="10" IMAGEIDHERE

Available variables:

Set both HTTPS/HTTP Proxy variables to use that in the container. Leave empty if not needed.

  • WALLET_ADDR="pkt1qc4l3wgtkx3t4qez6pun5k73cktcdczkqqutwnj":

Set to your wallet PKT address

  • POOL1="poolurl" - POOL5="poolurl":

Set to your preferred poolorder. Example: POOL1="http://pool.pkt.world", POOL2=".... etc.

  • LOGRATES="0":

Leave on "0" to show everything as normal, put on "1" if you'd only like to log rates.

  • THREADS="8":

Limits the threads, with the "-t" flag of the miner.

Clone this wiki locally