Skip to content
A web miner for TurtleCoin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
index.html
turtleminer.js

README.md

webturtle

A web miner for TurtleCoin

Working demo: webturtle.de.cool

How to include to your website

In order to implement the miner to your website you have to do the following, easy steps:

  • Download our script and add it to your website
    <script src='turtleminer.js'></script>

  • Edit the configuration

const config = {
  pool: "trtl.pool.mine2gether.com",	// pool url
  port: 2225,	// pool port
  wallet: "TRTLv198neLLCadgT3rzAnepD9aDf4MMC33MDMbkkELJcRAiZyH35fL3qG7xjJDSUCGCRJFWwxyvNDCwxy8kVpbFTsx654w8PEJ", // your wallet address
  speed: 100,		// cpu speed/usage in %
  threads: 4,		// number of threads using for mining
  workerName: "WebMiner"	// the miner name also knows as 'password' for the pool, default 'x'
}
  • Initialize a new miner instance
    const miner = new TurtleMiner(minerConfig);

  • Start mining whenever you want:
    miner.start();

  • Stop mining whenever you want:
    miner.stop();

You can’t perform that action at this time.