An Yggdrasil address miner in Go
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Timur Demin ef12b071a8
Bump v0.1.3
il y a 3 semaines
.drone.yml Use non-Alpine images to avoid unexpected problems with CI il y a 1 mois
.goreleaser.yml Update goreleaser config for multiple files il y a 1 mois
LICENSE Initial commit il y a 1 mois Fix logic of highaddr mining il y a 3 semaines
crypto.go Make vendoring tunable with build tags il y a 1 mois
crypto_test.go Add tests and benchmarks for vendored code il y a 1 mois
debug.go Add pprof support il y a 1 mois
go.mod Initial commit il y a 1 mois
go.sum Initial commit il y a 1 mois
main.go Bump v0.1.3 il y a 3 semaines


This program reimplements SimpleYggGen in Go, importing the original Yggdrasil code for generating keys and utilizing multiple CPU threads for mining.


% go get -u -v

If you’re an Arch Linux user, you can install it from AUR:

% yay -S syg_go


SimpleYggGen is originally a project by @acetone, who wrote a Bash miner for getting “magic” Yggdrasil addresses following a pattern. The main problem with his implementation was that it ran grep and yggdrasil as separate processes, making mining very slow. Even though @acetone later made a C++ implementation, it still relied on running Yggdrasil as a separate process.

As of now (2020-08-24) @acetone reworked his C++ miner implementation, and SYG-C++ is a lot more performant than this program, making 4 times more iterations in the same time. If you’re using Windows, it might be feasible to use his program instead.

There’s also a CUDA miner by @frodo_baggins available here.


Obviously far superior to the original SimpleYggGen.

With multiple threads it takes SimpleYggGen a month to run through a few million cycles and find keys for 200::c84:77b0:f66d:b47e:64c7 (targeting ::). syg_go has found keys for 206:bcdb::ac47:4e3b:b97e:df4e with the same target in 27 minutes, utilizing 8 threads on AMD Ryzen 1700X.

With 8 threads on Ryzen 1700X while searching for :: this program reaches:

  • 10 000 000 iterations in 2 minutes, 36 seconds
  • 100 000 000 iterations in 25 minutes, 58 seconds
  • 500 000 000 iterations in 2 hours, 10 minutes

This program contains some modded code from Yggdrasil that aims to improve performance. If you prefer to use original Yggdrasil code, set -original flag.


% syg_go -help
Usage of syg_go:
        high address mining mode, excludes regex
  -iter uint
        per how many iterations to output status (default 100000)
        use original Yggdrasil code
  -regex string
        regex to match addresses against (default "::")
  -threads int
        how many threads to use for mining (default 16)
        display version


go tool pprof support is available when building with -tags debug. The program will launch an HTTP server attachable by pprof, listening on the address specified by the SYGGO_HTTP environment variable.