A Golang library for the Stratum V2 Protocol
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-24 11:18:46 -05:00
examples cleanup 2026-11-23 14:29:32 -05:00
binary.go compactsize+some docs 2026-11-23 14:22:23 -05:00
binary_test.go pkg skeleton 2026-06-21 14:57:03 -04:00
constants.go make constants map 2026-11-23 00:05:24 -05:00
constants_test.go make constants map 2026-11-23 00:05:24 -05:00
core.go cleanup 2026-09-27 14:36:20 -04:00
core_test.go fix tests 2026-09-09 10:58:17 -04:00
ellswift.go add NewKeypairFrom 2026-09-27 16:30:39 -04:00
ellswift_test.go add NewKeypairFrom 2026-09-27 16:30:39 -04:00
go.mod flip U256 endianness 2026-11-24 11:18:46 -05:00
go.sum flip U256 endianness 2026-11-24 11:18:46 -05:00
jobdeclaration.go compactsize+some docs 2026-11-23 14:22:23 -05:00
jobdeclaration_test.go pkg skeleton 2026-06-21 14:57:03 -04:00
LICENSE bruhurb i forgot the license 2026-06-21 16:27:45 -04:00
mining.go compactsize+some docs 2026-11-23 14:22:23 -05:00
mining_test.go fix tests 2026-09-09 10:58:17 -04:00
noise.go finish other 2 protos (100% untested i have zero logs) 2026-11-23 13:46:27 -05:00
noise_test.go finish other 2 protos (100% untested i have zero logs) 2026-11-23 13:46:27 -05:00
qol.go add ClientConn (with tests from kimi) 2026-11-23 16:05:07 -05:00
qol_test.go add ClientConn (with tests from kimi) 2026-11-23 16:05:07 -05:00
README.MD flip U256 endianness 2026-11-24 11:18:46 -05:00
templatedistribution.go finish other 2 protos (100% untested i have zero logs) 2026-11-23 13:46:27 -05:00
templatedistribution_test.go pkg skeleton 2026-06-21 14:57:03 -04:00
testutils_test.go Array -> Sequence 2026-06-09 13:34:57 -04:00
types.go flip U256 endianness 2026-11-24 11:18:46 -05:00
types_test.go flip U256 endianness 2026-11-24 11:18:46 -05:00

A Golang library for the Bitcoin Stratum V2 Protocol

Go Reference

https://stratumprotocol.org/

currently unstable, no security guarantees atm (but any issues will be fixed)

implemented

  • noise
  • core messages
  • mining protocol
  • job declaration protocol
  • template distribution protocol

usage

TODO
see godoc and examples/

TODO

  • properly implement TLVs
  • docs
  • tests need test messages (pls send me captures)