当前位置: 首页 > 软件库 > Web3 > 区块链 >

coinhive-monero

授权协议 Readme
开发语言 JavaScript
所属分类 Web3、 区块链
软件类型 开源软件
地区 不详
投 递 者 史承福
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

JavaScript miner for the cryptocurrency Monero Blockchain (XMR) using Coin-Hive ��

Use Client's CPU Power

Monero is different. To mine Monero, you have to calculate hashes with an algorithm called Cryptonight. This algorithm is very compute heavy and – while overall pretty slow – was designed to run well on consumer CPUs.

There are solutions to run the Cryptonight algorithm on a GPU instead, but the benefit is about 2x, not 10000x like for other algorithms used by Bitcoin or Ethereum. This makes Cryptonight a nice target for JavaScript and the Browser.

Of course, when running through JavaScript performance still takes a bit of a toll, but it's not that bad. Our miner uses WebAssembly and runs with about 65% of the performance of a native Miner. For an Intel i7 CPU (one of the fastest desktop CPUs) you should see a hashrate of about 90h/s. A native miner would get to 140h/s.

How to use

It’s very simple, download and open the page coinhive-monero.html

You must sign-in on coinhive.com, copy the site-key, and paste in my page coinhive-monero.htmlmodify SITE_KEY: Coin-Hive's Site Key

Automaticaly the Javascript into start mining with your CPU.

On coinhive you could see the progress of you Monero mining

Also, if you are a programmer, you could copy my js to paste in some your page, in this way your visitors will do mining for you. ;)

Disclaimer

This project has nothing to do with coin-hive.com

 相关资料
  • coinhive-example Easy example using Coinhive in a simple page Used for educational purposes

  • Monero Copyright (c) 2014-2021 The Monero Project. Portions Copyright (c) 2012-2013 The Cryptonote developers. Table of Contents Development resources Vulnerability response Research Announcements Tra

  • monero-regex Regular expression for matching Monero (XMR) addresses Install ~ ❯❯❯ npm install monero-regex Usage const moneroRegex = require('monero-regex');moneroRegex().test('nodejsrocks 47BnvD18P45

  • Monero JavaScript Library A Node.js library for creating Monero applications using RPC and WebAssembly bindings to monero v0.17.2.3 'Oxygen Orion'. Supports wallet and daemon RPC clients. Supports cli

  • android-monero-miner A minimal SDK that lets an integrator add a Monero Miner using the Javascript miner created by CoinHive.The Monero Miner can be used with any CoinHive address and is a proof of co

  • WooKey Wallet: For Privacy WooKey’s Monero Wallet enables users to securely store, send, receive XMR and monitor their balances. Monero Wallet is a fully open-source, decentralized and free app, desig