From b75c5ba29f75b6fa07678b2a92b20a1a972eba60 Mon Sep 17 00:00:00 2001 From: Yasin Okumus Date: Sat, 4 Nov 2017 12:29:00 +0200 Subject: [PATCH 1/2] pass field for #FAQ --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a4c39d..13951db 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Options: - `port`: The pool's port. - - `pass`: The pool's password. If not provided. Default one is `"x"`. + - `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%). @@ -171,7 +171,8 @@ const CoinHive = require('coin-hive'); const miner = await CoinHive('', { pool: { host: 'la01.supportxmr.com', - port: 3333 + port: 3333, + pass: '' // default 'x' if not provided } }); await miner.start(); From 73cefe62055a8c775ce696b54ff2b07e8c7ada08 Mon Sep 17 00:00:00 2001 From: Juan Cazala Date: Mon, 6 Nov 2017 16:06:44 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13951db..4b4fc30 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ Now your CoinHive miner would be mining on `supportXMR.com` pool, using your mon You can also do this using the CLI: ``` -coin-hive --pool-host=la01.supportxmr.com --pool-port=3333 +coin-hive --pool-host=la01.supportxmr.com --pool-port=3333 --pool-pass= ``` #### Can I run this on Heroku?