Skip to content

Commit

Permalink
Create ccminersupaminer.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPlusGH authored Mar 29, 2018
1 parent 14ca7b8 commit a39096b
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions Miners/ccminersupaminer.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
. .\Include.ps1

$Path = ".\Bin\NVIDIA-ccminersupaminer\ccminer.exe"
$Uri = "https://github.com/ocminer/suprminer/releases/download/1.2/suprminer-1.2.7z"

$Commands = [PSCustomObject]@{
#"hsr" = " -d $SelGPUCC --api-remote" #Hsr
#"bitcore" = "" #Bitcore
"blake2s" = " -d $SelGPUCC --api-remote" #Blake2s
#"blakecoin" = " -d $SelGPUCC --api-remote" #Blakecoin
#"vanilla" = "" #BlakeVanilla
#"cryptonight" = "" #Cryptonight
#"veltor" = " -i 23 -d $SelGPUCC --api-remote" #Veltor
#"decred" = "" #Decred
#"equihash" = "" #Equihash
#"ethash" = "" #Ethash
#"groestl" = "" #Groestl
#"hmq1725" = "" #hmq1725
#"keccak" = " -m 2 -i 29 -d $SelGPUCC" #Keccak
#"lbry" = " -d $SelGPUCC --api-remote" #Lbry
#"lyra2v2" = " -d $SelGPUCC --api-remote -N 1" #Lyra2RE2
#"lyra2z" = "" #Lyra2z
#"myr-gr" = " -d $SelGPUCC --api-remote" #MyriadGroestl
#"neoscrypt" = " -i 15 -d $SelGPUCC" #NeoScrypt
#"nist5" = " -d $SelGPUCC --api-remote" #Nist5
#"pascal" = "" #Pascal
#"qubit" = "" #Qubit
#"scrypt" = "" #Scrypt
#"sia" = "" #Sia
#"sib" = " -i 21 -d $SelGPUCC --api-remote" #Sib
#"skein" = " -d $SelGPUCC --api-remote" #Skein
#"timetravel" = "" #Timetravel
#"c11" = " -i 21 -d $SelGPUCC --api-remote" #C11
#"x11evo" = "" #X11evo
#"x11gost" = " -i 21 -d $SelGPUCC --api-remote" #X11gost
#"x17" = " -i 20 -d $SelGPUCC --api-remote" #X17
#"yescrypt" = "" #Yescrypt
"x16s" = " -d $SelGPUCC --api-remote" #X16s
"x16r" = " -d $SelGPUCC --api-remote" #X16r
}

$Name = (Get-Item $script:MyInvocation.MyCommand.Path).BaseName

$Commands | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | ForEach {
[PSCustomObject]@{
Type = "NVIDIA"
Path = $Path
Arguments = "-b $($Variables.MinerAPITCPPort) -a $_ -o stratum+tcp://$($Pools.(Get-Algorithm($_)).Host):$($Pools.(Get-Algorithm($_)).Port) -u $($Pools.(Get-Algorithm($_)).User) -p $($Pools.(Get-Algorithm($_)).Pass)$($Commands.$_)"
HashRates = [PSCustomObject]@{(Get-Algorithm($_)) = $Stats."$($Name)_$(Get-Algorithm($_))_HashRate".Week}
API = "Ccminer"
Port = $Variables.MinerAPITCPPort #4068
Wrap = $false
URI = $Uri
User = $Pools.(Get-Algorithm($_)).User
}
}

0 comments on commit a39096b

Please sign in to comment.