Skip to content

moncho/go-simplemultialgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nice Simple Multi-Algorithm in Go

Go port of Nice Simple Multi-Algorithm.

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)
}

About

Nicehash multialgo implemented in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages