https://github.com/moncho/go-simplemultialgo
Nicehash multialgo implemented in Go
https://github.com/moncho/go-simplemultialgo
Last synced: 3 months ago
JSON representation
Nicehash multialgo implemented in Go
- Host: GitHub
- URL: https://github.com/moncho/go-simplemultialgo
- Owner: moncho
- License: mit
- Created: 2018-02-11T17:37:27.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-18T18:34:11.000Z (over 8 years ago)
- Last Synced: 2025-12-26T06:49:43.694Z (6 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nice Simple Multi-Algorithm in Go
Go port of [Nice Simple Multi-Algorithm](https://github.com/nicehash/simplemultialgo).
Gets profitability information about algorithms and returns back the most profitable algorithm.
Algorithm names: https://www.nicehash.com/index.jsp?p=simplemultialgo#names
## Example
```
package main
import (
"fmt"
simplemultialgo "github.com/moncho/go-simplemultialgo"
)
func main() {
algo, err := simplemultialgo.NiceHashMultiAlgo(map[string]int{"scrypt": 1, "x11": 7, "quark": 12})
if err != nil {
panic("Run for your life!!")
}
fmt.Printf("Most profitable algo is %s, currently paying %v\n", algo.Name, algo.Paying)
}
```