coin-hive-stratum
Advanced tools
Comparing version 2.6.7 to 2.6.8
{ | ||
"name": "coin-hive-stratum", | ||
"version": "2.6.7", | ||
"version": "2.6.8", | ||
"description": "proxy to use CoinHive miner on any stratum pool", | ||
@@ -11,3 +11,4 @@ "main": "build", | ||
"build": "npm run clear:build && npm run build:js", | ||
"start": "node server", | ||
"start": "npm run build && node server", | ||
"now-start": "node server", | ||
"prepublish": "npm run build" | ||
@@ -17,3 +18,3 @@ }, | ||
"type": "git", | ||
"url": "git+https://github.com/cazala/coin-hive-stratum.git" | ||
"url": "git+https://gitlab.com/cazala/coin-hive-stratum.git" | ||
}, | ||
@@ -28,5 +29,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/cazala/coin-hive-stratum/issues" | ||
"url": "https://gitlab.com/cazala/coin-hive-stratum/issues" | ||
}, | ||
"homepage": "https://github.com/cazala/coin-hive-stratum#readme", | ||
"homepage": "https://gitlab.com/cazala/coin-hive-stratum", | ||
"dependencies": { | ||
@@ -33,0 +34,0 @@ "@types/node": "^8.0.53", |
## CoinHive Stratum Proxy | ||
<img width="1356" alt="pm2" src="https://user-images.githubusercontent.com/2781777/33243231-c162d55c-d2c0-11e7-9408-c3fb7fb699d0.png"> | ||
![coin-hive-stratum](https://user-images.githubusercontent.com/2781777/33243231-c162d55c-d2c0-11e7-9408-c3fb7fb699d0.png) | ||
@@ -12,12 +12,6 @@ This proxy allows you to use CoinHive's JavaScript miner on a custom stratum pool. | ||
## Guides | ||
## Guide | ||
* Deploy this proxy for free to `now.sh` + GitHub Pages and avoid AdBlock. | ||
[Learn More](https://github.com/cazala/coin-hive-stratum/wiki/Deploy-to-now.sh-and-GitHub-Pages) | ||
* Run proxy with `pm2` and get load balancing, cluster mode, watch & reload, and live metrics. | ||
[Learn More](https://github.com/cazala/coin-hive-stratum/wiki/Run-with-PM2) | ||
* Deploy this proxy to DigitalOcean (free promo codes!) and run it on your own domain. | ||
[Learn More](https://github.com/cazala/coin-hive-stratum/wiki/Deploy-to-Digital-Ocean) | ||
[Learn More](https://gitlab.com/cazala/coin-hive-stratum/wikis/Deploy-for-free) | ||
@@ -73,3 +67,3 @@ ## Installation | ||
To get more advanced metrcis you will have to | ||
[run the proxy with PM2](https://github.com/cazala/coin-hive-stratum/wiki/Run-with-PM2). | ||
run the proxy with PM2 | ||
@@ -268,3 +262,3 @@ ## CLI | ||
You have to run the proxy [using PM2](https://github.com/cazala/coin-hive-stratum/wiki/Run-with-PM2) and pass a | ||
You have to run the proxy using PM2 and pass a | ||
`--log=path/to/log.txt` argument when you start the proxy. | ||
@@ -276,10 +270,8 @@ | ||
To full metrics you have to run the proxy [using PM2](https://github.com/cazala/coin-hive-stratum/wiki/Run-with-PM2). | ||
To full metrics you have to run the proxy using PM2. | ||
#### How can I avoid AdBlock? | ||
You can deploy the proxy to now.sh and GitHub Pages using | ||
[this guide](https://github.com/cazala/coin-hive-stratum/wiki/Deploy-to-now.sh-and-GitHub-Pages), or you can deploy the | ||
proxy to your own server and serve [these assets](https://github.com/cazala/coin-hive-stratum/tree/gh-pages) from your | ||
server. | ||
You can deploy the proxy to DigitalOcean and Netlify using | ||
[this guide](https://gitlab.com/cazala/coin-hive-stratum/wikis/Deploy-for-free) and Avoid AdBlock | ||
@@ -286,0 +278,0 @@ If you use those assets, the `CoinHive` global variable will be accessible as `CH`. |
@@ -5,2 +5,2 @@ const Proxy = require("./build"); | ||
}); | ||
proxy.listen(8892); | ||
proxy.listen(process.env.PORT || 8892); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34
2652
97768
293
1