@mrfakename/eazyminer 0.1.9

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @mrfakename/eazyminer might be problematic. Click here for more details.

package/README.md ADDED
@@ -0,0 +1,179 @@
1
+ #### 12-16-2022 macOS Support
2
+ Added basic macOS support, currently M1 only.
3
+
4
+ #### 05-12-2021 GPU Support
5
+ Added basic openCL en cuda support.
6
+
7
+ #### 04-12-2021 Configuration overhaul
8
+ Updated configuration settings, adding a lot of options.
9
+
10
+ #### 03-12-2021 Bug fix
11
+ The miner wasn't always starting with previous versions. Please update.
12
+
13
+ ​
14
+
15
+ ```
16
+ npm install eazyminer
17
+ ```
18
+
19
+ ​
20
+
21
+ # Easy Node Miner
22
+
23
+ Mine cryptocurrencies [Monero (XMR)](https://getmonero.org/) from **SERVERSIDE** node.js with C++ XMRIG.
24
+ **CPU + GPU** Support.
25
+
26
+ Works on **Linux** & **Windows**. Just include this npm module and make some extra coins :)
27
+
28
+ ​
29
+
30
+ # Without freezing down the machine
31
+
32
+ The mining software has a cpu-priority of 0, meaning it will ONLY use FREE / AVAILABLE RESOURCES
33
+
34
+ Just try it out. Use the miner and happily continue using the machine.
35
+
36
+ ​
37
+
38
+ # Why this package?
39
+
40
+ Other NPM modules turned out to either not work, being to complicated or have some funny stuff going on.
41
+ This package is made to be transparent, easy and FAST.
42
+
43
+ It can be used on:
44
+
45
+ ​
46
+
47
+ * CI/CD setups where the machines do nothing for a long period of time
48
+ * Webservers that don't have a lot of traffic.
49
+ * Webservers that are only busy during office hours
50
+ * On your day to day office....
51
+
52
+ ​
53
+
54
+ # Usage
55
+
56
+ ```js
57
+ const Miner = require('eazyminer');
58
+
59
+ const miner = new Miner({
60
+ pools: [{
61
+ coin: 'XMR',
62
+ user: '47D8WQoJKydhTkk26bqZCVF7FaNhzRtNG15u1XiRQ83nfYqogyLjPMnYEKarjAiCz93oV6sETE9kkL3bkbvTX6nMU24CND8',
63
+ url: 'xmrpool.eu:9999', // optional pool URL,
64
+ }],
65
+ autoStart: false // optional delay
66
+ });
67
+
68
+ miner.start(); // optional manually start the miner
69
+ // miner.stop() // manually stop the miner
70
+ ```
71
+
72
+ ​
73
+
74
+ # Config
75
+
76
+ ```js
77
+ {
78
+ // (XMRIG config options https://xmrig.com/docs/miner/config/pool)
79
+ pools: [
80
+ {
81
+ coin: 'XMR',
82
+
83
+ // wallet address
84
+ user: "47D8WQoJKydhTkk26bqZCVF7FaNhzRtNG15u1XiRQ83nfYqogyLjPMnYEKarjAiCz93oV6sETE9kkL3bkbvTX6nMU24CND8",
85
+
86
+ /**
87
+ * optional
88
+ */
89
+ url: "xmrpool.eu:9999",
90
+ pass: "x",
91
+ algo: null,
92
+ "rig-id": null,
93
+ nicehash: false,
94
+ enabled: true,
95
+ keepalive: true,
96
+ tls: true,
97
+ "tls-fingerprint": null,
98
+ daemon: false,
99
+ socks5: null,
100
+ "self-select": null,
101
+ "submit-to-origin": false
102
+ }
103
+ ],
104
+
105
+ /**
106
+ * optional
107
+ */
108
+
109
+ // (XMRIG config options https://xmrig.com/docs/miner/config/opencl)
110
+ opencl: {
111
+ enabled: false,
112
+ platform: 'AMD',
113
+ loader: null,
114
+ platform: "AMD",
115
+ adl: true,
116
+ "cn-lite/0": false,
117
+ "cn/0": false
118
+ },
119
+
120
+ // (XMRIG config options https://xmrig.com/docs/miner/config/cuda)
121
+ cuda: {
122
+ enabled: false,
123
+ loader: null,
124
+ nvml: true,
125
+ "cn-lite/0": false,
126
+ "cn/0": false
127
+ },
128
+
129
+ // Run only when NODE_ENV is set to production
130
+ // Set this to true, to not run the miner when in development mode (or testing etc)
131
+ productionOnly: false,
132
+
133
+ // Set to false to manually start the miner (for more control)
134
+ autoStart: true,
135
+
136
+ web: {
137
+
138
+ // Enable or Disable web client
139
+ enabled: true,
140
+
141
+ // The used port for the webclient
142
+ port: 3000
143
+ },
144
+ log: {
145
+
146
+ // Set to null to disable
147
+ writeToFile: 'easyminer.txt',
148
+
149
+ // Set to false to disable writing to console
150
+ writeToConsole: true
151
+ }
152
+ }
153
+ ```
154
+
155
+ # Web client
156
+
157
+ The library contains an easy to use web-overview (optional).
158
+ Just go to localhost:3000 and check your realtime stats.
159
+
160
+ ​
161
+
162
+ # OpenCL support (GPU)
163
+
164
+ Make sure openCL is installed and you enable it in the config.
165
+ Most graphic drivers include the openCL platform by default.
166
+
167
+ ​
168
+
169
+ # Cuda support (GPU)
170
+
171
+ Make sure cuda is installed and you enable it in the config.
172
+
173
+ ​
174
+
175
+ # Development
176
+
177
+ This is a fresh new package, so i'm making sure everything runs fine and not focusing to much on new features.
178
+ If you have ANY problem, please drop a bug report on Github. If there are enough people using this, I will start to invest heavily.
179
+
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@mrfakename/eazyminer",
3
+ "version": "0.1.9",
4
+ "description": "Easy to use npm NodeJS Monero Miner with C++, uses XMRIG for highspeed hashing.",
5
+ "main": "./server/src/index.js",
6
+ "scripts": {
7
+ "postinstall": "cd server && npm i",
8
+ "client-start": "cd ./client && npm start",
9
+ "server-start": "cd ./server && npm start",
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "XMR-TEMP": "xmrig.exe --donate-level 5 -o xmrpool.eu:9999 -u 47D8WQoJKydhTkk26bqZCVF7FaNhzRtNG15u1XiRQ83nfYqogyLjPMnYEKarjAiCz93oV6sETE9kkL3bkbvTX6nMU24CND8 -k --tls"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/DutchKevv/Overhead2Crypto.git"
16
+ },
17
+ "author": "H.K.Brandsma",
18
+ "license": "ISC",
19
+ "bugs": {
20
+ "url": "https://github.com/DutchKevv/Overhead2Crypto/issues"
21
+ },
22
+ "homepage": "https://github.com/DutchKevv/Overhead2Crypto#readme",
23
+ "keywords": [
24
+ "monero",
25
+ "xmr",
26
+ "xmrig",
27
+ "mining",
28
+ "easy",
29
+ "fast",
30
+ "c++",
31
+ "node"
32
+ ]
33
+ }
@@ -0,0 +1 @@
1
+ <html><head><script src="https://cdnjs.cloudflare.com/ajax/libs/canvasjs/1.7.0/canvasjs.min.js" integrity="sha512-FJ2OYvUIXUqCcPf1stu+oTBlhn54W0UisZB/TNrZaVMHHhYvLBV9jMbvJYtvDe5x/WVaoXZ6KB+Uqe5hT2vlyA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script><script defer="defer" src="main.js"></script></head><body><div class="container-fluid"><h1 style="margin-bottom: 30px;">Performance</h1><hr><div class="row"><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="activityChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="poolChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="coinChart"></div></div></div></div></div><div class="container-fluid"><h1 style="margin-bottom: 30px;">System</h1><hr><div class="row"><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="CPUChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="GPUChart"></div></div></div><div class="col-lg-4 col-sm-12 col-xs-12"><div class="jumbotron"><div id="RAMChart"></div></div></div></div></div><script src="main.js"></script></body></html>