├── .gitignore
├── 7z.dll
├── 7z.exe
├── Algorithms.txt
├── BrainPlus
├── ahashpoolplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── ahashpoolplus.json
├── blazepoolplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── blazepoolplus.json
├── blockmastersplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── blockmastersplus.json
├── hashrefineryplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── hashrefineryplus.json
├── nlpoolplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── nlpoolplus.json
├── phiphipoolplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── phiphipoolplus.json
├── zergpoolplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── zergpoolplus.json
└── zpoolplus
│ ├── BrainConfig.xml
│ ├── BrainPlus.ps1
│ └── zpoolplus.json
├── Config
├── PoolsConfig-ExampleAll.json
├── PoolsConfig-NHInternal.json
├── PoolsConfig-x21sOnPhiPhi.json
├── PoolsConfig.json
├── Version.json
├── config.json
└── poolapiref.json
├── Core.ps1
├── CustomMiners
└── CustomMiners.txt
├── EarningsTrackerJob.ps1
├── Include.ps1
├── LICENSE
├── Miners
├── OptBF.ps1
├── bminer.ps1
├── ccmineralexis78.ps1
├── ccminerdyn.ps1
├── ccminerklaust.ps1
├── ccminerlyra2re3.ps1
├── ccminermtp.ps1
├── ccminermtpnh.ps1
├── ccminerrfv2.ps1
├── ccminersupr16.ps1
├── ccminersupr20.ps1
├── ccminertpruvot.ps1
├── ccminerverus.ps1
├── ccminerx21s.ps1
├── ccminerx22i.ps1
├── ccminerxevan9.ps1
├── ccmineryescrypt.ps1
├── easy-binarium.ps1
├── ethminer.ps1
├── ewbfv2.ps1
├── jayddeeSse2.ps1
├── nheqVerus.ps1
├── opt-yespower.ps1
├── progpow.ps1
└── xmrstak.ps1
├── NM.ico
├── NemosMiner.bat
├── NemosMiner.ps1
├── OptionalMiners
├── bminerf.ps1
├── cryptodredge.ps1
├── cryptodredge16.ps1
├── cryptodredgephi2.ps1
├── ethashclaymore.ps1
├── ethashphoenix.ps1
├── gminer.ps1
├── lolminer.ps1
├── miniz.ps1
├── multiminer.ps1
├── nanominer.ps1
├── nbminer.ps1
├── trex.ps1
├── ttminer.ps1
├── xmrig.ps1
├── xmrigcpu.ps1
└── zealotenemy.ps1
├── Pools
├── ahashpool.ps1
├── ahashpool24hr.ps1
├── ahashpoolplus.ps1
├── blazepool.ps1
├── blazepool24hr.ps1
├── blazepoolplus.ps1
├── blockmasters.ps1
├── blockmasters24hr.ps1
├── blockmastersplus.ps1
├── hashrefinery.ps1
├── hashrefinery24hr.ps1
├── hashrefineryplus.ps1
├── minemoney.ps1
├── minemoney24hr.ps1
├── miningpoolhub.ps1
├── nicehash.ps1
├── nlpool.ps1
├── nlpool24hr.ps1
├── nlpoolplus.ps1
├── phiphipool.ps1
├── phiphipool24h.ps1
├── phiphipool24hr.ps1
├── phiphipoolplus.ps1
├── zergpool.ps1
├── zergpool24hr.ps1
├── zergpoolplus.ps1
├── zpool.ps1
├── zpool24hr.ps1
└── zpoolplus.ps1
├── README.md
├── ResetBenchmark.bat
├── ResetProfit.bat
├── SupportedPools.txt
├── Wrapper.ps1
├── prerun
├── bitcore-example.bat
├── change.log
├── default-example.bat
├── equihash-btg-example.bat
├── equihash144-example.bat
├── equihash192-example.bat
├── equihash96-example.bat
├── ethash-example.bat
├── lyra2rev3-example.bat
├── lyra2v3-example.bat
├── mtp-example.bat
├── nvidiaInspector.exe
├── nvidiaInspector.exe.config
├── progpow-example.bat
├── x16r-example.bat
├── x16rt-example.bat
├── x16s-example.bat
├── x17-example.bat
└── zhash-example.bat
└── version.json
/.gitignore:
--------------------------------------------------------------------------------
1 | Bin/*
2 | Stats/*
3 | Logs/*
4 | *.rar
5 | *.7z
6 | *.zip
7 |
--------------------------------------------------------------------------------
/7z.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nemosminer/NemosMiner/3b23ac435a0a316f6688ae562525c4c629912964/7z.dll
--------------------------------------------------------------------------------
/7z.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nemosminer/NemosMiner/3b23ac435a0a316f6688ae562525c4c629912964/7z.exe
--------------------------------------------------------------------------------
/Algorithms.txt:
--------------------------------------------------------------------------------
1 | {
2 | "aergo": "Aergo",
3 | "aeternity": "Aeternity",
4 | "aeriumx": "Aergo",
5 | "allium": "Allium",
6 | "anime": "Anime",
7 | "astralhash": "Astralhash",
8 | "animecoin": "Anime",
9 | "argon2d-dyn": "Argon2d-dyn",
10 | "argon2d-uis": "Argon2d-uis",
11 | "argon2ad": "Argon2ad",
12 | "argon2coin": "Argon2",
13 | "argon2d250": "Argon2d250",
14 | "argon2d4096": "Argon2d4096",
15 | "argon2d500": "argon2d500",
16 | "axiom": "Axiom",
17 | "balloon": "Balloon",
18 | "bcd": "BCD",
19 | "x13bcd": "Bcd",
20 | "bastion": "Bastion",
21 | "beam": "Beam",
22 | "bitcore": "Bitcore",
23 | "blake": "Blakecoin",
24 | "blake14r": "Decred",
25 | "blake256": "Blakecoin",
26 | "blake256r14": "DecredNicehash",
27 | "blake256r8": "Blake256R8",
28 | "blake256r8vnl": "BlakeVanilla",
29 | "blake2b": "Blake2b",
30 | "blake2s": "Blake2s",
31 | "blakecoin": "Blakecoin",
32 | "blakevanilla": "BlakeVanilla",
33 | "bmw": "BMW",
34 | "bmw256": "BMW",
35 | "cuckoo": "Cuckoo",
36 | "c11": "C11",
37 | "chaincoin": "C11",
38 | "cn": "Cryptonight",
39 | "cn/0": "Cryptonight",
40 | "cn/1": "CryptonightV7",
41 | "cn/2": "CryptonightV8",
42 | "cnfast": "CryptonightFast",
43 | "cnhaven": "CryptonightHeavyHaven",
44 | "cnheavy": "CryptonightHeavy",
45 | "cnsaber": "CryptonightHeavyTube",
46 | "cnheavy": "Cryptonightheavy",
47 | "cnv7": "Cryptonightv7",
48 | "cnv8": "Cryptonightv8",
49 | "creativecoin": "KeccakC",
50 | "credits": "Argon2dCRDS",
51 | "cryptolight": "CryptonightLite",
52 | "cryptonight": "Cryptonight",
53 | "cuckoocycle": "Cuckoocycle",
54 | "cryptonight/1": "CryptonightV7",
55 | "cryptonight/2": "CryptonightV8",
56 | "cryptonight/heavy": "CryptonightHeavy",
57 | "cryptonight/msr": "CryptonightFast",
58 | "cryptonight/rto": "CryptonightRto",
59 | "cryptonight/xao": "CryptonightXao",
60 | "cryptonight/xtl": "CryptonightXtl",
61 | "cryptonightalloy": "CryptonightXao",
62 | "cryptonightarto": "CryptonightRto",
63 | "cryptonightartocash": "CryptonightRto",
64 | "cryptonightb2n": "CryptonightB2N",
65 | "cryptonightbittube2": "CryptonightHeavyTube",
66 | "cryptonightbittubev2": "CryptonightHeavyTube",
67 | "cryptonightfast": "CryptonightFast",
68 | "cryptonighthaven": "CryptonightHeavyHaven",
69 | "cryptonightheavy": "CryptonightHeavy",
70 | "cryptonightheavy/tube": "CryptonightHeavyTube",
71 | "cryptonightheavy/xhv": "CryptonightHeavyXhv",
72 | "cryptonightheavytube": "CryptonightHeavyTube",
73 | "cryptonightipbc": "CryptonightLiteIpbc",
74 | "cryptonightipbclite": "CryptonightLiteIpbc",
75 | "cryptonightitalo": "CryptonightHeavyHaven",
76 | "cryptonightlite": "CryptonightLite",
77 | "cryptonightlite/0": "CryptonightLite",
78 | "cryptonightlite/1": "CryptonightLiteV7",
79 | "cryptonightlite/2": "CryptonightLiteV8",
80 | "cryptonightlite/ipbc": "CryptonightLiteIpbc",
81 | "cryptonightlitev7": "CryptonightLiteV7",
82 | "cryptonightlitev7xor": "CryptonightLiteIpbc",
83 | "cryptonightlitev8": "CryptonightLiteV8",
84 | "cryptonightmarketcash": "CryptonightMarketCash",
85 | "cryptonightmasari": "CryptonightFast",
86 | "cryptonightmonero": "Cryptonightmonero",
87 | "cryptonightmonerov7": "CryptonightV7",
88 | "cryptonightmonerov8": "CryptonightV8",
89 | "cryptonightnormalv7": "CryptonightV7",
90 | "cryptonightnormalv8": "CryptonightV8",
91 | "cryptonightstellite": "CryptonightXtl",
92 | "cryptonightstellitev4": "CryptonightXtl",
93 | "cryptonightv7": "CryptonightV7",
94 | "cryptonightv7stellitev4": "CryptonightXtl",
95 | "cryptonightv8": "CryptonightV8",
96 | "cryptonightr": "CryptoNightR",
97 | "cryptonightxhvheavy": "CryptonightHeavyXhv",
98 | "grincuckaroo29": "Grincuckaroo29",
99 | "grincuckatoo31": "Grincuckatoo31",
100 | "daggerhashimoto": "Ethash",
101 | "dagger": "Ethash",
102 | "darkcoinmod": "X11",
103 | "dash": "X11",
104 | "dashcoin": "X11",
105 | "dashpay": "X11",
106 | "decred": "Decred",
107 | "deep": "Deep",
108 | "dedal": "Dedal",
109 | "deepcoin": "Deep",
110 | "diamondgroestl": "DMDGR",
111 | "dmdgr": "DMDGR",
112 | "drop": "Drop",
113 | "dropcoin": "Drop",
114 | "dynamic": "Argon2dDYN",
115 | "equihash": "Equihash",
116 | "exosis": "Exosis",
117 | "equihash192": "Equihash192",
118 | "equihash144": "Equihash144",
119 | "equihash96": "Equihash96",
120 | "equihash-btg": "EquihashBTG",
121 | "equihashbtg": "EquihashBTG",
122 | "Espers": "HMQ1725",
123 | "eth": "Ethash",
124 | "ethash": "Ethash",
125 | "feathercoin": "NeoScrypt",
126 | "fresh": "Fresh",
127 | "garlicoin": "Allium",
128 | "grin": "Cuckaroo29",
129 | "groestl": "Groestl",
130 | "groestlcoin": "Groestl",
131 | "heavy": "Heavy",
132 | "hex": "Hex",
133 | "hmq1725": "HMQ1725",
134 | "hodl": "hodl",
135 | "hodlcoin": "hodl",
136 | "hppcoin": "Lyra2h",
137 | "hsr": "HSR",
138 | "jackpotcoin": "JHA",
139 | "jha": "JHA",
140 | "jeonghash": "Jeonghash",
141 | "keccak": "Keccak",
142 | "keccakc": "KeccakC",
143 | "lbry": "Lbry",
144 | "lbk3": "Lbk3",
145 | "luffa": "Luffa",
146 | "lyra2": "Lyra2RE",
147 | "lyra2h": "Lyra2h",
148 | "lyra2re": "Lyra2RE",
149 | "lyra2re2": "Lyra2RE2",
150 | "lyra2rev2": "Lyra2RE2",
151 | "lyra2rev3": "Lyra2REv3",
152 | "lyra2v2": "Lyra2RE2",
153 | "lyra2re3": "Lyra2RE3",
154 | "lyra2v3": "Lyra2v3",
155 | "lyra2vc0ban": "Lyra2vc0banHash",
156 | "lyra2z": "Lyra2z",
157 | "lyra2zz": "Lyra2zz",
158 | "lyra2z330": "Lyra2z330",
159 | "m7m": "m7m",
160 | "machine": "Timetravel",
161 | "machinecoin": "Timetravel",
162 | "magi": "m7m",
163 | "mtp": "MTP",
164 | "maxcoin": "Keccak",
165 | "memohash": "Axiom",
166 | "monero": "CryptoNightV7",
167 | "myrgr": "MyriadGroestl",
168 | "myriadcoingroestl": "MyriadGroestl",
169 | "myriadgroestl": "MyriadGroestl",
170 | "neoscrypt": "NeoScrypt",
171 | "ninja": "Polytimos",
172 | "nrghash": "Nrghash",
173 | "nist5": "Nist5",
174 | "pascal": "Pascal",
175 | "pentablake": "PentaBlake",
176 | "phi": "PHI",
177 | "phi2": "PHI2",
178 | "phi1612": "PHI",
179 | "pipe": "Pipe",
180 | "phoenixcoin": "NeoScrypt",
181 | "pluck": "Pluck",
182 | "pluck128": "Pluck",
183 | "poly": "Polytimos",
184 | "polytimos": "Polytimos",
185 | "padihash": "Padihash",
186 | "progpow": "Progpow",
187 | "pawelhash": "Pawelhash",
188 | "quark": "Quark",
189 | "quarkcoin": "Quark",
190 | "qubit": "Qubit",
191 | "qubitcoin": "Qubit",
192 | "rfv2": "Rfv2",
193 | "scryptjanenf": "ScryptJaneNF",
194 | "scryptjane": "ScryptJaneNF",
195 | "scryptjanenf": "ScryptJaneNF",
196 | "scryptn": "ScryptN",
197 | "scrypt": "Scrypt",
198 | "scryptjane:nf": "ScryptJaneNF",
199 | "scryptjanenf": "ScryptJaneNF",
200 | "scryptn": "ScryptN",
201 | "sha256": "SHA256",
202 | "sha256d": "SHA256d",
203 | "sha256t": "SHA256t",
204 | "sha3": "Keccak",
205 | "shabal": "Axiom",
206 | "shabal256": "Axiom",
207 | "shavite3": "shavite3",
208 | "sia": "sia",
209 | "sia": "Sia",
210 | "siacoin": "sia",
211 | "sib": "Sib",
212 | "sibcoinmod": "Sib",
213 | "sigt": "Skunk",
214 | "skein": "Skein",
215 | "skein2": "Skein2",
216 | "skeincoin": "Skein",
217 | "skunk": "Skunk",
218 | "skunkhash": "Skunk",
219 | "skunkhashraptor": "Skunk",
220 | "sonoa": "SonoA",
221 | "supcoin": "Pluck",
222 | "timetravel": "Timetravel",
223 | "timetravel10": "Bitcore",
224 | "trezarcoin": "NeoScrypt",
225 | "tribus": "Tribus",
226 | "unitus": "Argon2dUIS",
227 | "vanilla": "BlakeVanilla",
228 | "veltor": "Veltor",
229 | "vergeblake2s": "Blake2s",
230 | "vergelyra2re2": "Lyra2RE2",
231 | "vergelyra2rev2": "Lyra2RE2",
232 | "vergelyra2v2": "Lyra2RE2",
233 | "vergex17": "X17",
234 | "verus": "Verushash",
235 | "verushash": "Verushash",
236 | "vertcoin": "Lyra2RE2",
237 | "veil": "Veil",
238 | "vit": "Vitalium",
239 | "whirlpool": "whirlpool",
240 | "whirlpoolx": "whirlpoolX",
241 | "x11": "X11",
242 | "x11evo": "X11evo",
243 | "x11gost": "Sib",
244 | "x12": "X12",
245 | "x13": "X13",
246 | "x13sm3": "HSR",
247 | "x14": "X14",
248 | "x15": "X15",
249 | "x16r": "X16r",
250 | "x16s": "X16s",
251 | "x16rt": "X16rt",
252 | "x17": "X17",
253 | "x18": "X18",
254 | "x20r": "X20r",
255 | "x22i": "X22i",
256 | "x21s": "X21s",
257 | "xevan": "Xevan",
258 | "xevanmod": "Xevan",
259 | "xmg": "m7m",
260 | "xmr": "CryptoNightV7",
261 | "xvgblake2s": "Blake2s",
262 | "xvglyra2re2": "Lyra2RE2",
263 | "xvglyra2rev2": "Lyra2RE2",
264 | "xvglyra2v2": "Lyra2RE2",
265 | "xvgx17": "X17",
266 | "yenten": "YescryptR16",
267 | "yescrypt": "Yescrypt",
268 | "yescryptr16": "YescryptR16",
269 | "yescryptr32": "YescryptR32",
270 | "yescryptr8": "YescryptR8",
271 | "zcoin": "Lyra2z",
272 | "zec": "Equihash",
273 | "ziftr": "zr5",
274 | "zoin": "Lyra2z330",
275 | "zhash": "Zhash",
276 | "zuikkis": "Scrypt"
277 | }
278 |
--------------------------------------------------------------------------------
/BrainPlus/ahashpoolplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 60
9 | 30
10 | 0
11 | 1
12 | 60
13 | false
14 | .\BrainMemory-ahashpool.csv
15 | .\ahashpoolplus.json
16 | ahashpool
17 | https://www.ahashpool.com/api/status
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/BrainPlus/ahashpoolplus/BrainPlus.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | This file is part of NemosMiner
3 | Copyright (c) 2019 MrPlus
4 | NemosMiner is free software: you can redistribute it and/or modify
5 | it under the terms of the GNU General Public License as published by
6 | the Free Software Foundation, either version 3 of the License, or
7 | (at your option) any later version.
8 | NemosMiner is distributed in the hope that it will be useful,
9 | but WITHOUT ANY WARRANTY; without even the implied warranty of
10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 | GNU General Public License for more details.
12 | You should have received a copy of the GNU General Public License
13 | along with this program. If not, see .
14 | #>
15 |
16 | <#
17 | Product: NemosMiner
18 | File: BrainPlus.ps1
19 | version: 2.2
20 | version date: 7 January 2019
21 | #>
22 |
23 |
24 | set-location ($args[0])
25 | # Set Process priority
26 | (Get-Process -Id $PID).PriorityClass = "BelowNormal"
27 |
28 | function Get-Trendline {
29 | param ($data)
30 | $n = $data.count
31 | If ($n -le 1) {return 0}
32 | $sumX = 0
33 | $sumX2 = 0
34 | $sumXY = 0
35 | $sumY = 0
36 | for ($i = 1; $i -le $n; $i++) {
37 | $sumX += $i
38 | $sumX2 += ([Math]::Pow($i, 2))
39 | $sumXY += ($i) * ($data[$i - 1])
40 | $sumY += $data[$i - 1]
41 | }
42 | $b = [math]::Round(($sumXY - $sumX * $sumY / $n) / ($sumX2 - $sumX * $sumX / $n), 15)
43 | $a = [math]::Round($sumY / $n - $b * ($sumX / $n), 15)
44 | return @($a, $b)
45 | }
46 |
47 | function Get-Median {
48 | param(
49 | [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, Position = 0)]
50 | [Double[]]
51 | $Number
52 | )
53 | begin {
54 | $numberSeries += @()
55 | }
56 | process {
57 | $numberSeries += $number
58 | }
59 | end {
60 | $sortedNumbers = @($numberSeries | Sort-Object)
61 | if ($numberSeries.Count % 2) {
62 | $sortedNumbers[($sortedNumbers.Count / 2) - 1]
63 | }
64 | else {
65 | ($sortedNumbers[($sortedNumbers.Count / 2)] + $sortedNumbers[($sortedNumbers.Count / 2) - 1]) / 2
66 | }
67 | }
68 | }
69 |
70 | $AlgoObject = @()
71 | $MathObject = @()
72 | $MathObjectFormated = @()
73 | $TestDisplay = @()
74 | $PrevTrend = 0
75 |
76 | # Remove progress info from job.childjobs.Progress to avoid memory leak
77 | $ProgressPreference = "SilentlyContinue"
78 |
79 | # Fix TLS Version erroring
80 | [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
81 |
82 | While ($true) {
83 | #Get-Config{
84 | If (Test-Path ".\BrainConfig.xml") {
85 | $Config = Import-Clixml ".\BrainConfig.xml"
86 | $SampleSizeMinutes = $Config.SampleSizeMinutes
87 | $TrendSpanSizeMinutes = $Config.TrendSpanSizeMinutes
88 | $SampleHalfPower = $Config.SampleHalfPower
89 | $ManualPriceFactor = $Config.ManualPriceFactor
90 | $Interval = $Config.Interval
91 | $LogDataPath = $Config.LogDataPath
92 | $TransferFile = $Config.TransferFile
93 | $EnableLog = $Config.EnableLog
94 | $PoolName = $Config.PoolName
95 | $PoolStatusUri = $Config.PoolStatusUri
96 | }
97 | else {return}
98 | $CurDate = Get-Date
99 | $RetryInterval = 0
100 | try {$AlgoData = Invoke-WebRequest $PoolStatusUri -TimeoutSec 15 -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
101 | }
102 | catch {$RetryInterval = $Interval}
103 | Foreach ($Algo in ($AlgoData | gm -MemberType NoteProperty).Name) {
104 | $BasePrice = If ($AlgoData.($Algo).actual_last24h) {$AlgoData.($Algo).actual_last24h / 1000} else {$AlgoData.($Algo).estimate_last24h / 1000}
105 | $AlgoObject += [PSCustomObject]@{
106 | Date = $CurDate
107 | Name = $AlgoData.($Algo).name
108 | Port = $AlgoData.($Algo).port
109 | coins = $AlgoData.($Algo).coins
110 | Fees = $AlgoData.($Algo).Fees
111 | Hashrate = $AlgoData.($Algo).Hashrate
112 | Workers = $AlgoData.($Algo).Workers
113 | estimate_current = $AlgoData.($Algo).estimate_current -as [Decimal]
114 | estimate_last24h = $AlgoData.($Algo).estimate_last24h
115 | actual_last24h = $BasePrice
116 | hashrate_last24h = $AlgoData.($Algo).hashrate_last24h
117 | Last24Drift = $AlgoData.($Algo).estimate_current - $BasePrice
118 | Last24DriftSign = If (($AlgoData.($Algo).estimate_current - $BasePrice) -ge 0) {"Up"} else {"Down"}
119 | Last24DriftPercent = if ($BasePrice -gt 0) {($AlgoData.($Algo).estimate_current - $BasePrice) / $BasePrice} else {0}
120 | FirstDate = ($AlgoObject[0]).Date
121 | TimeSpan = If ($AlgoObject.Date -ne $null) {(New-TimeSpan -Start ($AlgoObject[0]).Date -End $CurDate).TotalMinutes}
122 | }
123 | }
124 |
125 | # Created here for performance optimization, minimize # of lookups
126 | $FirstAlgoObject = $AlgoObject[0] # | ? {$_.date -eq ($AlgoObject.Date | measure -Minimum).Minimum}
127 | $CurAlgoObject = $AlgoObject | ? {$_.date -eq $CurDate}
128 | $TrendSpanSizets = New-TimeSpan -Minutes $TrendSpanSizeMinutes
129 | $SampleSizets = New-TimeSpan -Minutes $SampleSizeMinutes
130 | $SampleSizeHalfts = New-TimeSpan -Minutes ($SampleSizeMinutes / 2)
131 | $GroupAvgSampleSize = $AlgoObject | ? {$_.Date -ge ($CurDate - $SampleSizets)} | group Name, Last24DriftSign | select Name, Count, @{Name = "Avg"; Expression = {($_.group.Last24DriftPercent | measure -Average).Average}}, @{Name = "Median"; Expression = {Get-Median $_.group.Last24DriftPercent}}
132 | $GroupMedSampleSize = $AlgoObject | ? {$_.Date -ge ($CurDate - $SampleSizets)} | group Name | select Name, Count, @{Name = "Avg"; Expression = {($_.group.Last24DriftPercent | measure -Average).Average}}, @{Name = "Median"; Expression = {Get-Median $_.group.Last24DriftPercent}}
133 | $GroupAvgSampleSizeHalf = $AlgoObject | ? {$_.Date -ge ($CurDate - $SampleSizeHalfts)} | group Name, Last24DriftSign | select Name, Count, @{Name = "Avg"; Expression = {($_.group.Last24DriftPercent | measure -Average).Average}}, @{Name = "Median"; Expression = {Get-Median $_.group.Last24DriftPercent}}
134 | $GroupMedSampleSizeHalf = $AlgoObject | ? {$_.Date -ge ($CurDate - $SampleSizeHalfts)} | group Name | select Name, Count, @{Name = "Avg"; Expression = {($_.group.Last24DriftPercent | measure -Average).Average}}, @{Name = "Median"; Expression = {Get-Median $_.group.Last24DriftPercent}}
135 | $GroupMedSampleSizeNoPercent = $AlgoObject | ? {$_.Date -ge ($CurDate - $SampleSizets)} | group Name | select Name, Count, @{Name = "Avg"; Expression = {($_.group.Last24DriftPercent | measure -Average).Average}}, @{Name = "Median"; Expression = {Get-Median $_.group.Last24Drift}}
136 |
137 | Foreach ($Name in ($AlgoObject.Name | Select -Unique)) {
138 | $PenaltySampleSize = ((($GroupAvgSampleSize | ? {$_.Name -eq $Name + ", Up"}).Count - ($GroupAvgSampleSize | ? {$_.Name -eq $Name + ", Down"}).Count) / (($GroupMedSampleSize | ? {$_.Name -eq $Name}).Count)) * [math]::abs(($GroupMedSampleSize | ? {$_.Name -eq $Name}).Median)
139 | $PenaltySampleSizeHalf = ((($GroupAvgSampleSizeHalf | ? {$_.Name -eq $Name + ", Up"}).Count - ($GroupAvgSampleSizeHalf | ? {$_.Name -eq $Name + ", Down"}).Count) / (($GroupMedSampleSizeHalf | ? {$_.Name -eq $Name}).Count)) * [math]::abs(($GroupMedSampleSizeHalf | ? {$_.Name -eq $Name}).Median)
140 | $PenaltySampleSizeNoPercent = ((($GroupAvgSampleSize | ? {$_.Name -eq $Name + ", Up"}).Count - ($GroupAvgSampleSize | ? {$_.Name -eq $Name + ", Down"}).Count) / (($GroupMedSampleSize | ? {$_.Name -eq $Name}).Count)) * [math]::abs(($GroupMedSampleSizeNoPercent | ? {$_.Name -eq $Name}).Median)
141 | $Penalty = ($PenaltySampleSizeHalf * $SampleHalfPower + $PenaltySampleSizeNoPercent) / ($SampleHalfPower + 1)
142 | $LiveTrend = ((Get-Trendline ($AlgoObjects | ? {$_.Name -eq $Name}).estimate_current)[1])
143 | $Price = ($Penalty) + ($CurAlgoObject | ? {$_.Name -eq $Name}).actual_last24h
144 |
145 | $MathObject += [PSCustomObject]@{
146 | Name = $Name
147 | DriftAvg = (($CurAlgoObject | ? {$_.Name -eq $Name}).Last24DriftPercent | measure -Average).Average
148 | TimeSpan = ($CurAlgoObject | ? {$_.Name -eq $Name}).TimeSpan
149 | UpDriftAvg = ($GroupAvgSampleSize | ? {$_.Name -eq $Name + ", Up"}).Avg
150 | DownDriftAvg = ($GroupAvgSampleSize | ? {$_.Name -eq $Name + ", Down"}).Avg
151 | Penalty = $Penalty
152 | PlusPrice = $Price
153 | CurrentLive = ($CurAlgoObject | ? {$_.Name -eq $Name}).estimate_current
154 | Current24hr = ($CurAlgoObject | ? {$_.Name -eq $Name}).actual_last24h
155 | Date = $CurDate
156 | LiveTrend = $LiveTrend
157 | }
158 | $AlgoData.($Name).actual_last24h = $Price
159 | }
160 | if ($EnableLog) {$MathObject | Export-Csv -NoTypeInformation -Append $LogDataPath}
161 | ($AlgoData | ConvertTo-Json).replace("NaN", 0) | Set-Content $TransferFile
162 |
163 | # Limit to only sample size + 10 minutes min history
164 | $AlgoObject = $AlgoObject | ? {$_.Date -ge $CurDate.AddMinutes( - ($SampleSizeMinutes + 10))}
165 | (($GroupMedSampleSize | ? {$_.Name -eq $Name}).Count)
166 |
167 | $MathObject = @()
168 | Sleep ($Interval + $RetryInterval - (Get-Date).Second)
169 | }
170 |
171 |
172 |
173 |
174 |
--------------------------------------------------------------------------------
/BrainPlus/blazepoolplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 60
9 | 30
10 | 0
11 | 1
12 | 60
13 | false
14 | .\BrainMemory-BlazePool.csv
15 | .\blazepoolplus.json
16 | blazepool
17 | http://api.blazepool.com/status
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/BrainPlus/blockmastersplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 45
9 | 30
10 | 0
11 | 1
12 | 60
13 | 10
14 | 1
15 | false
16 | false
17 | .\BrainMemory-BlockMasters.csv
18 | .\blockmastersplus.json
19 | blockmasters
20 | http://blockmasters.co/api/status
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/BrainPlus/hashrefineryplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 60
9 | 30
10 | 0
11 | 1
12 | 60
13 | false
14 | .\BrainMemory-HashRefinery.csv
15 | .\hashrefineryplus.json
16 | hashrefinery
17 | http://pool.hashrefinery.com/api/status
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/BrainPlus/nlpoolplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 45
9 | 30
10 | 0
11 | 1
12 | 60
13 | 10
14 | 1
15 | false
16 | false
17 | .\BrainMemory-nlPool.csv
18 | .\nlpoolplus.json
19 | nlpool
20 | http://www.nlpool.nl/api/status
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/BrainPlus/phiphipoolplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 60
9 | 30
10 | 0
11 | 1
12 | 60
13 | false
14 | .\BrainMemory-phiphipool.csv
15 | .\phiphipoolplus.json
16 | phiphipool
17 | https://phi-phi-pool.com/api/status
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/BrainPlus/zergpoolplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 45
9 | 30
10 | 0
11 | 1
12 | 60
13 | 10
14 | 1
15 | false
16 | false
17 | .\BrainMemory-ZergPool.csv
18 | .\zergpoolplus.json
19 | zergpool
20 | http://api.zergpool.com:8080/api/status
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/BrainPlus/zpoolplus/BrainConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Management.Automation.PSCustomObject
5 | System.Object
6 |
7 |
8 | 45
9 | 30
10 | 0
11 | 1
12 | 60
13 | 10
14 | 1
15 | false
16 | false
17 | .\BrainMemory-zpool.csv
18 | .\zpoolplus.json
19 | zpool
20 | http://www.zpool.ca/api/status
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Config/PoolsConfig-ExampleAll.json:
--------------------------------------------------------------------------------
1 | {
2 | "default": {
3 | "UserName": "nemo",
4 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
5 | "WorkerName": "ID=NemosMiner",
6 | "PricePenaltyFactor": 1
7 | },
8 | "ahashpool": {
9 | "UserName": "nemo",
10 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
11 | "WorkerName": "ID=NemosMiner3.0",
12 | "PricePenaltyFactor": 1
13 | },
14 | "ahashpool24hr": {
15 | "UserName": "nemo",
16 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
17 | "WorkerName": "ID=NemosMiner",
18 | "PricePenaltyFactor": 1
19 | },
20 | "ahashpoolplus": {
21 | "UserName": "nemo",
22 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
23 | "WorkerName": "ID=NemosMiner",
24 | "PricePenaltyFactor": 1
25 | },
26 | "blazepool": {
27 | "UserName": "nemo",
28 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
29 | "WorkerName": "ID=NemosMiner",
30 | "PricePenaltyFactor": 1
31 | },
32 | "blazepool24hr": {
33 | "UserName": "nemo",
34 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
35 | "WorkerName": "ID=NemosMiner",
36 | "PricePenaltyFactor": 1
37 | },
38 | "blazepoolplus": {
39 | "UserName": "nemo",
40 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
41 | "WorkerName": "ID=NemosMiner",
42 | "PricePenaltyFactor": 1
43 | },
44 | "hashrefinery": {
45 | "UserName": "nemo",
46 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
47 | "WorkerName": "ID=NemosMiner",
48 | "PricePenaltyFactor": 1
49 | },
50 | "minemoney": {
51 | "UserName": "nemo",
52 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
53 | "WorkerName": "ID=NemosMiner",
54 | "PricePenaltyFactor": 1
55 | },
56 | "minemoney24hr": {
57 | "UserName": "nemo",
58 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
59 | "WorkerName": "ID=NemosMiner",
60 | "PricePenaltyFactor": 1
61 | },
62 | "miningpoolhub": {
63 | "UserName": "nemo",
64 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
65 | "WorkerName": "NemosMiner",
66 | "PricePenaltyFactor": 1,
67 | "APIKey": ""
68 | },
69 | "nicehash": {
70 | "UserName": "nemo",
71 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
72 | "WorkerName": "NemosMiner",
73 | "PricePenaltyFactor": 1
74 | },
75 | "zergpool": {
76 | "UserName": "nemo",
77 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
78 | "WorkerName": "ID=NemosMiner",
79 | "PricePenaltyFactor": 1
80 | },
81 | "zergpool24hr": {
82 | "UserName": "nemo",
83 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
84 | "WorkerName": "ID=NemosMiner",
85 | "PricePenaltyFactor": 1
86 | },
87 | "zergpoolplus": {
88 | "UserName": "nemo",
89 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
90 | "WorkerName": "ID=NemosMiner",
91 | "PricePenaltyFactor": 1
92 | },
93 | "zpool": {
94 | "UserName": "nemo",
95 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
96 | "WorkerName": "ID=NemosMiner",
97 | "PricePenaltyFactor": 1
98 | },
99 | "zpool24hr": {
100 | "UserName": "nemo",
101 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
102 | "WorkerName": "ID=NemosMiner",
103 | "PricePenaltyFactor": 1
104 | },
105 | "zpoolplus": {
106 | "UserName": "nemo",
107 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
108 | "WorkerName": "ID=NemosMiner",
109 | "PricePenaltyFactor": 1
110 | }
111 | }
112 |
--------------------------------------------------------------------------------
/Config/PoolsConfig-NHInternal.json:
--------------------------------------------------------------------------------
1 | {
2 | "default": {
3 | "UserName": "nemo",
4 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
5 | "WorkerName": "ID=NemosMiner",
6 | "PricePenaltyFactor": 1
7 | },
8 | "nicehash": {
9 | "UserName": "nemo",
10 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
11 | "WorkerName": "NemosMiner",
12 | "PricePenaltyFactor": 1
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Config/PoolsConfig-x21sOnPhiPhi.json:
--------------------------------------------------------------------------------
1 | {
2 | "default": {
3 | "PricePenaltyFactor": 1,
4 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
5 | "UserName": "nemo",
6 | "WorkerName": "NemosMiner",
7 | "APIKey": ""
8 | },
9 | "phiphipoolplus": {
10 | "PricePenaltyFactor": 0.97,
11 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
12 | "UserName": "nemo",
13 | "WorkerName": "NemosMiner",
14 | "APIKey": "",
15 | "Algorithm": [
16 | "+x21s"
17 | ]
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Config/PoolsConfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "default": {
3 | "PricePenaltyFactor": 1,
4 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
5 | "UserName": "nemo",
6 | "WorkerName": "ID=NemosMiner",
7 | "APIKey": ""
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Config/Version.json:
--------------------------------------------------------------------------------
1 | {
2 | "Product": "NemosMiner",
3 | "Version": "3.8.0.0",
4 | "Update": false,
5 | "Message": "https://github.com/nemosminer/NemosMiner/releases"
6 | }
7 |
--------------------------------------------------------------------------------
/Config/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "ActiveMinerGainPct": 24,
3 | "Algorithm": [
4 | ""
5 | ],
6 | "API_ID": 0,
7 | "API_Key": "",
8 | "APIKEY": "373a71335e010d6928766a5cce6365b5e7f75ef798d0f6353ceca27f782d795b",
9 | "Autostart": false,
10 | "AutoUpdate": false,
11 | "Count": 0,
12 | "Currency": "USD",
13 | "Delay": 1,
14 | "DisableGPU0": false,
15 | "Donate": 5,
16 | "EnableEarningsTrackerLogs": false,
17 | "FirstInterval": 30,
18 | "HideConsole": false,
19 | "IdleSec": 120,
20 | "IncludeOptionalMiners": false,
21 | "IncludeRegularMiners": false,
22 | "Interval": 120,
23 | "IsFixedSize": false,
24 | "IsReadOnly": false,
25 | "IsSynchronized": true,
26 | "Keys": [
27 |
28 | ],
29 | "Location": "US",
30 | "ManualConfig": false,
31 | "MarginOfError": 0,
32 | "MinerName": null,
33 | "MineWhenIdle": false,
34 | "MonitoringServer": "https://nemosminer.com",
35 | "MonitoringUser": "",
36 | "Passwordcurrency": "BTC",
37 | "PoolName": [
38 | "zpoolplus",
39 | "miningpoolhub",
40 | "nlpoolplus",
41 | "nicehash",
42 | "zergpoolplus"
43 | ],
44 | "Proxy": "",
45 | "ReportToServer": false,
46 | "SSL": false,
47 | "StartGUIMinimized": false,
48 | "StartPaused": false,
49 | "StatsInterval": 180,
50 | "SyncRoot": {
51 |
52 | },
53 | "TrackEarnings": true,
54 | "Type": [
55 | "NVIDIA"
56 | ],
57 | "TypeCPU": false,
58 | "TypeNVIDIA": true,
59 | "UIStyle": "Full",
60 | "UserName": "nemo",
61 | "Values": [
62 |
63 | ],
64 | "Wallet": "1QGADhdMRpp9Pk5u5zG1TrHKRrdK5R81TE",
65 | "WorkerName": "NemosMiner"
66 | }
67 |
--------------------------------------------------------------------------------
/CustomMiners/CustomMiners.txt:
--------------------------------------------------------------------------------
1 | # this folder is used for User selected miner.ps1 files
2 |
3 | # Users can place any miner.ps1 from miners/optionalminers or custom user created miner.ps1 files, in CustomMiners folder
4 |
5 | # CustomMiners folder is always active
6 |
7 | # leaving RegularMiners and OptionalMiners disabled in config will enable CustomMiners folder only
8 |
--------------------------------------------------------------------------------
/EarningsTrackerJob.ps1:
--------------------------------------------------------------------------------
1 | <#
2 | EarningsTrackerJob written by MrPlus
3 | Copyright (c) 2018 MrPlus
4 | NemosMiner is free software: you can redistribute it and/or modify
5 | it under the terms of the GNU General Public License as published by
6 | the Free Software Foundation, either version 3 of the License, or
7 | (at your option) any later version.
8 | NemosMiner is distributed in the hope that it will be useful, See the
9 | GNU General Public License for more details.
10 | You should have received a copy of the GNU General Public License
11 | along with this program. If not, see .
12 | #>
13 |
14 | <#
15 | Product: NemosMiner
16 | File: EarningsTrackerJob.ps1
17 | version: 3.8.0.0
18 | version date: 16 May 2019
19 | #>
20 |
21 | # param(
22 | # [Parameter(Mandatory=$false)]
23 | # [String]$Pool = "zpool",
24 | # [Parameter(Mandatory=$false)]
25 | # [String]$Wallet = "",
26 | # [Parameter(Mandatory=$false)]
27 | # [String]$APIUri,
28 | # [Parameter(Mandatory=$false)]
29 | # [Float]$PaymentThreshold = 0.0025,
30 | # [Parameter(Mandatory=$false)]
31 | # [Int]$Interval = 10,
32 | # [Parameter(Mandatory=$false)]
33 | # [Bool]$EnableLog = $false,
34 | # [Parameter(Mandatory=$false)]
35 | # [Bool]$ShowText = $true,
36 | # [Parameter(Mandatory=$false)]
37 | # [Bool]$ShowRawData = $true,
38 | # [Parameter(Mandatory=$false)]
39 | # [String]$WorkingDirectory = $true
40 | # )
41 | # To start the job one could use the following
42 | # $job = Start-Job -FilePath .\EarningTrackerJob.ps1 -ArgumentList $params
43 |
44 | # Remove progress info from job.childjobs.Progress to avoid memory leak
45 | $ProgressPreference = "SilentlyContinue"
46 |
47 | # Fix TLS version erroring
48 | [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls"
49 |
50 | # Set Process Priority
51 | (Get-Process -Id $PID).PriorityClass = "BelowNormal"
52 |
53 | $args[0].GetEnumerator() | ForEach-Object { New-Variable -Name $_.Key -Value $_.Value }
54 | If ($WorkingDirectory) {Set-Location $WorkingDirectory}
55 |
56 | sleep $StartDelay
57 |
58 | if (-not $APIUri) {
59 | try {
60 | $poolapi = Invoke-WebRequest "https://nemosminer.com/data/poolapiref.json" -TimeoutSec 15 -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
61 | }
62 | catch {$poolapi = Get-content ".\Config\poolapiref.json" | Convertfrom-json}
63 | if ($poolapi -ne $null) {
64 | $poolapi | ConvertTo-json | Out-File ".\Config\poolapiref.json"
65 | If (($poolapi | ? {$_.Name -eq $pool}).EarnTrackSupport -eq "yes") {
66 | $APIUri = ($poolapi | ? {$_.Name -eq $pool}).WalletUri
67 | $PaymentThreshold = ($poolapi | ? {$_.Name -eq $pool}).PaymentThreshold
68 | $BalanceJson = ($poolapi | ? {$_.Name -eq $pool}).Balance
69 | $TotalJson = ($poolapi | ? {$_.Name -eq $pool}).Total
70 | }
71 | else {return}
72 | }
73 | }
74 |
75 | $BalanceObjectS = @()
76 | $TrustLevel = 0
77 |
78 | while ($true) {
79 | $CurDate = Get-Date
80 | If ($Pool -eq "nicehash") {
81 | try {
82 | $TempBalanceData = Invoke-WebRequest ($APIUri + $Wallet) -TimeoutSec 15 -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
83 | }
84 | catch { }
85 | if (-not $TempBalanceData.$BalanceJson) {$TempBalanceData | Add-Member -NotePropertyName $BalanceJson -NotePropertyValue ([decimal]($TempBalanceData.result.Stats | measure -sum $BalanceJson).sum) -Force}
86 | if (-not $TempBalanceData.$TotalJson) {$TempBalanceData | Add-Member -NotePropertyName $TotalJson -NotePropertyValue ([decimal]($TempBalanceData.result.Stats | measure -sum $BalanceJson).sum) -Force}
87 | }
88 | elseif ($Pool -eq "miningpoolhub") {
89 | try {
90 | $TempBalanceData = ((((Invoke-WebRequest ($APIUri + $Wallet) -TimeoutSec 15 -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"}).content | ConvertFrom-Json).getuserallbalances).data | Where {$_.coin -eq "bitcoin"})
91 | }
92 | catch { }#.confirmed
93 | }
94 | else {
95 | try {
96 | $TempBalanceData = Invoke-WebRequest ($APIUri + $Wallet) -TimeoutSec 15 -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
97 | }
98 | catch { }
99 | }
100 | If ($TempBalanceData.$BalanceJson) {$BalanceData = $TempBalanceData}
101 |
102 | $BalanceObjectS += [PSCustomObject]@{
103 | Date = $CurDate
104 | balance = $BalanceData.$BalanceJson
105 | unsold = $BalanceData.unsold
106 | total_unpaid = $BalanceData.total_unpaid
107 | total_paid = $BalanceData.total_paid
108 | total_earned = $BalanceData.$TotalJson
109 | currency = $BalanceData.currency
110 | }
111 | $BalanceObject = $BalanceObjectS[$BalanceOjectS.Count - 1]
112 | If ((($CurDate - ($BalanceObjectS[0].Date)).TotalMinutes) -eq 0) {$CurDate = $CurDate.AddMinutes(1)}
113 |
114 |
115 |
116 | If ((($CurDate - ($BalanceObjectS[0].Date)).TotalDays) -ge 1) {
117 | $Growth1 = $BalanceObject.total_earned - (($BalanceObjectS | ? {$_.Date -ge $CurDate.AddHours(-1)}).total_earned | measure -Minimum).Minimum
118 | $Growth6 = $BalanceObject.total_earned - (($BalanceObjectS | ? {$_.Date -ge $CurDate.AddHours(-6)}).total_earned | measure -Minimum).Minimum
119 | $Growth24 = $BalanceObject.total_earned - (($BalanceObjectS | ? {$_.Date -ge $CurDate.AddDays(-1)}).total_earned | measure -Minimum).Minimum
120 | }
121 | If ((($CurDate - ($BalanceObjectS[0].Date)).TotalDays) -lt 1) {
122 | $Growth1 = $BalanceObject.total_earned - (($BalanceObjectS | ? {$_.Date -ge $CurDate.AddHours(-1)}).total_earned | measure -Minimum).Minimum
123 | $Growth6 = $BalanceObject.total_earned - (($BalanceObjectS | ? {$_.Date -ge $CurDate.AddHours(-6)}).total_earned | measure -Minimum).Minimum
124 | $Growth24 = (($BalanceObject.total_earned - $BalanceObjectS[0].total_earned) / ($CurDate - ($BalanceObjectS[0].Date)).TotalHours) * 24
125 | }
126 | If ((($CurDate - ($BalanceObjectS[0].Date)).TotalHours) -lt 6) {
127 | $Growth1 = $BalanceObject.total_earned - (($BalanceObjectS | ? {$_.Date -ge $CurDate.AddHours(-1)}).total_earned | measure -Minimum).Minimum
128 | $Growth6 = (($BalanceObject.total_earned - $BalanceObjectS[0].total_earned) / ($CurDate - ($BalanceObjectS[0].Date)).TotalHours) * 6
129 | }
130 | If ((($CurDate - ($BalanceObjectS[0].Date)).TotalHours) -lt 1) {
131 | $Growth1 = (($BalanceObject.total_earned - $BalanceObjectS[0].total_earned) / ($CurDate - ($BalanceObjectS[0].Date)).TotalMinutes) * 60
132 | }
133 |
134 | $AvgBTCHour = If ((($CurDate - ($BalanceObjectS[0].Date)).TotalHours) -ge 1) {(($BalanceObject.total_earned - $BalanceObjectS[0].total_earned) / ($CurDate - ($BalanceObjectS[0].Date)).TotalHours)} else {$Growth1}
135 | $EarningsObject = [PSCustomObject]@{
136 | Pool = $pool
137 | Wallet = $Wallet
138 | Date = $CurDate
139 | StartTime = $BalanceObjectS[0].Date
140 | balance = $BalanceObject.balance
141 | unsold = $BalanceObject.unsold
142 | total_unpaid = $BalanceObject.total_unpaid
143 | total_paid = $BalanceObject.total_paid
144 | total_earned = $BalanceObject.total_earned
145 | currency = $BalanceObject.currency
146 | GrowthSinceStart = $BalanceObject.total_earned - $BalanceObjectS[0].total_earned
147 | Growth1 = $Growth1
148 | Growth6 = $Growth6
149 | Growth24 = $Growth24
150 | AvgHourlyGrowth = $AvgBTCHour
151 | BTCD = $AvgBTCHour * 24
152 | EstimatedEndDayGrowth = If ((($CurDate - ($BalanceObjectS[0].Date)).TotalHours) -ge 1) {($AvgBTCHour * ((Get-Date -Hour 0 -Minute 00 -Second 00).AddDays(1).AddSeconds(-1) - $CurDate).Hours)} else {$Growth1 * ((Get-Date -Hour 0 -Minute 00 -Second 00).AddDays(1).AddSeconds(-1) - $CurDate).Hours}
153 | EstimatedPayDate = if ($PaymentThreshold) {IF ($BalanceObject.balance -lt $PaymentThreshold) {If ($AvgBTCHour -gt 0) {$CurDate.AddHours(($PaymentThreshold - $BalanceObject.balance) / $AvgBTCHour)} Else {"Unknown"}} else {"Next Payout !"}}else {"Unknown"}
154 | TrustLevel = if (($CurDate - ($BalanceObjectS[0].Date)).TotalMinutes -le 360) {($CurDate - ($BalanceObjectS[0].Date)).TotalMinutes / 360}else {1}
155 | PaymentThreshold = $PaymentThreshold
156 | TotalHours = ($CurDate - ($BalanceObjectS[0].Date)).TotalHours
157 | }
158 |
159 | $EarningsObject
160 | if ($EnableLog) {$EarningsObject | Export-Csv -NoTypeInformation -Append ".\Logs\EarningTracker-$($Pool).csv"}
161 |
162 |
163 | If ($BalanceObjectS.Count -gt 1) {$BalanceObjectS = $BalanceObjectS | ? {$_.Date -ge $CurDate.AddDays(-1).AddHours(-1)}}
164 |
165 | # Some pools do reset "Total" after payment (zpool)
166 | # Results in showing bad negative earnings
167 | # Detecting if current is more than 50% less than previous and reset history if so
168 | If ($BalanceObject.total_earned -lt ($BalanceObjectS[$BalanceObjectS.Count - 2].total_earned / 2)) {$BalanceObjectS = @(); $BalanceObjectS += $BalanceObject}
169 |
170 |
171 | # Sleep until next update based on $Interval. Modulo $Interval.
172 | # Sleep (60*($Interval-((get-date).minute%$Interval))) # Changed to avoid pool API load.
173 | If (($EarningsObject.Date - $EarningsObject.StartTime).TotalMinutes -le 20) {
174 | Sleep (60 * ($Interval / 2))
175 | }
176 | else {
177 | Sleep (60 * ($Interval))
178 | }
179 | }
180 |
--------------------------------------------------------------------------------
/Miners/OptBF.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CPU-cpuminerOptBF\cpuminer-aes-sse42.exe"
4 | $Uri = "https://github.com/bellflower2015/cpuminer-opt/releases/download/v3.8.11-bf/cpuminer-opt-v3.8.11-bf-win64.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | # "allium" = "" #Allium
8 | #"bitcore" = "" #Bitcore
9 | #"blake2s" = "" #Blake2s
10 | #"blakecoin" = "" #Blakecoin
11 | "yespowerr16" = "" #YespowerR16
12 | #"vanilla" = "" #BlakeVanilla
13 | #"c11" = "" #C11
14 | # "cryptonight" = "" #CryptoNight
15 | #"cryptonightv7" = "" #cryptonightv7
16 | #"decred" = "" #Decred
17 | #"equihash" = "" #Equihash
18 | #"ethash" = "" #Ethash
19 | #"groestl" = "" #Groestl
20 | # "hmq1725" = "" #HMQ1725
21 | # "hodl" = "" #Hodl
22 | #"jha" = "" #JHA
23 | #"keccak" = "" #Keccak
24 | #"lbry" = "" #Lbry
25 | #"lyra2v2" = "" #Lyra2RE2
26 | # "lyra2z" = "" #Lyra2z
27 | # "m7m" = "" #m7m
28 | #"myr-gr" = "" #MyriadGroestl
29 | #"neoscrypt" = "" #NeoScrypt
30 | #"nist5" = "" #Nist5
31 | #"pascal" = "" #Pascal
32 | #"sib" = "" #Sib
33 | #"skein" = "" #Skein
34 | #"skunk" = "" #Skunk
35 | #"timetravel" = "" #Timetravel
36 | #"tribus" = "" #Tribus
37 | #"veltor" = "" #Veltor
38 | #"x11evo" = "" #X11evo
39 | #"x17" = "" #X17
40 | # "x16r" = "" #X16r
41 | # "yescrypt" = "" #Yescrypt
42 | # "yespower" = "" #Yespower
43 | # "yescryptr16" = "" #YescryptR16
44 | # "yescryptr32" = "" #YescryptR32
45 | }
46 |
47 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
48 |
49 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
50 |
51 | switch ($_) {
52 | "hodl" {$ThreadCount = $Variables.ProcessorCount}
53 | "binarium-v1" {$ThreadCount = $Variables.ProcessorCount}
54 | default {$ThreadCount = $Variables.ProcessorCount - 2}
55 | }
56 |
57 | $Algo = Get-Algorithm($_)
58 | [PSCustomObject]@{
59 | Type = "CPU"
60 | Path = $Path
61 | Arguments = "--cpu-affinity AAAA -q -t $($ThreadCount) -b $($Variables.CPUMinerAPITCPPort) -a $($Algo) -o $($Pools.($Algo).Protocol)://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
62 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week * 0.68 } # Account for rejected share. Work with pool ops to fix.
63 | API = "Ccminer"
64 | Port = $Variables.CPUMinerAPITCPPort
65 | Wrap = $false
66 | URI = $Uri
67 | User = $Pools.($Algo).User
68 | Host = $Pools.($Algo).Host
69 | Coin = $Pools.($Algo).Coin
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Miners/bminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Bminer1553\bminer.exe"
4 | $Uri = "https://www.bminercontent.com/releases/bminer-lite-v15.5.3-747d98e-amd64.zip"
5 | $Commands = [PSCustomObject]@{
6 | #"equihashBTG" = " -uri zhash://" #EquihashBTG
7 | #"equihash144" = " -pers auto -uri equihash1445://" #Equihash144
8 | #"zhash" = " -pers auto -uri equihash1445://" #Zhash
9 | #"ethash" = " -uri ethstratum://" #Ethash
10 | #"cuckoocycle" = " -uri aeternity://" #aeternity
11 | "beam" = " -uri beam://" #beam
12 | "grincuckaroo29" = " -uri cuckaroo29://" #grincuckaroo29
13 | #"grincuckatoo31" = " -uri cuckatoo31://" #grincuckatoo31 (8gb cards work win7,8, 8.1 & Linux. Win10 requires 10gb+vram)
14 |
15 | }
16 | $Port = $Variables.NVIDIAMinerAPITCPPort
17 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
18 |
19 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
20 | $Algo = Get-Algorithm($_)
21 | $Pass = If ($Pools.($Algo).Pass -like "*,*") {$Pools.($Algo).Pass.ToString().replace(',','%2C')} else {$Pools.($Algo).Pass}
22 | [PSCustomObject]@{
23 | Type = "NVIDIA"
24 | Path = $Path
25 | Arguments = "$($Commands.$_)$($Pools.($Algo).User):$($Pass)@$($Pools.($Algo).Host):$($Pools.($Algo).Port) --fast -max-temperature 94 -nofee -devices $($Config.SelGPUCC) -api 127.0.0.1:$Port"
26 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
27 | API = "bminer"
28 | Port = $Port
29 | Wrap = $false
30 | URI = $Uri
31 | User = $Pools.($Algo).User
32 | Host = $Pools.($Algo).Host
33 | Coin = $Pools.($Algo).Coin
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Miners/ccmineralexis78.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Alexis7815\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminerAlexis78/releases/download/Alexis78-v1.5/ccminerAlexis78v1.5.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | #"keccak" = " -N 2 -m 2 -i 29 -d $($Config.SelGPUCC)" #Keccak
8 | #"keccakc" = " -N 2 -i 29 -d $($Config.SelGPUCC)" #Keccakc
9 | #"lyra2v2" = " -d $($Config.SelGPUCC) -N 1" #Lyra2RE2
10 | #"poly" = " -N 1 -d $($Config.SelGPUCC)" #polytimos
11 | #"skein" = " -i 28 -N 2 -d $($Config.SelGPUCC)" #Skein
12 | "skein2" = " -i 29 -d $($Config.SelGPUCC)" #Skein2 1080ti 2080/ti can handle -i 31 for little xtra hashrate
13 | "x11evo" = " -i 20.75 -d $($Config.SelGPUCC) " #X11evo
14 | #"bitcore" = "" #Bitcore
15 | #"blake2s" = " -r 0 -d $($Config.SelGPUCC)" #Blake2s
16 | #"c11" = " -N 1 -i 21 -d $($Config.SelGPUCC)" #C11
17 | #"cryptonight" = "" #Cryptonight
18 | #"decred" = "" #Decred
19 | #"equihash" = "" #Equihash
20 | #"ethash" = "" #Ethash
21 | #"groestl" = "" #Groestl
22 | #"hmq1725" = "" #hmq1725
23 | #"hsr" = " -N 1 -d $($Config.SelGPUCC)" #Hsr(testing)
24 | #"lbry" = " -d $($Config.SelGPUCC)" #Lbry
25 | #"lyra2z" = "" #Lyra2z
26 | #"myr-gr" = " -d $($Config.SelGPUCC) -N 1" #MyriadGroestl
27 | #"neoscrypt" = " -i 15 -d $($Config.SelGPUCC)" #NeoScrypt
28 | #"nist5" = " -r 0 -d $($Config.SelGPUCC)" #Nist5
29 | #"pascal" = "" #Pascal
30 | #"qubit" = "" #Qubit
31 | #"scrypt" = "" #Scrypt
32 | #"sia" = "" #Sia
33 | #"sib" = " -i 21 -d $($Config.SelGPUCC)" #Sib
34 | #"timetravel" = "" #Timetravel
35 | #"vanilla" = "" #BlakeVanilla
36 | #"veltor" = " -i 23 -d $($Config.SelGPUCC)" #Veltor(fastest)
37 | #"x11gost" = " -i 21 -d $($Config.SelGPUCC) --api-remote" #X11gost
38 | #"x13" = " -d $($Config.SelGPUCC) -i 20 -N 1" #X13
39 | #"x17" = " -N 1 -i 20 -d $($Config.SelGPUCC)" #X17
40 | #"yescrypt" = "" #Yescrypt
41 | }
42 |
43 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
44 |
45 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
46 | $Algo = Get-Algorithm($_)
47 | [PSCustomObject]@{
48 | Type = "NVIDIA"
49 | Path = $Path
50 | Arguments = "--cuda-schedule 2 -N 1 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -a $_ -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
51 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
52 | API = "ccminer"
53 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
54 | Wrap = $false
55 | URI = $Uri
56 | User = $Pools.($Algo).User
57 | Host = $Pools.($Algo).Host
58 | Coin = $Pools.($Algo).Coin
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/Miners/ccminerdyn.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminerdyn102\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/Dynamic-GPU-Miner-Nvidia/releases/download/v1.0.2/ccminerdyn.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "argon2d-dyn" = "" #argon2d-dyn
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cpu-priority 4 -N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -a argon2d -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ccminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/ccminerklaust.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-CcminerKlausTv3\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminer-KlausT-8.21-mod-r18-src-fix/releases/download/v3/ccminerKlausT.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | #"neoscrypt" = " -a neoscrypt -d $($Config.SelGPUCC)" #NeoScrypt
8 | #"yescrypt" = " -a yescrypt -d $($Config.SelGPUCC)" #Yescrypt
9 | #"yescryptR16" = " -i 13.25 -a yescryptr16 -d $($Config.SelGPUCC)" #YescryptR16
10 | #"yescryptR16v2" = " -a yescryptr16v2 -d $($Config.SelGPUCC)" #YescryptR16v2
11 | #"yescryptR24" = " -a yescryptr24 -d $($Config.SelGPUCC)" #YescryptR24
12 | #"yescryptR8" = " -a yescryptr8 -d $($Config.SelGPUCC)" #YescryptR8
13 | "lyra2v3" = " -i 24 -a lyra2v3 -d $($Config.SelGPUCC)" #Lyra2v3 NICEHASH
14 | "lyra2rev3" = " -i 24 -a lyra2v3 -d $($Config.SelGPUCC)" #Lyra2rev3 YIIMP
15 | }
16 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
17 |
18 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
19 | $Algo = Get-Algorithm($_)
20 | [PSCustomObject]@{
21 | Type = "NVIDIA"
22 | Path = $Path
23 | Arguments = "--cpu-priority 4 -b $($Variables.NVIDIAMinerAPITCPPort) -N 2 -R 1 -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
24 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
25 | API = "ccminer"
26 | Port = $Variables.NVIDIAMinerAPITCPPort
27 | Wrap = $false
28 | URI = $Uri
29 | User = $Pools.($Algo).User
30 | Host = $Pools.($Algo).Host
31 | Coin = $Pools.($Algo).Coin
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Miners/ccminerlyra2re3.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-CcminerLyra2RE3\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminer-KlausT-8.21-mod-r18-src-fix/releases/download/v3/ccminerKlausT.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "lyra2re3" = " -i 24 -a lyra2v3 -d $($Config.SelGPUCC)" #Lyra2RE3 (mining pool hub)
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cpu-priority 4 -b $($Variables.NVIDIAMinerAPITCPPort) -N 2 -R 1 -o stratum+tcp://$($Pools.($Algo).Host):20534 -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ccminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/ccminermtp.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminermtp1117\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminerMTP/releases/download/v1.1.17/ccminerMTP1.1.17.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "mtp" = " -i 20.75 -d $($Config.SelGPUCC)" #mtp (requires 6gb+ system ram to run, 4gb is not enough)
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | If ($Algo -eq "mtp" -and $Pools.($Algo).Host -like "*nicehash*") {return}
15 | [PSCustomObject]@{
16 | Type = "NVIDIA"
17 | Path = $Path
18 | Arguments = "--cpu-priority 4 -N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -a $Algo -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
19 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
20 | API = "ccminer"
21 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
22 | Wrap = $false
23 | URI = $Uri
24 | User = $Pools.($Algo).User
25 | Host = $Pools.($Algo).Host
26 | Coin = $Pools.($Algo).Coin
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Miners/ccminermtpnh.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminermtp1115\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminer/releases/download/1.1.15/ccminermtp.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "mtp" = " -d $($Config.SelGPUCC)" #mtp (requires 6gb+ system ram to run, 4gb is not enough)
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | If ($Pools.($Algo).Host -notlike "*nicehash*") {return}
15 | [PSCustomObject]@{
16 | Type = "NVIDIA"
17 | Path = $Path
18 | Arguments = "--cpu-priority 4 -i 20.75 -N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -a $Algo -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
19 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
20 | API = "ccminer"
21 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
22 | Wrap = $false
23 | URI = $Uri
24 | User = $Pools.($Algo).User
25 | Host = $Pools.($Algo).Host
26 | Coin = $Pools.($Algo).Coin
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Miners/ccminerrfv2.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminerrfv2101\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/CudaMiner/releases/download/1.0.1/ccminerrfv2.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "rfv2" = "" #rfv2
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | If ($Algo -eq "rfv2" -and $Pools.($Algo).Host -like "*zpool*") {return}
15 | [PSCustomObject]@{
16 | Type = "NVIDIA"
17 | Path = $Path
18 | Arguments = "--cpu-priority 4 -N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -a rfv2 -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
19 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
20 | API = "ccminer"
21 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
22 | Wrap = $false
23 | URI = $Uri
24 | User = $Pools.($Algo).User
25 | Host = $Pools.($Algo).Host
26 | Coin = $Pools.($Algo).Coin
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Miners/ccminersupr16.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminersupr161\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminer-x16r/releases/download/v1.6.1/ccminer-patch3-161.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "x16r" = " -a x16r -i 23" #x16r
8 | "x16s" = " -a x16s -i 23" #x16s
9 | "x17" = " -a x17 -i 23" #x17
10 | "c11" = " -a c11 -i 23" #c11
11 | }
12 |
13 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
14 |
15 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
16 | $Algo = Get-Algorithm($_)
17 | [PSCustomObject]@{
18 | Type = "NVIDIA"
19 | Path = $Path
20 | Arguments = "-N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
21 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
22 | API = "ccminer"
23 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
24 | Wrap = $false
25 | URI = $Uri
26 | User = $Pools.($Algo).User
27 | Host = $Pools.($Algo).Host
28 | Coin = $Pools.($Algo).Coin
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Miners/ccminersupr20.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminersupr20\ccminer.exe"
4 | $Uri = "https://github.com/ocminer/suprminer/releases/download/2.0/suprminer-2.0.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "veil" = " -a x16rt -i 21" #veil
8 | "neoscrypt" = " -a neoscrypt -i 20.85" #neoscrypt
9 | #"bitcore" = " -a bitcore -i 21" #bitcore
10 | }
11 |
12 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
13 |
14 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
15 | $Algo = Get-Algorithm($_)
16 | [PSCustomObject]@{
17 | Type = "NVIDIA"
18 | Path = $Path
19 | Arguments = "--cpu-priority 4 -N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
20 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
21 | API = "ccminer"
22 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
23 | Wrap = $false
24 | URI = $Uri
25 | User = $Pools.($Algo).User
26 | Host = $Pools.($Algo).Host
27 | Coin = $Pools.($Algo).Coin
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Miners/ccminertpruvot.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminertpruvot231\ccminer-x64.exe"
4 | $Uri = "https://github.com/tpruvot/ccminer/releases/download/2.3.1-tpruvot/ccminer-2.3.1-cuda10.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "exosis" = " -a exosis -i 25.75" #exosis
8 | "allium" = " -a allium -i 22" #allium
9 | "keccak" = " -a keccak -i 29" #keccak
10 | "keccakc" = " -a keccakc -i 29" #keccakc
11 | "phi2" = " -a phi2 -i 22.25" #phi2
12 | }
13 |
14 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
15 |
16 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
17 | $Algo = Get-Algorithm($_)
18 | [PSCustomObject]@{
19 | Type = "NVIDIA"
20 | Path = $Path
21 | Arguments = "--cpu-priority 4 -N 2 -R 1 -b $($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
22 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
23 | API = "ccminer"
24 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
25 | Wrap = $false
26 | URI = $Uri
27 | User = $Pools.($Algo).User
28 | Host = $Pools.($Algo).Host
29 | Coin = $Pools.($Algo).Coin
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Miners/ccminerverus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Ccminerverus34\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminerverus/releases/download/v3.4/ccminerverus34.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "verushash" = " -a verus -i 18.84 -d $($Config.SelGPUCC)" #verus
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cpu-priority 4 -b $($Variables.NVIDIAMinerAPITCPPort) -N 2 -R 1 -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ccminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/ccminerx21s.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Ccminerx21s2311\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminerx21s/releases/download/v2.3.1.1/ccminerx21s.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "x21s" = " -a x21s -i 20 -d $($Config.SelGPUCC)" #x21s
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cpu-priority 4 -b $($Variables.NVIDIAMinerAPITCPPort) -N 2 -R 1 -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ccminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/ccminerx22i.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Ccminerx22i2311\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminer-x22i/releases/download/v2.3.1.1/ccminerx22i2311.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "x22i" = " -a x22i -i 20 -d $($Config.SelGPUCC)" #x22i
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cpu-priority 4 -b $($Variables.NVIDIAMinerAPITCPPort) -N 2 -R 1 -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ccminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/ccminerxevan9.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-ccminerxevan9\ccminer_x86.exe"
4 | $Uri = "https://github.com/nemosminer/ccminer-xevan/releases/download/ccminer-xevan/ccminer_x86.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "xevan" = " -i 21 -N 2 -d $($Config.SelGPUCC) " #Xevan
8 | #"skein" = " -N 1 -d $($Config.SelGPUCC) -i 27" #Skein
9 | }
10 |
11 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
12 |
13 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
14 | $Algo = Get-Algorithm($_)
15 | [PSCustomObject]@{
16 | Type = "NVIDIA"
17 | Path = $Path
18 | Arguments = "-b $($Variables.NVIDIAMinerAPITCPPort) -R 1 -a $_ -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
19 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
20 | API = "ccminer"
21 | Port = $Variables.NVIDIAMinerAPITCPPort
22 | Wrap = $false
23 | URI = $Uri
24 | User = $Pools.($Algo).User
25 | Host = $Pools.($Algo).Host
26 | Coin = $Pools.($Algo).Coin
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Miners/ccmineryescrypt.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Ccmineryescrypt9\ccminer.exe"
4 | $Uri = "https://github.com/nemosminer/ccminerKlausTyescrypt/releases/download/v9/ccminerKlausTyescryptv9.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "yescrypt" = " -d $($Config.SelGPUCC)" #Yescrypt
8 | "yescryptR16" = " -i 13.25 -d $($Config.SelGPUCC)" #YescryptR16
9 | "yescryptR16v2" = " -d $($Config.SelGPUCC)" #YescryptR16v2
10 | "yescryptR24" = " -d $($Config.SelGPUCC)" #YescryptR24
11 | "yescryptR8" = " -d $($Config.SelGPUCC)" #YescryptR8
12 | "yescryptR32" = " -i 12.49 -d $($Config.SelGPUCC)" #YescryptR32
13 | }
14 | switch ($_) {
15 | "yescryptR32" {$Fee = 0.14} # account for 14% stale shares
16 | default {$Fee = 0.00}
17 | }
18 |
19 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
20 |
21 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
22 | $Algo = Get-Algorithm($_)
23 | [PSCustomObject]@{
24 | Type = "NVIDIA"
25 | Path = $Path
26 | Arguments = "--cpu-priority 4 -b $($Variables.NVIDIAMinerAPITCPPort) -N 2 -R 1 -a $_ -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
27 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * (1 - $Fee)} # account for 14% stale shares yescryptR32
28 | API = "ccminer"
29 | Port = $Variables.NVIDIAMinerAPITCPPort
30 | Wrap = $false
31 | URI = $Uri
32 | User = $Pools.($Algo).User
33 | Host = $Pools.($Algo).Host
34 | Coin = $Pools.($Algo).Coin
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Miners/easy-binarium.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CPU-bubasikBinarium\cpuminer-aes-sse42.exe"
4 | $Uri = "https://github.com/bubasik/cpuminer-easy-binarium/releases/download/1.0/cpuminer-easy-binarium-win_x64.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | # "allium" = "" #Allium
8 | #"bitcore" = "" #Bitcore
9 | #"blake2s" = "" #Blake2s
10 | #"blakecoin" = "" #Blakecoin
11 | "binarium-v1" = " -a Binarium_hash_v1" #binarium-v1
12 | #"vanilla" = "" #BlakeVanilla
13 | #"c11" = "" #C11
14 | # "cryptonight" = "" #CryptoNight
15 | #"cryptonightv7" = "" #cryptonightv7
16 | #"decred" = "" #Decred
17 | #"equihash" = "" #Equihash
18 | #"ethash" = "" #Ethash
19 | #"groestl" = "" #Groestl
20 | # "hmq1725" = "" #HMQ1725
21 | # "hodl" = "" #Hodl
22 | #"jha" = "" #JHA
23 | #"keccak" = "" #Keccak
24 | #"lbry" = "" #Lbry
25 | #"lyra2v2" = "" #Lyra2RE2
26 | # "lyra2z" = "" #Lyra2z
27 | # "m7m" = "" #m7m
28 | #"myr-gr" = "" #MyriadGroestl
29 | #"neoscrypt" = "" #NeoScrypt
30 | #"nist5" = "" #Nist5
31 | #"pascal" = "" #Pascal
32 | #"sib" = "" #Sib
33 | #"skein" = "" #Skein
34 | #"skunk" = "" #Skunk
35 | #"timetravel" = "" #Timetravel
36 | #"tribus" = "" #Tribus
37 | #"veltor" = "" #Veltor
38 | #"x11evo" = "" #X11evo
39 | #"x17" = "" #X17
40 | # "x16r" = "" #X16r
41 | # "yescrypt" = "" #Yescrypt
42 | # "yespower" = "" #Yespower
43 | # "yescryptr16" = "" #YescryptR16
44 | # "yescryptr32" = "" #YescryptR32
45 | }
46 |
47 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
48 |
49 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
50 |
51 | switch ($_) {
52 | "hodl" {$ThreadCount = $Variables.ProcessorCount}
53 | "binarium-v1" {$ThreadCount = $Variables.ProcessorCount}
54 | default {$ThreadCount = $Variables.ProcessorCount - 2}
55 | }
56 |
57 | $Algo = Get-Algorithm($_)
58 | [PSCustomObject]@{
59 | Type = "CPU"
60 | Path = $Path
61 | Arguments = "--cpu-affinity AAAA -q -t $($ThreadCount) -b $($Variables.CPUMinerAPITCPPort) -o $($Pools.($Algo).Protocol)://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
62 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week * 0.68 } # Account for rejected share. Work with pool ops to fix.
63 | API = "Ccminer"
64 | Port = $Variables.CPUMinerAPITCPPort
65 | Wrap = $false
66 | URI = $Uri
67 | User = $Pools.($Algo).User
68 | Host = $Pools.($Algo).Host
69 | Coin = $Pools.($Algo).Coin
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Miners/ethminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Ethminer0171\ethminer.exe"
4 | $Uri = "https://github.com/ethereum-mining/ethminer/releases/download/v0.17.1/ethminer-0.17.1-cuda10.0-windows-amd64.zip"
5 | $Commands = [PSCustomObject]@{
6 | #"ethash" = "" #Ethash
7 | }
8 | $Port = $Variables.NVIDIAMinerAPITCPPort
9 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
10 |
11 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
12 | $Algo = Get-Algorithm($_)
13 | If ($Pools.($Algo).Host -notlike "*nicehash*") {return}
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cuda-devices $($Config.SelGPUDSTM) --api-port -$Port -U -P stratum://$($Pools.($Algo).User):x@$($Pools.($Algo).Host):$($Pools.($Algo).Port)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ethminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/ewbfv2.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-EWBF06\\miner.exe"
4 | $Uri = "https://nemosminer.com/data/optional/EWBFEquihashminerv0.6.7z"
5 | $Commands = [PSCustomObject]@{
6 | "equihash144" = " --cuda_devices $($Config.SelGPUDSTM) --algo 144_5 --pers auto" #Equihash144
7 | "zhash" = " --cuda_devices $($Config.SelGPUDSTM) --algo 144_5 --pers auto" #Zhash
8 | "equihash192" = " --cuda_devices $($Config.SelGPUDSTM) --algo 192_7 --pers ZERO_PoW" #Equihash192
9 | "equihash-btg" = " --cuda_devices $($Config.SelGPUDSTM) --algo 144_5 --pers BgoldPoW" # Equihash-btg
10 | "equihash96" = " --cuda_devices $($Config.SelGPUDSTM) --algo 96_5 --pers auto" #Equihash96
11 | }
12 |
13 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
14 |
15 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
16 | $Algo = Get-Algorithm($_)
17 | [PSCustomObject]@{
18 | Type = "NVIDIA"
19 | Path = $Path
20 | Arguments = "--templimit 95 --api 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) --server $($Pools.($Algo).Host) --port $($Pools.($Algo).Port) --eexit 1 --user $($Pools.($Algo).User) --pass $($Pools.($Algo).Pass)$($Commands.$_) --fee 0 --intensity 64"
21 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
22 | API = "ewbf"
23 | Port = $Variables.NVIDIAMinerAPITCPPort
24 | Wrap = $false
25 | URI = $Uri
26 | User = $Pools.($Algo).User
27 | Host = $Pools.($Algo).Host
28 | Coin = $Pools.($Algo).Coin
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Miners/jayddeeSse2.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CPU-JayDDee\cpuminer-aes-sse42.exe"
4 | $Uri = "https://github.com/JayDDee/cpuminer-opt/files/1996977/cpuminer-opt-3.8.8.1-windows.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "allium" = "" #Allium
8 | "argon2d-crds" = ",d=7 " #argon2d-crds
9 | "argon2d-dyn" = "" #argon2d-dyn
10 | "argon2d4096" = "" #argon2d4096
11 | #"bitcore" = "" #Bitcore
12 | #"blake2s" = "" #Blake2s
13 | #"blakecoin" = "" #Blakecoin
14 | #"vanilla" = "" #BlakeVanilla
15 | #"c11" = "" #C11
16 | # "cryptonight" = "" #CryptoNight
17 | #"cryptonightv7" = "" #cryptonightv7
18 | #"decred" = "" #Decred
19 | #"equihash" = "" #Equihash
20 | #"ethash" = "" #Ethash
21 | #"groestl" = "" #Groestl
22 | "hmq1725" = "" #HMQ1725
23 | #"hodl" = "" #Hodl
24 | #"jha" = "" #JHA
25 | #"keccak" = "" #Keccak
26 | #"lbry" = "" #Lbry
27 | #"lyra2v2" = "" #Lyra2RE2
28 | "lyra2z" = "" #Lyra2z
29 | "m7m" = "" #m7m
30 | #"myr-gr" = "" #MyriadGroestl
31 | #"neoscrypt" = "" #NeoScrypt
32 | #"nist5" = "" #Nist5
33 | #"pascal" = "" #Pascal
34 | #"sib" = "" #Sib
35 | #"skein" = "" #Skein
36 | #"skunk" = "" #Skunk
37 | #"timetravel" = "" #Timetravel
38 | #"tribus" = "" #Tribus
39 | #"veltor" = "" #Veltor
40 | #"x11evo" = "" #X11evo
41 | #"x17" = "" #X17
42 | # "x16r" = "" #X16r
43 | "yescrypt" = "" #Yescrypt
44 | "yescryptr8" = "" #YescryptR8
45 | "yescryptr16" = "" #YescryptR16
46 | "yescryptr32" = "" #YescryptR32
47 | }
48 |
49 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
50 |
51 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
52 |
53 | switch ($_) {
54 | "hodl" {$ThreadCount = $Variables.ProcessorCount}
55 | default {$ThreadCount = $Variables.ProcessorCount - 2}
56 | }
57 |
58 | $Algo = Get-Algorithm($_)
59 | [PSCustomObject]@{
60 | Type = "CPU"
61 | Path = $Path
62 | Arguments = "--cpu-affinity AAAA -q -t $($ThreadCount) -b $($Variables.CPUMinerAPITCPPort) -a $_ -o $($Pools.($Algo).Protocol)://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
63 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week}
64 | API = "Ccminer"
65 | Port = $Variables.CPUMinerAPITCPPort
66 | Wrap = $false
67 | URI = $Uri
68 | User = $Pools.($Algo).User
69 | Host = $Pools.($Algo).Host
70 | Coin = $Pools.($Algo).Coin
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/Miners/nheqVerus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CPU-nheqVerus\nheqminer.exe"
4 | $Uri = "https://github.com/VerusCoin/nheqminer/releases/download/0.7.1/nheqminer-Windows-v0.7.1.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "verus" = "" #Verushash
8 | }
9 |
10 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
13 |
14 | switch ($_) {
15 | "hodl" {$ThreadCount = $Variables.ProcessorCount}
16 | default {$ThreadCount = $Variables.ProcessorCount - 2}
17 | }
18 |
19 | $Algo = Get-Algorithm($_)
20 | [PSCustomObject]@{
21 | Type = "CPU"
22 | Path = $Path
23 | Arguments = "-t $($ThreadCount) -a $($Variables.CPUMinerAPITCPPort) -v -l $($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
24 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week}
25 | API = "nheq"
26 | Port = $Variables.CPUMinerAPITCPPort
27 | Wrap = $false
28 | URI = $Uri
29 | User = $Pools.($Algo).User
30 | Host = $Pools.($Algo).Host
31 | Coin = $Pools.($Algo).Coin
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Miners/opt-yespower.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CPU-JayDDeeYespower\cpuminer-sse42.exe"
4 | $Uri = "https://github.com/bubasik/cpuminer-opt-yespower/releases/download/v3.8.8.3/cpuminer-opt-cryply-yespower-ver2.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | # "allium" = "" #Allium
8 | #"bitcore" = "" #Bitcore
9 | #"blake2s" = "" #Blake2s
10 | #"blakecoin" = "" #Blakecoin
11 | #"vanilla" = "" #BlakeVanilla
12 | #"c11" = "" #C11
13 | # "cryptonight" = "" #CryptoNight
14 | #"cryptonightv7" = "" #cryptonightv7
15 | #"decred" = "" #Decred
16 | #"equihash" = "" #Equihash
17 | #"ethash" = "" #Ethash
18 | #"groestl" = "" #Groestl
19 | # "hmq1725" = "" #HMQ1725
20 | # "hodl" = "" #Hodl
21 | #"jha" = "" #JHA
22 | #"keccak" = "" #Keccak
23 | #"lbry" = "" #Lbry
24 | #"lyra2v2" = "" #Lyra2RE2
25 | # "lyra2z" = "" #Lyra2z
26 | # "m7m" = "" #m7m
27 | #"myr-gr" = "" #MyriadGroestl
28 | #"neoscrypt" = "" #NeoScrypt
29 | #"nist5" = "" #Nist5
30 | #"pascal" = "" #Pascal
31 | #"sib" = "" #Sib
32 | #"skein" = "" #Skein
33 | #"skunk" = "" #Skunk
34 | #"timetravel" = "" #Timetravel
35 | #"tribus" = "" #Tribus
36 | #"veltor" = "" #Veltor
37 | #"x11evo" = "" #X11evo
38 | #"x17" = "" #X17
39 | # "x16r" = "" #X16r
40 | # "yescrypt" = "" #Yescrypt
41 | "yespower" = "" #Yespower
42 | # "yescryptr16" = "" #YescryptR16
43 | # "yescryptr32" = "" #YescryptR32
44 | }
45 |
46 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
47 |
48 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
49 |
50 | switch ($_) {
51 | "hodl" {$ThreadCount = $Variables.ProcessorCount}
52 | default {$ThreadCount = $Variables.ProcessorCount - 2}
53 | }
54 |
55 | $Algo = Get-Algorithm($_)
56 | [PSCustomObject]@{
57 | Type = "CPU"
58 | Path = $Path
59 | Arguments = "--cpu-affinity AAAA -q -t $($ThreadCount) -b $($Variables.CPUMinerAPITCPPort) -a $_ -o $($Pools.($Algo).Protocol)://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
60 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week}
61 | API = "Ccminer"
62 | Port = $Variables.CPUMinerAPITCPPort
63 | Wrap = $false
64 | URI = $Uri
65 | User = $Pools.($Algo).User
66 | Host = $Pools.($Algo).Host
67 | Coin = $Pools.($Algo).Coin
68 | }
69 | }
70 |
--------------------------------------------------------------------------------
/Miners/progpow.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-progpowminer016\progpowminer-cuda.exe"
4 | $Uri = "https://nemosminer.com/data/optional/progpowminer0.16-FinalCuda10.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "progpow" = "" # (fastest)
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "--cuda-devices $($Config.SelGPUDSTM) --api-port -$($Variables.NVIDIAMinerAPITCPPort) -U -P stratum://$($Pools.($Algo).User):x@$($Pools.($Algo).Host):$($Pools.($Algo).Port)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day}
19 | API = "ethminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Miners/xmrstak.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CryptoNight-FireIce2104\xmr-stak.exe"
4 | $Uri = "https://github.com/fireice-uk/xmr-stak/releases/download/2.10.4/xmr-stak-win64-2.10.4.7z"
5 |
6 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
7 | $Port = 3335
8 |
9 | $Commands = [PSCustomObject]@{
10 | #"cryptonight_heavy" = "" # CryptoNight-Heavy(cryptodredge faster)
11 | #"cryptonight_lite" = "" # CryptoNight-Lite
12 | #"cryptonight_v7" = "" # CryptoNightV7(cryptodredge faster)
13 | #"cryptonight_v8" = "" # CryptoNightV8
14 | # "monero" = "" # Monero(v8)
15 | #"cryptonight_r" = "" #Cryptonight_r (XMRig faster + lower fee)
16 | }
17 |
18 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
19 |
20 | $Algorithm_Norm = Get-Algorithm($_)
21 |
22 | ([PSCustomObject]@{
23 | pool_list = @([PSCustomObject]@{
24 | pool_address = "$($Pools.$Algorithm_Norm.Host):$($Pools.$Algorithm_Norm.Port)"
25 | wallet_address = "$($Pools.$Algorithm_Norm.User)"
26 | pool_password = "$($Pools.$Algorithm_Norm.Pass)"
27 | use_nicehash = $true
28 | use_tls = $Pools.$Algorithm_Norm.SSL
29 | tls_fingerprint = ""
30 | pool_weight = 1
31 | rig_id = ""
32 | }
33 | )
34 | currency = if ($Pools.$Algorithm_Norm.Info) {"$($Pools.$Algorithm_Norm.Info -replace '^monero$', 'monero7' -replace '^aeon$', 'aeon7')"} else {"$_"}
35 | call_timeout = 10
36 | retry_time = 10
37 | giveup_limit = 0
38 | verbose_level = 3
39 | print_motd = $true
40 | h_print_time = 60
41 | aes_override = $null
42 | use_slow_memory = "warn"
43 | tls_secure_algo = $true
44 | daemon_mode = $false
45 | flush_stdout = $false
46 | output_file = ""
47 | httpd_port = $Port
48 | http_login = ""
49 | http_pass = ""
50 | prefer_ipv4 = $true
51 | } | ConvertTo-Json -Depth 10
52 | ) -replace "^{" -replace "}$" | Set-Content "$(Split-Path $Path)\$($Pools.$Algorithm_Norm.Name)_$($Algorithm_Norm)_$($Pools.$Algorithm_Norm.User)_Nvidia.txt" -Force -ErrorAction SilentlyContinue
53 |
54 | [PSCustomObject]@{
55 | Type = "NVIDIA"
56 | Path = $Path
57 | Arguments = "-C $($Pools.$Algorithm_Norm.Name)_$($Algorithm_Norm)_$($Pools.$Algorithm_Norm.User)_Nvidia.txt --noAMD --noCPU -i $($Port)"
58 | HashRates = [PSCustomObject]@{$Algorithm_Norm = $Stats."$($Name)_$($Algorithm_Norm)_HashRate".Day * .98} # substract 2% devfee
59 | API = "fireice"
60 | Port = $Port
61 | URI = $Uri
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/NM.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nemosminer/NemosMiner/3b23ac435a0a316f6688ae562525c4c629912964/NM.ico
--------------------------------------------------------------------------------
/NemosMiner.bat:
--------------------------------------------------------------------------------
1 | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -version 5.0 -executionpolicy bypass -windowstyle maximized -command ".\NemosMiner.ps1 -ConfigFile '.\Config\config.json'"
2 |
--------------------------------------------------------------------------------
/OptionalMiners/bminerf.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Bminerf1553\bminer.exe"
4 | $Uri = "https://www.bminercontent.com/releases/bminer-lite-v15.5.3-747d98e-amd64.zip"
5 | $Commands = [PSCustomObject]@{
6 | #"equihashBTG" = " -uri zhash://" #EquihashBTG
7 | #"equihash144" = " -pers auto -uri equihash1445://" #Equihash144
8 | #"zhash" = " -pers auto -uri equihash1445://" #Zhash
9 | #"ethash" = " -uri ethstratum://" #Ethash
10 | #"cuckoocycle" = " -uri aeternity://" #aeternity
11 | #"beam" = " -uri beam://" #beam
12 | #"grincuckaroo29" = " -uri cuckaroo29://" #grincuckaroo29
13 | #"grincuckatoo31" = " -uri cuckatoo31://" #grincuckatoo31 (8gb cards work win7,8, 8.1 & Linux. Win10 requires 10gb+vram)
14 |
15 | }
16 | $Port = $Variables.NVIDIAMinerAPITCPPort
17 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
18 |
19 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
20 | $Algo = Get-Algorithm($_)
21 | switch ($_) {
22 | "ethash" {$Fee = 0.0065} # substract devfee
23 | "grincuckaroo29" {$Fee = 0.01} # substract devfee
24 | "grincuckatoo31" {$Fee = 0.01} # substract devfee
25 | default {$Fee = 0.02} # substract devfee
26 | }
27 | $Pass = If ($Pools.($Algo).Pass -like "*,*") {$Pools.($Algo).Pass.ToString().replace(',','%2C')} else {$Pools.($Algo).Pass}
28 | [PSCustomObject]@{
29 | Type = "NVIDIA"
30 | Path = $Path
31 | Arguments = "$($Commands.$_)$($Pools.($Algo).User):$($Pass)@$($Pools.($Algo).Host):$($Pools.($Algo).Port) -max-temperature 94 -devices $($Config.SelGPUCC) -api 127.0.0.1:$Port"
32 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * (1 - $Fee)} # substract devfee
33 | API = "bminer"
34 | Port = $Port
35 | Wrap = $false
36 | URI = $Uri
37 | User = $Pools.($Algo).User
38 | Host = $Pools.($Algo).Host
39 | Coin = $Pools.($Algo).Coin
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/OptionalMiners/cryptodredge.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) { . .\Include.ps1; RegisterLoaded(".\Include.ps1") }
2 |
3 | $Path = ".\Bin\NVIDIA-CryptoDredge0191\CryptoDredge.exe"
4 | $Uri = "https://github.com/technobyl/CryptoDredge/releases/download/v0.19.1/CryptoDredge_0.19.1_cuda_10.1_windows.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "argon2d250" = " --intensity 8 -a argon2d250" #argon2d250
8 | "argon2d4096" = " --intensity 8 -a argon2d4096" #argon2d4096
9 | #"argon2d-uis" = " --intensity 8 -a argon2d4096" #argon2d4096
10 | "argon2ddyn" = " --intensity 6 -a argon2d-dyn" #Argon2d-dyn
11 | "allium" = " --intensity 8 -a allium" #Allium
12 | #"lyra2v3" = " --intensity 8 -a lyra2v3" #Lyra2v3
13 | #"lyra2REv3" = " --intensity 8 -a lyra2v3" #lyra2REv3
14 | "lyra2zz " = " --intensity 8 -a lyra2zz" #Lyra2zz
15 | "neoscrypt" = " --intensity 6 -a neoscrypt"
16 | "phi2" = " --intensity 8 -a phi2" #Phi2
17 | "lyra2vc0ban" = " --intensity 8 -a lyra2vc0ban" #Lyra2vc0banHash
18 | #"cryptonightheavy" = " --intensity 8 -a cryptonightheavy" # CryptoNightHeavy
19 | #"x22i" = " --intensity 8 -a x22i" # X22i
20 | #"tribus" = " --intensity 8 -a tribus" #Tribus
21 | #"cnv8" = " --intensity 8 -a cnv8" #CryptoNightv8
22 | #"c11" = " --intensity 8 -a c11" #C11
23 | "skunk" = " --intensity 8 -a skunk" #Skunk
24 | #"mtp" = " --intensity 8 -a mtp" #Mtp
25 | #"bcd" = " --intensity 8 -a bcd" #Bcd
26 | #"x16rt" = " --intensity 8 -a x16rt" #X16rt
27 | #"x21s" = " --intensity 8 -a x21s" #X21s
28 | #"x16s" = " --intensity 8 -a x16s" #X16s
29 | #"x17" = " --intensity 8 -a x17" #X17
30 | #"bitcore" = " --intensity 8 -a bitcore" #Bitcore
31 | "hmq1725" = " --intensity 8 -a hmq1725" #Hmq1725
32 | #"dedal" = " --intensity 8 -a dedal" #Dedal
33 | "pipe" = " --intensity 8 -a pipe" #Pipe
34 | #"x16r" = " --intensity 8 -a x16r" #x16r
35 | #"grincuckaroo29" = " --intensity 8 -a cuckaroo29" #Grincuckaroo29
36 | }
37 |
38 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
39 |
40 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
41 | $Algo = Get-Algorithm($_)
42 | If ($Algo -eq "phi2" -and $Pools.($Algo).Host -like "*zergpool*") { return }
43 | switch ($_) {
44 | "mtp" { $Fee = 0.02 } # substract devfee
45 | default { $Fee = 0.01 } # substract devfee
46 | }
47 |
48 | [PSCustomObject]@{
49 | Type = "NVIDIA"
50 | Path = $Path
51 | Arguments = "--timeout 60 --api-type ccminer-tcp --cpu-priority 4 --no-watchdog -r -1 -R 1 -b 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
52 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * (1 - $Fee) } # substract devfee
53 | API = "ccminer"
54 | Port = $Variables.NVIDIAMinerAPITCPPort
55 | Wrap = $false
56 | URI = $Uri
57 | User = $Pools.($Algo).User
58 | Host = $Pools.($Algo).Host
59 | Coin = $Pools.($Algo).Coin
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/OptionalMiners/cryptodredge16.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-CryptoDredge0160\CryptoDredge.exe"
4 | $Uri = "https://github.com/technobyl/CryptoDredge/releases/download/v0.16.0/CryptoDredge_0.16.0_cuda_10.0_windows.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "exosis" = " --intensity 8 -a exosis" #Exosis
8 | "phi" = " --intensity 8 -a phi" #Phi
9 | }
10 |
11 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
12 |
13 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
14 | $Algo = Get-Algorithm($_)
15 |
16 | [PSCustomObject]@{
17 | Type = "NVIDIA"
18 | Path = $Path
19 | Arguments = "--timeout 60 --api-type ccminer-tcp --cpu-priority 4 --no-watchdog -r -1 -R 1 -b 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
20 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
21 | API = "ccminer"
22 | Port = $Variables.NVIDIAMinerAPITCPPort
23 | Wrap = $false
24 | URI = $Uri
25 | User = $Pools.($Algo).User
26 | Host = $Pools.($Algo).Host
27 | Coin = $Pools.($Algo).Coin
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/OptionalMiners/cryptodredgephi2.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) { . .\Include.ps1; RegisterLoaded(".\Include.ps1") }
2 |
3 | $Path = ".\Bin\NVIDIA-CryptoDredge0191phi2\CryptoDredge.exe"
4 | $Uri = "https://github.com/technobyl/CryptoDredge/releases/download/v0.19.1/CryptoDredge_0.19.1_cuda_10.1_windows.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "phi2" = ",mc=SPDR/AGM --intensity 8 -a phi2" #Phi2
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | If ($Algo -eq "phi2" -and $Pools.($Algo).Host -notlike "*zergpool*") { return } #temp fix for LUX zergpool
15 | switch ($_) {
16 | "mtp" { $Fee = 0.02 } # substract devfee
17 | default { $Fee = 0.01 } # substract devfee
18 | }
19 |
20 | [PSCustomObject]@{
21 | Type = "NVIDIA"
22 | Path = $Path
23 | Arguments = "--timeout 60 --api-type ccminer-tcp --cpu-priority 4 --no-watchdog -r -1 -R 1 -b 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
24 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * (1 - $Fee) } # substract devfee
25 | API = "ccminer"
26 | Port = $Variables.NVIDIAMinerAPITCPPort
27 | Wrap = $false
28 | URI = $Uri
29 | User = $Pools.($Algo).User
30 | Host = $Pools.($Algo).Host
31 | Coin = $Pools.($Algo).Coin
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/OptionalMiners/ethashclaymore.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\Ethash-Claymore143b\EthDcrMiner64.exe"
4 | $Uri = "https://github.com/nemosminer/Claymores-Dual-Ethereum/releases/download/v14.3/ClaymoresDualEthereumv143.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "ethash" = " -di $($($Config.SelGPUCC).Replace(',',''))" #Ethash -strap 1 -strap 2 -strap 3 -strap 4 -strap 5 -strap 6
8 | }
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "-wd 0 -esm 3 -allpools 1 -allcoins 1 -platform 2 -mode 1 -mport -$($Variables.NVIDIAMinerAPITCPPort) -epool $($Pools.($Algo).Host):$($Pools.($Algo).Port) -ewal $($Pools.($Algo).User) -epsw $($Pools.($Algo).Pass)$($Commands.$_)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week * .99} # substract 1% devfee
19 | API = "ethminer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort #3333
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/OptionalMiners/ethashphoenix.ps1:
--------------------------------------------------------------------------------
1 |
2 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
3 |
4 | $Path = ".\Bin\Ethash-Phoenix42c\PhoenixMiner.exe"
5 | $Uri = "https://nemosminer.com/data/optional/PhoenixMiner_4.2c_Windows.7z"
6 | $Commands = [PSCustomObject]@{
7 | "ethash" = " -di $($($Config.SelGPUCC).Replace(',',''))" #Ethash fastest and Epoch 267 ready
8 | }
9 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
10 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
11 | $Algo = Get-Algorithm($_)
12 | [PSCustomObject]@{
13 | Type = "NVIDIA"
14 | Path = $Path
15 | Arguments = "-nvdo 1 -esm 3 -allpools 1 -allcoins 1 -platform 2 -mport -$($Variables.NVIDIAMinerAPITCPPort) -epool $($Pools.Ethash.Host):$($Pools.Ethash.Port) -ewal $($Pools.Ethash.User) -epsw $($Pools.Ethash.Pass)$($Commands.$_)"
16 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .9935} # substract 0.65% devfee
17 | API = "ethminer"
18 | Port = $Variables.NVIDIAMinerAPITCPPort #3333
19 | Wrap = $false
20 | URI = $Uri
21 | User = $Pools.($Algo).User
22 | Host = $Pools.($Algo).Host
23 | Coin = $Pools.($Algo).Coin
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/OptionalMiners/gminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-Gminer142\miner.exe"
4 | $Uri = "https://github.com/develsoftware/GMinerRelease/releases/download/1.42/gminer_1_42_windows64.zip"
5 | $Commands = [PSCustomObject]@{
6 | "equihash144" = " --devices $($Config.SelGPUDSTM) --algo 144_5 --pers auto" #Equihash144
7 | "zhash" = " --devices $($Config.SelGPUDSTM) --algo 144_5 --pers auto" #Zhash
8 | "equihash192" = " --devices $($Config.SelGPUDSTM) --algo 192_7 --pers auto" #Equihash192
9 | "equihash-btg" = " --devices $($Config.SelGPUDSTM) --algo 144_5 --pers BgoldPoW " # Equihash-btg MPH
10 | "equihash96" = " --devices $($Config.SelGPUDSTM) --algo 96_5 --pers auto" #Equihash96
11 | "beam" = " --devices $($Config.SelGPUDSTM) --algo 150_5 --pers auto" #Equihash150
12 | "grincuckaroo29" = " --devices $($Config.SelGPUDSTM) --algo grin29 --pers auto" #Grincuckaroo29
13 | #"cuckoocycle" = " --devices $($Config.SelGPUDSTM) --algo aeternity --pers auto" #Aeternity
14 | #"grincuckatoo31" = " --devices $($Config.SelGPUDSTM) --algo grin31 --pers auto" #Grincuckatoo31 (8gb cards work win7,8, 8.1 & Linux. Win10 requires 10gb+vram)
15 |
16 | }
17 | $Port = $Variables.NVIDIAMinerAPITCPPort
18 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
19 |
20 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
21 | $Algo = Get-Algorithm($_)
22 | [PSCustomObject]@{
23 | Type = "NVIDIA"
24 | Path = $Path
25 | Arguments = "--intensity 100 --watchdog 0 --api $($Variables.NVIDIAMinerAPITCPPort) --server $($Pools.($Algo).Host) --port $($Pools.($Algo).Port) --user $($Pools.($Algo).User) --pass $($Pools.($Algo).Pass)$($Commands.$_)"
26 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .98} # substract 2% devfee
27 | API = "gminer"
28 | Port = $Variables.NVIDIAMinerAPITCPPort
29 | Wrap = $false
30 | URI = $Uri
31 | User = $Pools.($Algo).User
32 | Host = $Pools.($Algo).Host
33 | Coin = $Pools.($Algo).Coin
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/OptionalMiners/lolminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-AMD-lolMiner081\lolMiner.exe"
4 | $Uri = "https://github.com/Lolliedieb/lolMiner-releases/releases/download/0.8.1/lolMiner_v081_Win64.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | #"equihash96" = " --coin MNX" #Equihash 96,5
8 | #"equihash144" = " --coin AUTO144_5" #Equihash 144,5
9 | #"equihash192" = " --coin AUTO192_7" #Equihash 192,7
10 | #"beam" = " --coin BEAM" #Equihash 150,5
11 | "grincuckatoo31" = " --coin GRIN-AT31" #grincuckatoo31
12 | }
13 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
14 |
15 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
16 |
17 | $Algo = Get-Algorithm($_)
18 | [PSCustomObject]@{
19 | Type = "NVIDIA"
20 | Path = $Path
21 | Arguments = "--user $($Pools.($Algo).User) --pool $($Pools.($Algo).Host) --port $($Pools.($Algo).Port) --devices $($Config.SelGPUCC) --apiport $($Variables.NVIDIAMinerAPITCPPort) --tls 0 --digits 2 --longstats 60 --shortstats 5 --connectattempts 3 --pass $($Pools.($Algo).Pass)$($Commands.$_)"
22 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
23 | API = "LOL"
24 | Port = $Variables.NVIDIAMinerAPITCPPort
25 | Wrap = $false
26 | URI = $Uri
27 | User = $Pools.($Algo).User
28 | Host = $Pools.($Algo).Host
29 | Coin = $Pools.($Algo).Coin
30 | }
31 | }
32 |
33 |
34 |
--------------------------------------------------------------------------------
/OptionalMiners/miniz.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-miniZ13n5t\miniZ.exe"
4 | $Uri = "https://nemosminer.com/data/optional/miniZ_v1.3n5_cuda10_win-x64.7z"
5 | $Commands = [PSCustomObject]@{
6 | "equihash144" = " --algo 144,5 --pers auto" #Equihash144
7 | "zhash" = " --algo 144,5 --pers auto" #Zhash
8 | "equihash192" = " --algo 192,7 --pers auto" #Equihash192
9 | "equihash-btg" = " --algo 144,5 --pers BgoldPoW " # Equihash-btg MPH
10 | "equihash96" = " --algo 96,5 --pers auto" #Equihash96
11 | "beam" = " --algo 150,5 --pers auto" #Beam
12 | }
13 | $Port = $Variables.NVIDIAMinerAPITCPPort
14 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
15 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
16 | $Algo = Get-Algorithm($_)
17 | [PSCustomObject]@{
18 | Type = "NVIDIA"
19 | Path = $Path
20 | Arguments = "--templimit 95 --intensity 100 --latency --nocolor --tempunits C -cd $($Config.SelGPUDSTM) --telemetry $($Variables.NVIDIAMinerAPITCPPort) --url $($Pools.($Algo).User)@$($Pools.($Algo).Host):$($Pools.($Algo).Port) --pass $($Pools.($Algo).Pass)$($Commands.$_)"
21 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .98} # substract 2% devfee
22 | API = "miniZ"
23 | Port = $Variables.NVIDIAMinerAPITCPPort
24 | Wrap = $false
25 | URI = $Uri
26 | User = $Pools.($Algo).User
27 | Host = $Pools.($Algo).Host
28 | Coin = $Pools.($Algo).Coin
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/OptionalMiners/multiminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-MultiMiner\multiminer.exe"
4 | $Uri = "https://github.com/bogdanadnan/multiminer/releases/download/v1.1.0/multiminer_v1.1.0_24.01.2019.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "argon2d4096" = " -a argon2d4096 --use-gpu=CUDA --gpu-batchsize=512 -t 2" #Argon2d4096 ( --gpu-id=$($Config.SelGPUCC) )
8 | #"argon2d-uis" = " -a argon2d4096 --use-gpu=CUDA --gpu-batchsize=512 -t 2" #Argon2d4096
9 | "argon2d250" = " -a argon2d250 --use-gpu CUDA -t 4 --gpu-batchsize 2048" #Argon2d4096
10 |
11 | }
12 |
13 | $Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName
14 |
15 | $Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
16 |
17 | $Algo = Get-Algorithm($_)
18 | [PSCustomObject]@{
19 | Type = "NVIDIA"
20 | Path = $Path
21 | Arguments = "--max-temp=95 -R 1 -q -b $($Variables.NVIDIAMinerAPITCPPort) -o $($Pools.($Algo).Protocol)://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
22 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
23 | API = "Ccminer"
24 | Port = $Variables.NVIDIAMinerAPITCPPort
25 | Wrap = $false
26 | URI = $Uri
27 | User = $Pools.($Algo).User
28 | Host = $Pools.($Algo).Host
29 | Coin = $Pools.($Algo).Coin
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/OptionalMiners/nanominer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) { . .\Include.ps1; RegisterLoaded(".\Include.ps1") }
2 |
3 | $Path = ".\Bin\NVIDIA-nanominer130\cmdline_launcher.bat"
4 | $Uri = "https://github.com/nanopool/nanominer/releases/download/v1.3.0/nanominer-windows-1.3.0.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "cryptonightr" = "" #cryptonight/r (NiceHash)
8 | "cryptonight-monero" = "" #monero (Mining Pool Hub)
9 | }
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
13 | $Algo = Get-Algorithm($_)
14 | [PSCustomObject]@{
15 | Type = "NVIDIA"
16 | Path = $Path
17 | Arguments = "-mport -$($Variables.NVIDIAMinerAPITCPPort) -algo cryptonightr -wallet $($Pools.($Algo).User) -rigName $($Pools.($Algo).Pass) -pool1 $($Pools.($Algo).Host):$($Pools.($Algo).Port)"
18 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99 } # substract 1% devfee
19 | API = "nanominer"
20 | Port = $Variables.NVIDIAMinerAPITCPPort
21 | Wrap = $false
22 | URI = $Uri
23 | User = $Pools.($Algo).User
24 | Host = $Pools.($Algo).Host
25 | Coin = $Pools.($Algo).Coin
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/OptionalMiners/nbminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-nbminer2321\nbminer.exe"
4 | $Uri = "https://nemosminer.com/data/optional/NBMiner_Win23.2.1.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | #"grincuckatoo31" = " -a cuckatoo -o stratum+tcp://" #grincuckatoo31 (8gb cards work win7,8, 8.1 & Linux. Win10 requires 10gb+vram)
8 | "grincuckaroo29" = " -a cuckaroo -o stratum+tcp://" #grincuckaroo29
9 | "cuckoocycle" = " -a cuckoo_ae -o stratum+tcp://" #grincuckaroo29
10 | #"ethash" = " -a ethash -o ethnh+tcp://" #ethash
11 | }
12 |
13 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
14 |
15 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
16 | $Algo = Get-Algorithm($_)
17 | switch ($_) {
18 | "ethash" {$Fee = 0.0065}
19 | default {$Fee = 0.02}
20 | }
21 | If ($Pools.($Algo).Host -notlike "*nicehash*") {return}
22 | [PSCustomObject]@{
23 | Type = "NVIDIA"
24 | Path = $Path
25 | Arguments = "$($Commands.$_)$($Pools.($Algo).Host):$($Pools.($Algo).Port) --cuckoo-intensity 0 --api 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -u $($Pools.($Algo).User):$($Pools.($Algo).Pass)"
26 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * (1 - $Fee)} # substract devfee
27 | API = "NBMiner"
28 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
29 | Wrap = $false
30 | URI = $Uri
31 | User = $Pools.($Algo).User
32 | Host = $Pools.($Algo).Host
33 | Coin = $Pools.($Algo).Coin
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/OptionalMiners/trex.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-trex102\t-rex.exe"
4 | $Uri = "https://github.com/trexminer/T-Rex/releases/download/0.10.2/t-rex-0.10.2-win-cuda10.0.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "balloon" = " -a balloon -i 23" #Balloon
8 | "astralhash" = " -a astralhash -i 23" #Astralhash
9 | "jeonghash" = " -a jeonghash -i 23" #Jeonghash
10 | "padihash" = " -a padihash -i 23" #Padihash
11 | "pawelhash" = " -a pawelhash -i 23" #Pawelhash
12 | "polytimos" = " -a polytimos -i 25" #Poly
13 | "bcd" = " -a bcd -i 24" #Bcd
14 | #"skunk" = " -a skunk" #Skunk
15 | "bitcore" = " -a bitcore -i 25" #Bitcore
16 | "geek" = " -a geek -i 23" #Geekcash
17 | #"lyra2z" = "" #Lyra2z
18 | "c11" = " -a c11 -i 24" #C11
19 | "x17" = " -a x17 -i 24" #X17
20 | "x16s" = " -a x16s -i 24" #X16s
21 | "x16r" = " -a x16r -i 24" #X16r
22 | "x16rt" = " -a x16rt -i 24" #X16rt
23 | "sonoa" = " -a sonoa -i 23" #Sonoa
24 | #"hmq1725" = " -a hmq1725 -i 23" #Hmq1725
25 | "dedal" = " -a dedal -i 23" #Dedal
26 | "sha256t" = " -a sha256t -i 26" #Sha256t
27 | "sha256q" = " -a sha256q -i 23" #Sha256q
28 | "x21s" = " -a x21s -i 23 " #X21s
29 | "x22i" = " -a x22i -i 23" #X22i
30 | "timetravel" = " -a timetravel -i 25" #Timetravel
31 | "tribus" = " -a tribus -i 23" #Tribus
32 | "veil" = " -a x16rt -i 24" #Veil
33 | "mtp" = " -a mtp -i 21" #MTP
34 | }
35 |
36 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
37 |
38 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
39 | $Algo = Get-Algorithm($_)
40 | [PSCustomObject]@{
41 | Type = "NVIDIA"
42 | Path = $Path
43 | Arguments = "--no-watchdog --no-nvml -b 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_) --quiet -r 10 --cpu-priority 5"
44 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
45 | API = "ccminer"
46 | Port = $Variables.NVIDIAMinerAPITCPPort
47 | Wrap = $false
48 | URI = $Uri
49 | User = $Pools.($Algo).User
50 | Host = $Pools.($Algo).Host
51 | Coin = $Pools.($Algo).Coin
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/OptionalMiners/ttminer.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-TTMiner222\TT-Miner.exe"
4 | $Uri = "https://nemosminer.com/data/optional/TT-Miner-2.2.2.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "progpow" = " -a PROGPOW"
8 | #"mtp" = " -a MTP"
9 | #"ethash" = " -a ETHASH"
10 | "ubqhash" = " -a UBQHASH"
11 | #"myr-gr" = " -a MYRGR "
12 | #"lyra2v3" = " -a LYRA2V3"
13 | #"lyra2rev3" = " -a LYRA2V3"
14 | }
15 |
16 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
17 |
18 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
19 | $Algo = Get-Algorithm($_)
20 | [PSCustomObject]@{
21 | Type = "NVIDIA"
22 | Path = $Path
23 | Arguments = "-d $($Config.SelGPUDSTM) --api-bind 127.0.0.1:$($Variables.NVIDIAMinerAPITCPPort) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
24 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
25 | API = "TTminer"
26 | Port = $Variables.NVIDIAMinerAPITCPPort #4068
27 | Wrap = $false
28 | URI = $Uri
29 | User = $Pools.($Algo).User
30 | Host = $Pools.($Algo).Host
31 | Coin = $Pools.($Algo).Coin
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/OptionalMiners/xmrig.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-XMRig2143\xmrig-nvidia.exe"
4 | $Uri = "https://github.com/xmrig/xmrig-nvidia/releases/download/v2.14.3/xmrig-nvidia-2.14.3-cuda10_1-win64.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | #"cryptonightr" = " --nicehash" #cryptonight/r (NiceHash)
8 | #"cryptonight-monero" = "" #cryptonight/r (Mining Pool Hub)
9 | }
10 | $Port = 4068 #2222
11 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
12 |
13 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
14 | $Algo = Get-Algorithm($_)
15 | [PSCustomObject]@{
16 | Type = "NVIDIA"
17 | Path = $Path
18 | Arguments = "-R 1 --cuda-devices=$($Config.SelGPUCC) -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_) -a cryptonight/r --keepalive --api-port=$($Variables.NVIDIAMinerAPITCPPort) --donate-level=1"
19 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
20 | API = "XMRig"
21 | Port = $Variables.NVIDIAMinerAPITCPPort
22 | Wrap = $false
23 | URI = $Uri
24 | User = $Pools.($Algo).User
25 | Host = $Pools.($Algo).Host
26 | Coin = $Pools.($Algo).Coin
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/OptionalMiners/xmrigcpu.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\CPU-XMRig\xmrig.exe"
4 | $Uri = "https://github.com/xmrig/xmrig/releases/download/v2.6.2/xmrig-2.6.2-msvc-win64.zip"
5 |
6 | $Commands = [PSCustomObject]@{
7 | #"cryptonight" = "" #Cryptonight
8 | #"cryptonight-lite" = "" #Cryptonight-lite
9 | #"cryptonight-heavy" = "" #Cryptonight-Heavy
10 | #"cryptonightV7" = "" #CryptonightV7
11 | }
12 |
13 | $ThreadCount = $ThreadCount = $Variables.ProcessorCount - 2
14 |
15 | $Port = $Variables.CPUMinerAPITCPPort #2222
16 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
17 |
18 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
19 | $Algo = Get-Algorithm($_)
20 | [PSCustomObject]@{
21 | Type = "CPU"
22 | Path = $Path
23 | # Arguments = "-t $($ThreadCount) -a $_ -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_) --api-port $($port) --donate-level 1"
24 | Arguments = "-a $_ -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_) --api-port $($port) --donate-level 1"
25 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Week * .99} # substract 1% devfee
26 | API = "XMRig"
27 | Port = $Port
28 | Wrap = $false
29 | URI = $Uri
30 | User = $Pools.($Algo).User
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/OptionalMiners/zealotenemy.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | $Path = ".\Bin\NVIDIA-zealotenemy128\z-enemy.exe"
4 | $Uri = "https://nemosminer.com/data/optional/z-enemy.1-28-cuda10.0.7z"
5 |
6 | $Commands = [PSCustomObject]@{
7 | "aergo" = " -i 23" #AeriumX
8 | #"bcd" = "" #Bcd
9 | #"phi" = " -i 22" #Phi
10 | #"phi2" = "" #Phi2
11 | #"poly" = "" #Polytimos
12 | #"bitcore" = "" #Bitcore
13 | #"x16r" = "" #X16r
14 | #"x16s" = "" #X16s
15 | #"sonoa" = "" #SonoA
16 | "skunk" = "" #Skunk
17 | #"timetravel" = "" #Timetravel
18 | #"tribus" = "" #Tribus
19 | #"c11" = "" #C11
20 | "xevan" = " -i 22" #Xevan
21 | #"x17" = "" #X17
22 | "hex" = " -i 24" #Hex
23 | }
24 |
25 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
26 |
27 | $Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
28 | $Algo = Get-Algorithm($_)
29 | [PSCustomObject]@{
30 | Type = "NVIDIA"
31 | Path = $Path
32 | Arguments = "-b $($Variables.NVIDIAMinerAPITCPPort) -d $($Config.SelGPUCC) -R 1 -q -a $_ -o stratum+tcp://$($Pools.($Algo).Host):$($Pools.($Algo).Port) -u $($Pools.($Algo).User) -p $($Pools.($Algo).Pass)$($Commands.$_)"
33 | HashRates = [PSCustomObject]@{($Algo) = $Stats."$($Name)_$($Algo)_HashRate".Day * .99} # substract 1% devfee
34 | API = "ccminer"
35 | Port = $Variables.NVIDIAMinerAPITCPPort
36 | Wrap = $false
37 | URI = $Uri
38 | User = $Pools.($Algo).User
39 | Host = $Pools.($Algo).Host
40 | Coin = $Pools.($Algo).Coin
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/Pools/ahashpool.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "https://www.ahashpool.com/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.ahashpool.com"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/ahashpool24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "https://www.ahashpool.com/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.ahashpool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/ahashpoolplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\ahashpoolplus\ahashpoolplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.ahashpool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/blazepool.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://api.blazepool.com/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.blazepool.com"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = ""
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/blazepool24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://api.blazepool.com/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.blazepool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = ""
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/blazepoolplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\blazepoolplus\blazepoolplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.blazepool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = ""
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/blockmasters.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://blockmasters.co/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = "blockmasters.co"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 |
15 | $Location = "US"
16 |
17 | # Placed here for Perf (Disk reads)
18 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
19 | $PoolConf = $Config.PoolsConfig.$ConfName
20 |
21 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
22 | $PoolHost = "$($HostSuffix)"
23 | $PoolPort = $Request.$_.port
24 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
25 |
26 | $Divisor = 1000000 * [Double]$Request.$_.mbtc_mh_factor
27 |
28 | switch ($PoolAlgorithm) {
29 | "bcd" {$Divisor /= 10}
30 | }#temp fix
31 |
32 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
33 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
34 |
35 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
36 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
37 |
38 | if ($PoolConf.Wallet) {
39 | [PSCustomObject]@{
40 | Algorithm = $PoolAlgorithm
41 | Info = "$ahashpool_Coin $ahashpool_Coinname"
42 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
43 | StablePrice = $Stat.Week
44 | MarginOfError = $Stat.Week_Fluctuation
45 | Protocol = "stratum+tcp"
46 | Host = $PoolHost
47 | Port = $PoolPort
48 | User = $PoolConf.Wallet
49 | Pass = "$($WorkerName),c=$($PwdCurr)"
50 | Location = $Location
51 | SSL = $false
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/Pools/blockmasters24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://blockmasters.co/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = "blockmasters.co"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/blockmastersplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\blockmastersplus\blockmastersplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = "blockmasters.co"
12 | $PriceField = "Plus_Price"
13 | # $PriceField = "actual_last24h"
14 | # $PriceField = "estimate_current"
15 | $DivisorMultiplier = 1000000
16 |
17 | $Location = "US"
18 |
19 | # Placed here for Perf (Disk reads)
20 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
21 | $PoolConf = $Config.PoolsConfig.$ConfName
22 |
23 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
24 | $PoolHost = "$($HostSuffix)"
25 | $PoolPort = $Request.$_.port
26 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
27 |
28 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
29 |
30 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
32 |
33 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
34 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
35 |
36 | $Locations = "eu.", ""
37 | $Locations | ForEach-Object {
38 | $Pool_Location = $_
39 |
40 | switch ($Pool_Location) {
41 | "eu." {$Location = "EU"}
42 | "" {$Location = "US"}
43 | }
44 | $PoolHost = "$($Pool_Location)$($HostSuffix)"
45 |
46 | if ($PoolConf.Wallet) {
47 | [PSCustomObject]@{
48 | Algorithm = $PoolAlgorithm
49 | Info = "$ahashpool_Coin $ahashpool_Coinname"
50 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
51 | StablePrice = $Stat.Week
52 | MarginOfError = $Stat.Week_Fluctuation
53 | Protocol = "stratum+tcp"
54 | Host = $PoolHost
55 | Port = $PoolPort
56 | User = $PoolConf.Wallet
57 | Pass = "$($WorkerName),c=$($PwdCurr)"
58 | Location = $Location
59 | SSL = $false
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Pools/hashrefinery.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://pool.hashrefinery.com/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".us.hashrefinery.com"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/hashrefinery24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://pool.hashrefinery.com/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".us.hashrefinery.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/hashrefineryplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\hashrefineryplus\hashrefineryplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".us.hashrefinery.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = "$ahashpool_Coin $ahashpool_Coinname"
39 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/minemoney.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "https://www.minemoney.co/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".MineMoney.ca"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | $Divisor = 1000000
30 |
31 | switch ($PoolAlgorithm) {
32 | "blake2s" {$Divisor *= 1000}
33 | "blakecoin" {$Divisor *= 1000}
34 | "decred" {$Divisor *= 1000}
35 | "keccak" {$Divisor *= 1000}
36 | }
37 |
38 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
39 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
40 |
41 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
42 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
43 |
44 | if ($PoolConf.Wallet) {
45 | [PSCustomObject]@{
46 | Algorithm = $PoolAlgorithm
47 | Info = "$ahashpool_Coin $ahashpool_Coinname"
48 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
49 | StablePrice = $Stat.Week
50 | MarginOfError = $Stat.Week_Fluctuation
51 | Protocol = "stratum+tcp"
52 | Host = $PoolHost
53 | Port = $PoolPort
54 | User = $PoolConf.Wallet
55 | Pass = "$($WorkerName),c=$($PwdCurr)"
56 | Location = $Location
57 | SSL = $false
58 | }
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/Pools/minemoney24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "https://www.minemoney.co/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".MineMoney.ca"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | $Divisor = 1000000000
30 |
31 | switch ($PoolAlgorithm) {
32 | "blake2s" {$Divisor *= 1000}
33 | "blakecoin" {$Divisor *= 1000}
34 | "decred" {$Divisor *= 1000}
35 | "keccak" {$Divisor *= 1000}
36 | }
37 |
38 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
39 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
40 |
41 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
42 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
43 |
44 | if ($PoolConf.Wallet) {
45 | [PSCustomObject]@{
46 | Algorithm = $PoolAlgorithm
47 | Info = "$ahashpool_Coin $ahashpool_Coinname"
48 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
49 | StablePrice = $Stat.Week
50 | MarginOfError = $Stat.Week_Fluctuation
51 | Protocol = "stratum+tcp"
52 | Host = $PoolHost
53 | Port = $PoolPort
54 | User = $PoolConf.Wallet
55 | Pass = "$($WorkerName),c=$($PwdCurr)"
56 | Location = $Location
57 | SSL = $false
58 | }
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/Pools/miningpoolhub.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try { $Request = Invoke-WebRequest "https://miningpoolhub.com/index.php?page=api&action=getautoswitchingandprofitsstatistics" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
4 | }
5 | catch { return }
6 |
7 | if (-not $Request.success) {
8 | return
9 | }
10 |
11 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
12 |
13 | $Locations = 'EU', 'US', 'Asia'
14 | # Placed here for Perf (Disk reads)
15 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
16 | $PoolConf = $Config.PoolsConfig.$ConfName
17 |
18 |
19 | $Request.return | ForEach-Object {
20 | $Current = $_
21 | $Algorithm = $_.algo -replace "-"
22 | $Coin = (Get-Culture).TextInfo.ToTitleCase(($_.current_mining_coin -replace "-", " ")) -replace " "
23 |
24 | $Stat = Set-Stat -Name "$($Name)_$($Algorithm)_Profit" -Value ([decimal]$_.profit / 1000000000)
25 | $Price = (($Stat.Live * (1 - [Math]::Min($Stat.Day_Fluctuation, 1))) + ($Stat.Day * (0 + [Math]::Min($Stat.Day_Fluctuation, 1))))
26 |
27 | $Locations | ForEach-Object {
28 | $Location = $_
29 |
30 | [PSCustomObject]@{
31 | Algorithm = $Algorithm
32 | Info = $Coin
33 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
34 | StablePrice = $Stat.Week
35 | Protocol = 'stratum+tcp'
36 | Host = $Current.all_host_list.split(";") | Sort-Object -Descending {$Current -ilike "$Location*"} | Select-Object -First 1
37 | Port = $Current.algo_switch_port
38 | User = "$($PoolConf.UserName).$($PoolConf.WorkerName.replace('ID=',''))"
39 | Pass = 'x'
40 | Location = $Location
41 | SSL = $false
42 | }
43 |
44 | [PSCustomObject]@{
45 | Algorithm = $Algorithm
46 | Info = $Coin
47 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
48 | StablePrice = $Stat.Week
49 | Protocol = 'stratum+ssl'
50 | Host = $Current.all_host_list.split(";") | Sort-Object -Descending {$Current -ilike "$Location*"} | Select-Object -First 1
51 | Port = $Current.algo_switch_port
52 | User = "$($PoolConf.UserName).$($PoolConf.WorkerName.replace('ID=',''))"
53 | Pass = 'x'
54 | Location = $Location
55 | SSL = $true
56 | }
57 | }
58 | }
59 |
60 |
61 |
--------------------------------------------------------------------------------
/Pools/nicehash.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "https://api.nicehash.com/api?method=simplemultialgo.info" -TimeoutSec 15 -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 |
12 | # Placed here for Perf (Disk reads)
13 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
14 | $PoolConf = $Config.PoolsConfig.$ConfName
15 |
16 |
17 | $Request.result.simplemultialgo | ForEach-Object {
18 | $Algo = $_.Name
19 | $NiceHash_Port = $_.port
20 | $NiceHash_Algorithm = Get-Algorithm $_.name
21 | $NiceHash_Coin = ""
22 |
23 | $Divisor = 1000000000
24 |
25 | $Stat = Set-Stat -Name "$($Name)_$($NiceHash_Algorithm)_Profit" -Value ([Double]$_.paying / $Divisor)
26 |
27 | $Locations = "eu", "usa", "hk", "jp", "in", "br"
28 | $Locations | ForEach-Object {
29 | $NiceHash_Location = $_
30 |
31 | switch ($NiceHash_Location) {
32 | "eu" {$Location = "EU"}
33 | "usa" {$Location = "US"}
34 | "jp" {$Location = "JP"}
35 | "hk" {$Location = "HK"}
36 | "in" {$Location = "IN"}
37 | "br" {$Location = "BR"}
38 | }
39 | $NiceHash_Host = "$($Algo).$NiceHash_Location.nicehash.com"
40 |
41 | if ($PoolConf.Wallet) {
42 | [PSCustomObject]@{
43 | Algorithm = $NiceHash_Algorithm
44 | Info = $NiceHash_Coin
45 | Price = $Stat.Live * $PoolConf.PricePenaltyFactor
46 | StablePrice = $Stat.Week
47 | MarginOfError = $Stat.Week_Fluctuation
48 | Protocol = "stratum+tcp"
49 | Host = $NiceHash_Host
50 | Port = $NiceHash_Port
51 | User = "$($PoolConf.Wallet).$($PoolConf.WorkerName.Replace('ID=',''))"
52 | Pass = "x"
53 | Location = $Location
54 | SSL = $false
55 | }
56 |
57 | [PSCustomObject]@{
58 | Algorithm = $NiceHash_Algorithm
59 | Info = $NiceHash_Coin
60 | Price = $Stat.Live * $PoolConf.PricePenaltyFactor
61 | StablePrice = $Stat.Week
62 | MarginOfError = $Stat.Week_Fluctuation
63 | Protocol = "stratum+ssl"
64 | Host = $NiceHash_Host
65 | Port = $NiceHash_Port
66 | User = "$($PoolConf.Wallet).$($PoolConf.WorkerName.Replace('ID=',''))"
67 | Pass = "x"
68 | Location = $Location
69 | SSL = $true
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/Pools/nlpool.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://www.nlpool.nl/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = "mine.nlpool.nl"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 |
15 | $Location = "US"
16 |
17 | # Placed here for Perf (Disk reads)
18 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
19 | $PoolConf = $Config.PoolsConfig.$ConfName
20 |
21 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
22 | $PoolHost = $HostSuffix
23 | $PoolPort = $Request.$_.port
24 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
25 |
26 | $Divisor = 1000000 * [Double]$Request.$_.mbtc_mh_factor
27 |
28 | switch ($PoolAlgorithm) {
29 | "Yescrypt" {$Divisor *= 100} #temp fix
30 |
31 | }
32 |
33 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
34 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
35 |
36 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
37 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
38 |
39 | if ($PoolConf.Wallet) {
40 | [PSCustomObject]@{
41 | Algorithm = $PoolAlgorithm
42 | Info = ""
43 | Price = $Stat.Live * $PoolConf.PricePenaltyFactor
44 | StablePrice = $Stat.Week
45 | MarginOfError = $Stat.Week_Fluctuation
46 | Protocol = "stratum+tcp"
47 | Host = $PoolHost
48 | Port = $PoolPort
49 | User = $PoolConf.Wallet
50 | Pass = "$($WorkerName),c=$($PwdCurr)"
51 | Location = $Location
52 | SSL = $false
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Pools/nlpool24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://www.nlpool.nl/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = "mine.nlpool.nl"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 |
15 | $Location = "US"
16 |
17 | # Placed here for Perf (Disk reads)
18 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
19 | $PoolConf = $Config.PoolsConfig.$ConfName
20 |
21 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
22 | $PoolHost = $HostSuffix
23 | $PoolPort = $Request.$_.port
24 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
25 |
26 | $Divisor = 1000000000 * [Double]$Request.$_.mbtc_mh_factor
27 |
28 | switch ($PoolAlgorithm) {
29 | "Yescrypt" {$Divisor *= 100} #temp fix
30 |
31 | }
32 |
33 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
34 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
35 |
36 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
37 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
38 |
39 | if ($PoolConf.Wallet) {
40 | [PSCustomObject]@{
41 | Algorithm = $PoolAlgorithm
42 | Info = ""
43 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
44 | StablePrice = $Stat.Week
45 | MarginOfError = $Stat.Week_Fluctuation
46 | Protocol = "stratum+tcp"
47 | Host = $PoolHost
48 | Port = $PoolPort
49 | User = $PoolConf.Wallet
50 | Pass = "$($WorkerName),c=$($PwdCurr)"
51 | Location = $Location
52 | SSL = $false
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Pools/nlpoolplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\nlpoolplus\nlpoolplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = "mine.nlpool.nl"
12 | $PriceField = "Plus_Price"
13 | # $PriceField = "actual_last24h"
14 | # $PriceField = "estimate_current"
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = $HostSuffix
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = 1000000 * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | switch ($PoolAlgorithm) {
30 | "Yescrypt" {$Divisor *= 100} #temp fix
31 |
32 | }
33 |
34 | $Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))
35 |
36 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
37 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
38 |
39 | if ($PoolConf.Wallet) {
40 | [PSCustomObject]@{
41 | Algorithm = $PoolAlgorithm
42 | Info = ""
43 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
44 | StablePrice = $Stat.Week
45 | MarginOfError = $Stat.Week_Fluctuation
46 | Protocol = "stratum+tcp"
47 | Host = $PoolHost
48 | Port = $PoolPort
49 | User = $PoolConf.Wallet
50 | Pass = "$($WorkerName),c=$($PwdCurr)"
51 | Location = $Location
52 | SSL = $false
53 | }
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Pools/phiphipool.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-RestMethod "http://www.phi-phi-pool.com/api/status" -UseBasicParsing -TimeoutSec 10 -ErrorAction Stop
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".phi-phi-pool.com"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | # Placed here for Perf (Disk reads)
17 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
18 | $PoolConf = $Config.PoolsConfig.$ConfName
19 |
20 | $Locations = "asia", "eu"
21 | $Locations | ForEach-Object {
22 | $Pool_Location = $_
23 |
24 | switch ($Pool_Location) {
25 | "eu" {$Location = "EU"} #Europe
26 | "asia" {$Location = "JP"} #Asia [Thailand]
27 | default {$Location = "JP"}
28 | }
29 |
30 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
31 | $PoolHost = "$($Pool_Location)$($HostSuffix)"
32 | $PoolPort = $Request.$_.port
33 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
34 |
35 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
36 |
37 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
38 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
39 |
40 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
41 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
42 |
43 | if ($PoolConf.Wallet) {
44 | [PSCustomObject]@{
45 | Algorithm = $PoolAlgorithm
46 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
47 | StablePrice = $Stat.Week
48 | MarginOfError = $Stat.Week_Fluctuation
49 | Protocol = "stratum+tcp"
50 | Host = $PoolHost
51 | Port = $PoolPort
52 | User = $PoolConf.Wallet
53 | Pass = "$($WorkerName),c=$($PwdCurr)"
54 | Location = $Location
55 | SSL = $false
56 | }
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Pools/phiphipool24h.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-RestMethod "http://www.phi-phi-pool.com/api/status" -UseBasicParsing -TimeoutSec 10 -ErrorAction Stop
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".phi-phi-pool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | # Placed here for Perf (Disk reads)
17 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
18 | $PoolConf = $Config.PoolsConfig.$ConfName
19 |
20 | $Locations = "asia", "eu"
21 | $Locations | ForEach-Object {
22 | $Pool_Location = $_
23 |
24 | switch ($Pool_Location) {
25 | "eu" {$Location = "EU"} #Europe
26 | "asia" {$Location = "JP"} #Asia [Thailand]
27 | default {$Location = "JP"}
28 | }
29 |
30 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
31 | $PoolHost = "$($Pool_Location)$($HostSuffix)"
32 | $PoolPort = $Request.$_.port
33 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
34 |
35 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
36 |
37 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
38 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
39 |
40 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
41 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
42 |
43 | if ($PoolConf.Wallet) {
44 | [PSCustomObject]@{
45 | Algorithm = $PoolAlgorithm
46 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
47 | StablePrice = $Stat.Week
48 | MarginOfError = $Stat.Week_Fluctuation
49 | Protocol = "stratum+tcp"
50 | Host = $PoolHost
51 | Port = $PoolPort
52 | User = $PoolConf.Wallet
53 | Pass = "$($WorkerName),c=$($PwdCurr)"
54 | Location = $Location
55 | SSL = $false
56 | }
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Pools/phiphipool24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-RestMethod "http://www.phi-phi-pool.com/api/status" -UseBasicParsing -TimeoutSec 10 -ErrorAction Stop
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".phi-phi-pool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | # Placed here for Perf (Disk reads)
17 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
18 | $PoolConf = $Config.PoolsConfig.$ConfName
19 |
20 | $Locations = "asia", "eu"
21 | $Locations | ForEach-Object {
22 | $Pool_Location = $_
23 |
24 | switch ($Pool_Location) {
25 | "eu" {$Location = "EU"} #Europe
26 | "asia" {$Location = "JP"} #Asia [Thailand]
27 | default {$Location = "JP"}
28 | }
29 |
30 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
31 | $PoolHost = "$($Pool_Location)$($HostSuffix)"
32 | $PoolPort = $Request.$_.port
33 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
34 |
35 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
36 |
37 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
38 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
39 |
40 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
41 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
42 |
43 | if ($PoolConf.Wallet) {
44 | [PSCustomObject]@{
45 | Algorithm = $PoolAlgorithm
46 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
47 | StablePrice = $Stat.Week
48 | MarginOfError = $Stat.Week_Fluctuation
49 | Protocol = "stratum+tcp"
50 | Host = $PoolHost
51 | Port = $PoolPort
52 | User = $PoolConf.Wallet
53 | Pass = "$($WorkerName),c=$($PwdCurr)"
54 | Location = $Location
55 | SSL = $false
56 | }
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Pools/phiphipoolplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\phiphipoolplus\phiphipoolplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".phi-phi-pool.com"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | # Placed here for Perf (Disk reads)
17 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
18 | $PoolConf = $Config.PoolsConfig.$ConfName
19 |
20 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
21 | $PoolPort = $Request.$_.port
22 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
23 |
24 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
25 |
26 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
27 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
28 |
29 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
30 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
31 |
32 | $Locations = "asia", "eu"
33 | $Locations | ForEach-Object {
34 | $Pool_Location = $_
35 |
36 | switch ($Pool_Location) {
37 | "eu" {$Location = "EU"} #Europe
38 | "asia" {$Location = "JP"} #Asia [Thailand]
39 | default {$Location = "JP"}
40 | }
41 | $PoolHost = "$($Pool_Location)$($HostSuffix)"
42 |
43 |
44 | if ($PoolConf.Wallet) {
45 | [PSCustomObject]@{
46 | Algorithm = $PoolAlgorithm
47 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
48 | StablePrice = $Stat.Week
49 | MarginOfError = $Stat.Week_Fluctuation
50 | Protocol = "stratum+tcp"
51 | Host = $PoolHost
52 | Port = $PoolPort
53 | User = $PoolConf.Wallet
54 | Pass = "$($WorkerName),c=$($PwdCurr)"
55 | Location = $Location
56 | SSL = $false
57 | }
58 | }
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/Pools/zergpool.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://api.zergpool.com:8080/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.zergpool.com"
12 | # $PriceField = "actual_last24h_shared"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = ""
39 | Price = $Stat.Live * $PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/zergpool24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://api.zergpool.com:8080/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.zergpool.com"
12 | $PriceField = "actual_last24h_shared"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | $Location = "US"
17 |
18 | # Placed here for Perf (Disk reads)
19 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
20 | $PoolConf = $Config.PoolsConfig.$ConfName
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = ""
39 | Price = $Stat.Live * $PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/zergpoolplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1; RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\zergpoolplus\zergpoolplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.zergpool.com"
12 | $PriceField = "Plus_Price"
13 | # $PriceField = "actual_last24h_shared"
14 | # $PriceField = "estimate_current"
15 | $DivisorMultiplier = 1000000
16 |
17 | $Location = "US"
18 |
19 | # Placed here for Perf (Disk reads)
20 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null) {$Name}else {"default"}
21 | $PoolConf = $Config.PoolsConfig.$ConfName
22 |
23 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
24 | $PoolHost = "$($_)$($HostSuffix)"
25 | $PoolPort = $Request.$_.port
26 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
27 |
28 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
29 |
30 | $Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | if ($PoolConf.Wallet) {
36 | [PSCustomObject]@{
37 | Algorithm = $PoolAlgorithm
38 | Info = ""
39 | Price = $Stat.Live * $PoolConf.PricePenaltyFactor
40 | StablePrice = $Stat.Week
41 | MarginOfError = $Stat.Week_Fluctuation
42 | Protocol = "stratum+tcp"
43 | Host = $PoolHost
44 | Port = $PoolPort
45 | User = $PoolConf.Wallet
46 | Pass = "$($WorkerName),c=$($PwdCurr)"
47 | Location = $Location
48 | SSL = $false
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Pools/zpool.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://www.zpool.ca/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.zpool.ca"
12 | # $PriceField = "actual_last24h"
13 | $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000
15 |
16 | # Placed here for Perf (Disk reads)
17 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
18 | $PoolConf = $Config.PoolsConfig.$ConfName
19 |
20 |
21 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
22 | $Algo = $_
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | $Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))
30 |
31 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
32 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
33 |
34 | $Locations = "eu", "na", "sea"
35 | $Locations | ForEach-Object {
36 | $Pool_Location = $_
37 |
38 | switch ($Pool_Location) {
39 | "eu" {$Location = "EU"}
40 | "na" {$Location = "US"}
41 | "sea" {$Location = "JP"}
42 | default {$Location = "US"}
43 | }
44 | $PoolHost = "$($Algo).$($Pool_Location)$($HostSuffix)"
45 |
46 | if ($PoolConf.Wallet) {
47 | [PSCustomObject]@{
48 | Algorithm = $PoolAlgorithm
49 | Info = "$ahashpool_Coin $ahashpool_Coinname"
50 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
51 | StablePrice = $Stat.Week
52 | MarginOfError = $Stat.Week_Fluctuation
53 | Protocol = "stratum+tcp"
54 | Host = $PoolHost
55 | Port = $PoolPort
56 | User = $PoolConf.Wallet
57 | Pass = "$($WorkerName),c=$($PwdCurr)"
58 | Location = $Location
59 | SSL = $false
60 | }
61 | }
62 | }
63 | }
--------------------------------------------------------------------------------
/Pools/zpool24hr.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | try {
4 | $Request = Invoke-WebRequest "http://www.zpool.ca/api/status" -UseBasicParsing -Headers @{"Cache-Control" = "no-cache"} | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.zpool.ca"
12 | $PriceField = "actual_last24h"
13 | # $PriceField = "estimate_current"
14 | $DivisorMultiplier = 1000000000
15 |
16 | # Placed here for Perf (Disk reads)
17 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
18 | $PoolConf = $Config.PoolsConfig.$ConfName
19 |
20 |
21 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
22 | $Algo = $_
23 | $PoolHost = "$($_)$($HostSuffix)"
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | if ((Get-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit") -eq $null) {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
30 | else {$Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))}
31 |
32 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
33 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
34 |
35 | $Locations = "eu", "na", "sea"
36 | $Locations | ForEach-Object {
37 | $Pool_Location = $_
38 |
39 | switch ($Pool_Location) {
40 | "eu" {$Location = "EU"}
41 | "na" {$Location = "US"}
42 | "sea" {$Location = "JP"}
43 | default {$Location = "US"}
44 | }
45 | $PoolHost = "$($Algo).$($Pool_Location)$($HostSuffix)"
46 |
47 | if ($PoolConf.Wallet) {
48 | [PSCustomObject]@{
49 | Algorithm = $PoolAlgorithm
50 | Info = "$ahashpool_Coin $ahashpool_Coinname"
51 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
52 | StablePrice = $Stat.Week
53 | MarginOfError = $Stat.Week_Fluctuation
54 | Protocol = "stratum+tcp"
55 | Host = $PoolHost
56 | Port = $PoolPort
57 | User = $PoolConf.Wallet
58 | Pass = "$($WorkerName),c=$($PwdCurr)"
59 | Location = $Location
60 | SSL = $false
61 | }
62 | }
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/Pools/zpoolplus.ps1:
--------------------------------------------------------------------------------
1 | if (!(IsLoaded(".\Include.ps1"))) {. .\Include.ps1;RegisterLoaded(".\Include.ps1")}
2 |
3 | Try {
4 | $Request = get-content ((split-path -parent (get-item $script:MyInvocation.MyCommand.Path).Directory) + "\BrainPlus\zpoolplus\zpoolplus.json") | ConvertFrom-Json
5 | }
6 | catch { return }
7 |
8 | if (-not $Request) {return}
9 |
10 | $Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName
11 | $HostSuffix = ".mine.zpool.ca"
12 | $PriceField = "Plus_Price"
13 | # $PriceField = "actual_last24h"
14 | # $PriceField = "estimate_current"
15 | $DivisorMultiplier = 1000000
16 |
17 | # Placed here for Perf (Disk reads)
18 | $ConfName = if ($Config.PoolsConfig.$Name -ne $Null){$Name}else{"default"}
19 | $PoolConf = $Config.PoolsConfig.$ConfName
20 |
21 |
22 | $Request | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | ForEach-Object {
23 | $Algo = $_
24 | $PoolPort = $Request.$_.port
25 | $PoolAlgorithm = Get-Algorithm $Request.$_.name
26 |
27 | $Divisor = $DivisorMultiplier * [Double]$Request.$_.mbtc_mh_factor
28 |
29 | $Stat = Set-Stat -Name "$($Name)_$($PoolAlgorithm)_Profit" -Value ([Double]$Request.$_.$PriceField / $Divisor * (1 - ($Request.$_.fees / 100)))
30 |
31 | $PwdCurr = if ($PoolConf.PwdCurrency) {$PoolConf.PwdCurrency}else {$Config.Passwordcurrency}
32 | $WorkerName = If ($PoolConf.WorkerName -like "ID=*") {$PoolConf.WorkerName} else {"ID=$($PoolConf.WorkerName)"}
33 |
34 | $Locations = "eu", "na", "sea"
35 | $Locations | ForEach-Object {
36 | $Pool_Location = $_
37 | switch ($Pool_Location) {
38 | "eu" {$Location = "EU"}
39 | "na" {$Location = "US"}
40 | "sea" {$Location = "JP"}
41 | default {$Location = "US"}
42 | }
43 | $PoolHost = "$($Algo).$($Pool_Location)$($HostSuffix)"
44 |
45 | if ($PoolConf.Wallet) {
46 | [PSCustomObject]@{
47 | Algorithm = $PoolAlgorithm
48 | Info = "$ahashpool_Coin $ahashpool_Coinname"
49 | Price = $Stat.Live*$PoolConf.PricePenaltyFactor
50 | StablePrice = $Stat.Week
51 | MarginOfError = $Stat.Week_Fluctuation
52 | Protocol = "stratum+tcp"
53 | Host = $PoolHost
54 | Port = $PoolPort
55 | User = $PoolConf.Wallet
56 | Pass = "$($WorkerName),c=$($PwdCurr)"
57 | Location = $Location
58 | SSL = $false
59 | }
60 | }
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/ResetBenchmark.bat:
--------------------------------------------------------------------------------
1 | del "Stats\*_HashRate.txt"
2 |
--------------------------------------------------------------------------------
/ResetProfit.bat:
--------------------------------------------------------------------------------
1 | del "Stats\*Profit.txt"
2 |
--------------------------------------------------------------------------------
/SupportedPools.txt:
--------------------------------------------------------------------------------
1 | zpool
2 | hashrefinery
3 | ahashpool
4 | miningpoolhub
5 | nicehash
6 | zergpool
7 | minemoney
8 | blazepool
9 | phiphipool
10 | blockmasters
11 | nlpool
12 | zergpool
13 |
--------------------------------------------------------------------------------
/Wrapper.ps1:
--------------------------------------------------------------------------------
1 | param(
2 | [Parameter(Mandatory = $true)]
3 | [Int]$ControllerProcessID,
4 | [Parameter(Mandatory = $true)]
5 | [String]$Id,
6 | [Parameter(Mandatory = $true)]
7 | [String]$FilePath,
8 | [Parameter(Mandatory = $false)]
9 | [String]$ArgumentList = "",
10 | [Parameter(Mandatory = $false)]
11 | [String]$WorkingDirectory = ""
12 | )
13 |
14 | # Force Culture to en-US
15 | $culture = [System.Globalization.CultureInfo]::CreateSpecificCulture("en-US")
16 | $culture.NumberFormat.NumberDecimalSeparator = "."
17 | $culture.NumberFormat.NumberGroupSeparator = ","
18 | [System.Threading.Thread]::CurrentThread.CurrentCulture = $culture
19 |
20 | Set-Location (Split-Path $script:MyInvocation.MyCommand.Path)
21 |
22 | . .\Include.ps1
23 |
24 | 0 | Set-Content ".\Logs\energi.txt"
25 |
26 | $PowerShell = [PowerShell]::Create()
27 | if ($WorkingDirectory -ne "") {$PowerShell.AddScript("Set-Location '$WorkingDirectory'") | Out-Null}
28 | $Command = ". '$FilePath'"
29 | if ($ArgumentList -ne "") {$Command += " $ArgumentList"}
30 | $PowerShell.AddScript("$Command 2>&1 | Write-Verbose -Verbose") | Out-Null
31 | $Result = $PowerShell.BeginInvoke()
32 |
33 | Write-Host "energiminer v2.2.1" -BackgroundColor Yellow -ForegroundColor Black
34 |
35 | do {
36 | Start-Sleep -Seconds 1
37 |
38 | $PowerShell.Streams.Verbose.ReadAll() | ForEach-Object {
39 | $Param = @{}
40 | if ($Command -like '*energiminer.exe*') {$Param.NoNewLine = $true}
41 | Write-Host $_ @Param
42 |
43 | $HashRate = 0
44 | if (
45 | $_ -match "Speed\s([0-9.,]+)\s?([kmgtp]?h/s)" -or # EnergiMiner
46 | $_ -match "Accepted.*\s([0-9.,]+)\s([kmgtp]?h/s)" -or # lyclMiner
47 | $false
48 | ) {
49 | $HashRate = [decimal]($Matches[1] -replace ',', '.')
50 | $Units = $Matches[2]
51 |
52 | if ($HashRate -gt 0) {
53 | "`nHashRate Detected: $HashRate $Units" | Write-Host -BackgroundColor Yellow -ForegroundColor Black
54 |
55 | $HashRate *= switch ($Units) {
56 | "kh/s" { 1e3 }
57 | "mh/s" { 1e6 }
58 | "gh/s" { 1e9 }
59 | "th/s" { 1e12 }
60 | "ph/s" { 1e15 }
61 | Default { 1 }
62 | }
63 | $HashRate -replace ',', '.' | Set-Content ".\Logs\energi.txt"
64 | }
65 | }
66 | }
67 | if (-not (Get-Process | Where-Object Id -EQ $ControllerProcessID)) {$PowerShell.Stop() | Out-Null}
68 | } until($Result.IsCompleted)
69 |
70 | Remove-Item ".\Logs\energi.txt" -ErrorAction Ignore
71 |
--------------------------------------------------------------------------------
/prerun/bitcore-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,125 -setMemoryClockOffset:0,0,250 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,125 -setMemoryClockOffset:0,1,250 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,125 -setMemoryClockOffset:0,2,250 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,125 -setMemoryClockOffset:0,3,250 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,125 -setMemoryClockOffset:0,4,250 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,125 -setMemoryClockOffset:0,5,250 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/change.log:
--------------------------------------------------------------------------------
1 | ###############################################
2 | ### NVIDIA INSPECTOR - CHANGELOG ###
3 | ###############################################
4 |
5 | NVIDIA Inspector - Version 1.9.7.8 (.NET Framework 2 or above)
6 |
7 | - added "dpiAware" flag to support win8+ dpi scaling
8 | - avoid interupting status requests on optimus cards
9 | - show power usage in watts on main page if supported and nvml is available
10 | - added encoder usage to monitoring if supported and nvml is available
11 | - added decoder usage to monitoring if supported and nvml is available
12 | - added power limit status to monitoring
13 | - added thermal limit status to monitoring
14 | - added reliability voltage limit status to monitoring
15 | - added sli sync boost limit to monitoring
16 | - added CLI param "setVoltagePoints"
17 | - added CLI param "dumpVoltagePoints"
18 | - changed CLI param "lockVoltagePoint" to also use uV instead of mV
19 | - fixed calling CLI made voltage points reset
20 | - added max boost clock estimation for pascal with voltage point support
21 |
22 |
23 |
24 | NVIDIA Inspector - Version 1.9.7.7 (.NET Framework 2 or above)
25 |
26 | - fixed GDDR5X detection
27 | - fixed voltage reading for pascal
28 | - disabled max boost clock detection for pascal (quick fix for 3rd party curve reset on inspector start)
29 | - readded button and jumplist entry for profile inspector if exists
30 | - added CLI param "-lockVoltagePoint"
31 |
32 |
33 | NVIDIA Profile Inspector - Version 2.1.3.0 (.NET Framework 4 or above)
34 |
35 | - added 'export current profile including predefined settings' to menu
36 | - fixed empty profile export if no setting is set but only application(s)
37 | - fixed crash if nvd3dumx file is not present (WDDM2.1 driver)
38 | - updated setting constants to R367
39 | - added setting decryptor for encrypted 3dvision settings
40 | - improved import error handling
41 | - show nvidia icon for predefined profiles in modified profile list
42 | - added CLI param "-silent"
43 | - added CLI param "-silentImport"
44 | - added some 3d vision settings to CSN file (by DarkStarSword)
45 | - added OpenGL version override to CSN file
46 | - added FastSync to CSN file
47 | - added FrameRateLimiterV2 values to CSN file
48 |
49 |
50 |
51 | NVIDIA Inspector - Version 1.9.7.6 (.NET Framework 2 or above)
52 |
53 | - fixed image upload
54 |
55 | NVIDIA Profile Inspector - Version 2.1.2.0 (.NET Framework 4 or above)
56 |
57 | - nvidiaProfileInspector is now open source and licensed under MIT license.
58 | (https://github.com/Orbmu2k/nvidiaProfileInspector)
59 |
60 | - there are also continues builds available outside of the update cycle of nvidiaInspector
61 | (https://ci.appveyor.com/project/Orbmu2k/nvidiaprofileinspector/build/artifacts)
62 |
63 | - added option to include predefined settings to the exported nip file
64 | - fixed when all string fields got persisted on apply changes even if no changes was made to them
65 | - fixed when the import removes the predefined settings of a profile if they are not included in the nip file
66 | - fixed clicking the refresh button may crash the application for some users
67 |
68 | -------------------------------------------------
69 |
70 | NVIDIA Inspector - Version 1.9.7.5 (.NET Framework 2 or above)
71 |
72 | - removed obsoltete profile settings jump list entry
73 | - fixed cuda lib error
74 |
75 | NVIDIA Profile Inspector - Version 2.1.1.1 (.NET Framework 4 or above)
76 |
77 | - reverted back to default font
78 | - fixed layout problems (hopefully)
79 |
80 |
81 | -------------------------------------------------
82 |
83 | NVIDIA Inspector - Version 1.9.7.4 (.NET Framework 2 or above)
84 |
85 | - replaced old ROP calculation with new API call, this should fix ROP count for Maxwell 2 cards with reduced L2 Cache
86 | - increased unlocked UI clock limit for non boost states to fix error with memory clocks beyond 4000MHz
87 | - improved max boost clock estimation for maxwell
88 | - completely removed settings profile editor from main application, it is now deployed as standalone application
89 |
90 | NVIDIA Profile Inspector - Version 2.1.1.0 (.NET Framework 4 or above)
91 |
92 | - completely reworked settings engine backend
93 | - removed update detection / autoupdate
94 | - updated to latest available settings api R352
95 | - added stereo setting name detection from driver lib (thx to DarkStarSword)
96 | - default custom setting names are now embedded to the exe file, and can be extracted with command line switch "-createCSN"
97 | - added some GSYNC settings to CSN
98 | - profile export now exports only customized settings without the nvidia predefined settings
99 | - profile import now resets the profile to current driver defaults before import
100 | - changed framerate limiter value selection to predicted fps instead of the raw api value
101 | - you can drag'n drop nip files or application shortcuts now
102 |
103 |
--------------------------------------------------------------------------------
/prerun/default-example.bat:
--------------------------------------------------------------------------------
1 | REM This file will run for any algo if AlgoName.bat does not exist
2 | REM Place your code below and rename this file to default.bat
3 |
4 | nvidiaInspector.exe -setBaseClockOffset:0,0,0 -setMemoryClockOffset:0,0,0 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,1,0 -setMemoryClockOffset:0,1,0 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,2,0 -setMemoryClockOffset:0,2,0 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
7 | nvidiaInspector.exe -setBaseClockOffset:0,3,0 -setMemoryClockOffset:0,3,0 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
8 | nvidiaInspector.exe -setBaseClockOffset:0,4,0 -setMemoryClockOffset:0,4,0 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
9 | nvidiaInspector.exe -setBaseClockOffset:0,5,0 -setMemoryClockOffset:0,5,0 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
10 |
11 |
12 |
--------------------------------------------------------------------------------
/prerun/equihash-btg-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/equihash144-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/equihash192-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/equihash96-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/ethash-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,25 -setMemoryClockOffset:0,0,750 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,25 -setMemoryClockOffset:0,1,750 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,25 -setMemoryClockOffset:0,2,750 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,25 -setMemoryClockOffset:0,3,750 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,25 -setMemoryClockOffset:0,4,750 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,25 -setMemoryClockOffset:0,5,750 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/lyra2rev3-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/lyra2v3-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/mtp-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,125 -setMemoryClockOffset:0,0,250 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,125 -setMemoryClockOffset:0,1,250 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,125 -setMemoryClockOffset:0,2,250 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,125 -setMemoryClockOffset:0,3,250 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,125 -setMemoryClockOffset:0,4,250 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,125 -setMemoryClockOffset:0,5,250 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/nvidiaInspector.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nemosminer/NemosMiner/3b23ac435a0a316f6688ae562525c4c629912964/prerun/nvidiaInspector.exe
--------------------------------------------------------------------------------
/prerun/nvidiaInspector.exe.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/prerun/progpow-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,750 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,750 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,750 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,750 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,750 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,750 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/x16r-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/x16rt-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/x16s-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/x17-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,125 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,125 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,125 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,125 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,125 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,125 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/prerun/zhash-example.bat:
--------------------------------------------------------------------------------
1 | nvidiaInspector.exe -setBaseClockOffset:0,0,100 -setMemoryClockOffset:0,0,450 -setVoltageOffset:0,0,0 -setPowerTarget:0,60 -setTempTarget:0,0,85
2 | nvidiaInspector.exe -setBaseClockOffset:0,1,100 -setMemoryClockOffset:0,1,450 -setVoltageOffset:0,1,0 -setPowerTarget:1,60 -setTempTarget:0,1,85
3 | nvidiaInspector.exe -setBaseClockOffset:0,2,100 -setMemoryClockOffset:0,2,450 -setVoltageOffset:0,2,0 -setPowerTarget:2,60 -setTempTarget:0,2,85
4 | nvidiaInspector.exe -setBaseClockOffset:0,3,100 -setMemoryClockOffset:0,3,450 -setVoltageOffset:0,3,0 -setPowerTarget:3,60 -setTempTarget:0,3,85
5 | nvidiaInspector.exe -setBaseClockOffset:0,4,100 -setMemoryClockOffset:0,4,450 -setVoltageOffset:0,4,0 -setPowerTarget:4,60 -setTempTarget:0,4,85
6 | nvidiaInspector.exe -setBaseClockOffset:0,5,100 -setMemoryClockOffset:0,5,450 -setVoltageOffset:0,5,0 -setPowerTarget:5,60 -setTempTarget:0,5,85
7 |
--------------------------------------------------------------------------------
/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "Product": "NemosMiner",
3 | "Version": "3.8.0.0",
4 | "Update": false,
5 | "Message": "https://github.com/nemosminer/NemosMiner/releases"
6 | }
7 |
--------------------------------------------------------------------------------