Sign inSign up

pmietlicki/turtle-miner

By pmietlicki

•Updated about 2 hours ago

Miner for turtle coin with very high performance thanks to xmrigcc latest version

Image
1

10K+

pmietlicki/turtle-miner repository overview

turtle logo

⁠Turtle Miner⁠

⁠Quick start

To quickly get started running a 24/7 turtle Miner, just adapt this command with your information :

docker run -itd --restart=always -e POOL_URL=turtlecoin.herominers.com:10381 -e POOL_USER=TRTLv1kxF9T3kdyeaJ1xqbRaSAC6huGpDhhLp1fSqwyW7ovWdR43cCgcLZZUUeWVAieMEnVUdHv1oLd5wwy3GnkYeNLLKf4x9ae --name turtle pmietlicki/turtle-miner

⁠Configuration variables with default values

You can also use config json file by putting it inside /home/miner/config/config.json
To generate a config file, you can use the generator⁠.
For example, if the config.json file is inside the /home/user/xmrig/ folder, use this command :

docker run -v /home/user/xmrig/config.json:/home/miner/config/config.json -d pmietlicki/turtle-miner ./xmrigDaemon \
     --config /home/miner/config/config.json 

Only 2 config variables are mandatory : POOL_URL and POOL_USER

EnvironmentDescriptionDefault value
POOL_USERWallet AddressTRTLv1kxF9T3kdyeaJ1xqbRaSAC6huGpDhhLp1fSqwyW7ovWdR43cCgcLZZUUeWVAieMEnVUdHv1oLd5wwy3GnkYeNLLKf4x9ae
POOL_URLURL of mining serverturtlecoin.herominers.com:10381
MAX_CPU*Set the max CPU usage100
USE_SCHEDULEREnable / Disable (true/false)false
START_TIME*Set the start time of the scheduler if enabled2100
STOP_TIME*Sets the end time of the scheduler if enabled0600
DAYSSet the start days that the container should run, works together with START_TIMEMonday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday

Note for MAX_CPU: This option just change the thread count. If you have just one core, it will use one thread, so it will be always 100% For 2 cores, minimum is 50% For 4, 25%.

Note for Time: Default Timezone is GMT +0

⁠Run

Use your own configuration.

  • Create your wallet⁠
  • Choose a pool
  • Run container
docker run -d -e POOL_URL=turtlecoin.herominers.com:10381 -e POOL_USER=TRTLv1kxF9T3kdyeaJ1xqbRaSAC6huGpDhhLp1fSqwyW7ovWdR43cCgcLZZUUeWVAieMEnVUdHv1oLd5wwy3GnkYeNLLKf4x9ae --name turtle pmietlicki/turtle-miner

Advanced

You can customize xmrig options⁠.

docker run -d pmietlicki/turtle-miner ./xmrigDaemon \
     -o <POOL_URL> \
     -u <POOL_USER> \
     -k  \
     --cpu-priority=2
docker run -v /home/user/xmrig/config.json:/home/miner/config/config.json -d pmietlicki/turtle-miner ./xmrigDaemon \
     --config /home/miner/config/config.json 

Docker compose

version: "3"
services:
  xmrig:
    image: pmietlicki/turtle-miner
    environment:
      - POOL_URL=turtlecoin.herominers.com:10381
      - POOL_USER=TRTLv1kxF9T3kdyeaJ1xqbRaSAC6huGpDhhLp1fSqwyW7ovWdR43cCgcLZZUUeWVAieMEnVUdHv1oLd5wwy3GnkYeNLLKf4x9ae
    restart: on-failure

You will then have a running turtle miner that uses all the available resources for mining.

⁠Scheduler

⁠Example I: Weekend

For a container that will only run the miner on weekend days.

sudo docker run -itd -e POOL_URL='turtlecoin.herominers.com:10381' -e POOL_USER='{YOUR_WALLET_ID}' -e USE_SCHEDULER='true' -e START_TIME='0001' -e STOP_TIME='2359' -e DAYS='Saturday,Sunday' pmietlicki/turtle-miner
⁠Example II: Daily from 21.00-06.00

It could be interesting to power on a miner during off-work time. The example bellow will fire the miner everyday from 21.00-06.00.

sudo docker run -itd -e POOL_URL='turtlecoin.herominers.com:10381' -e POOL_USER='{YOUR_WALLET_ID}' -e USE_SCHEDULER='true' -e START_TIME='2100' -e STOP_TIME='0600' -e DAYS='Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday' pmietlicki/turtle-miner
⁠Example III: Workdays from 21.00-06.00 & Weekend whole day

If you want to achieve a complex time scheduling to maximize your profit. Let's setup a schedule that works from monday - friday (21.00-06.00) and on saturday & sunday the entire day. To achieve this requirement we have to create two containers, one for the working days and one for the weekend.

docker run -itd -e POOL_URL='turtlecoin.herominers.com:10381' -e POOL_USER='{YOUR_WALLET_ID}' -e USE_SCHEDULER='true' -e START_TIME='2100' -e STOP_TIME='0600' -e DAYS='Monday,Tuesday,Wednesday,Thursday' pmietlicki/turtle-miner
sudo docker run -itd -e POOL_URL='turtlecoin.herominers.com:10381' -e POOL_USER='{YOUR_WALLET_ID}' -e USE_SCHEDULER='true' -e START_TIME='0001' -e STOP_TIME='2359' -e DAYS='Saturday,Sunday' pmietlicki/turtle-miner

⁠General usage

To see the output from the miner, run one of:

$ docker logs -t -f turtle
$ docker-compose logs

To update the miner:

$ docker stop turtle
$ docker rm turtle
$ docker pull pmietlicki/turtle-miner
$ docker run -d --mount ...

To stop the miner:

$ docker stop turtle
$ docker-compose stop

To restart the miner:

$ docker restart turtle
$ docker-compose restart

⁠Build

$ cd src/miner
$ docker build -t pmietlicki/turtle-miner .
⁠Donate
  • XMR: 45rfqYG9iNPddvenLpjFskJUhFgqBkdhDeah3X8D8ZJM3KpKqZWCLz3ewLsVd269tZiEyQRV53Ldv2DJb6xeuFokF7SBb1p
  • RVN: RG8Foh71fzgbrczHbUJSdWna6u4e7sgsr6
  • BTC: bc1q8x59fwt7v9w3haa8dc5jtaurs3azjq2ut5nekp
  • NIM: NQ51BJ7CGJA4Y35XNL7KL9VVVYQNA0K76FMB

Tag summary

Content type

Image

Digest

sha256:01019e169…

Size

318.5 MB

Last updated

about 2 hours ago

docker pull pmietlicki/turtle-miner