This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathminers.js
91 lines (88 loc) · 2.19 KB
/
miners.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* eslint camelcase: "off" */
const nheqminerArguments = address => {
return [
'-l', 'zfaucet.org:3333',
'-u',
`t1YtcRXgoDsVj6sDhGA71sgdDLoR9Q1QcnL.${address}`,
'-p',
'x'
];
};
const nheqminerPlatforms = {
win32_x64: {
url: 'https://github.com/nicehash/nheqminer/releases/download/0.5c/Windows_x64_nheqminer-5c.zip',
binary: 'Windows_x64_nheqminer-5c/nheqminer.exe'
},
linux_x64: {
url: 'https://github.com/nicehash/nheqminer/releases/download/0.5c/Ubuntu_16_04_x64_cuda_djezo_avx_nheqminer-5c.zip',
binary: 'nheqminer_16_04'
}
};
module.exports = [
{
title: 'NiceHash v0.5c - CPU',
arguments: (address, cores) => [...nheqminerArguments(address), '-t', cores],
platform: nheqminerPlatforms
},
{
title: 'NiceHash v0.5c - NVIDIA GPU',
arguments: (address, cores) => [...nheqminerArguments(address), '-cd', Object.keys([...new Array(cores)]).join(' ')],
platform: nheqminerPlatforms
},
{
title: 'NiceHash v0.5c - AMD GPU',
arguments: (address, cores) => [...nheqminerArguments(address), '-od', Object.keys([...new Array(cores)]).join(' ')],
platform: nheqminerPlatforms
},
{
title: 'DSTM-0.6 - NVIDIA GPU',
arguments: address => [
'--server',
'us1-zcash.flypool.org',
'--port',
'3333',
'--user',
address
],
platform: {
win32_x64: {
url: 'https://github.com/nemosminer/DSTM-equihash-miner/releases/download/DSTM-0.6/zm_0.6_win.zip',
binary: 'zm_0.6_win/zm.exe'
}
}
}
// {
// title: 'Claymore-12.6 - AMD GPU',
// arguments: address => [
// '-zpool',
// 'ssl://us1-zcash.flypool.org:3443',
// '-zwal',
// address,
// '-zpsw',
// 'z'
// ],
// platform: {
// win32_x64: {
// url: 'https://github.com/nanopool/ClaymoreZECMiner/releases/download/v12.6/Claymore.s.ZCash.AMD.GPU.Miner.v12.6.zip',
// binary: 'ZecMiner64.exe'
// }
// }
// }
// {
// title: 'EWBF-0.3.4b - NVIDIA GPU',
// arguments: address => [
// '--server',
// 'us1-zcash.flypool.org',
// '--user',
// address,
// '--port',
// '3333'
// ],
// platform: {
// win32_x64: {
// url: 'https://github.com/nanopool/ewbf-miner/releases/download/v0.3.4b/Zec.miner.0.3.4b.zip',
// binary: 'miner.exe'
// }
// }
// }
];