Skip to content

Mining pool library for Ergo. Currently only supports solo-mining.

Notifications You must be signed in to change notification settings

Satergo/stratum4ergo

Repository files navigation

stratum4ergo

Uses Java 17. The CLI main class is com.satergo.stratum4ergo.CLI. ./gradlew run to test run using the CLI.

CLI configuration can be changed in cli.properties.

The wallet payout address is specified in the configuration of your node, like this:

ergo {
	node {
		mining = true
		useExternalMiner = true
		// the hex encoding of the content of your address, can be obtained using the node API endpoint /utils/addressToRaw
		miningPubKeyHex = ""
	}
}

The node will need to have its wallet initialized.

Todo

  • Write an actual example
  • Disconnecting inactive peer
  • Maybe support multiple client connections, authorization, banning

Java API usage

ErgoStratumServer server = new ErgoStratumServer(options);
server.startListening(4444);

About

Mining pool library for Ergo. Currently only supports solo-mining.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages