{"repo":"cazala/coin-hive","free":true,"listed":false,"github":"https://github.com/cazala/coin-hive","clone":"git clone https://github.com/cazala/coin-hive.git","description":"CoinHive cryptocurrency miner for node.js","language":"JavaScript","stars":2023,"topics":["coinhive","monero","cyptocurrency","miner","xmr","nodejs","electroneum"],"license":"MIT","category":"cli-tools","readme_excerpt":"CoinHive Mine cryptocurrencies Monero (XMR) and Electroneum (ETN) using CoinHive from node.js New: Now you can run this miner on any stratum based pool. New 2: Now you can mine Electroneum (ETN). Need a proxy? check coin-hive-stratum. Install Usage CLI Usage: Options: API CoinHive(siteKey[, options]) : Returns a promise of a Miner instance. It requires a CoinHive Site Key. The options object is optional and may contain the following properties: username : Set a username for the miner. See CoinHive.User. interval : Interval between update events in ms. Default is 1000 . port : Port for the miner server. Default is 3002 . host : Host for the miner server. Default is localhost . threads : Number of threads. Default is navigator.hardwareConcurrency (number of CPU cores). throttle : The fraction of time that threads should be idle. Default is 0 . proxy : Puppeteer's proxy socket 5/4 (ie: socks5://127.0.0.1:9050 ). launch : The options that will be passed to puppeteer.launch(options) . See Puppeteer Docs. pool : This allows you to use a different pool. It has to be an Stratum based pool. This object must contain the following properties: host : The pool's host. port : The pool's port. pass : The pool's password. If not provided the default one is \"x\" . devFee : A donation to send to the developer. Default is 0.001 (0.1%). miner.start() : Connect to the pool and start mining. Returns a promise that will resolve once the miner is started. miner.stop() : Stop mining and disconnect fro","default_branch":null,"files":null,"tree":[],"storefront":"/r/cazala","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cazala/coin-hive/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}