Misc tools related to the Riecoin project
Clone or download
Pttn Test only if requested
Signed-off-by: Pttn <28868425+Pttn@users.noreply.github.com>
Latest commit bc82287 Jan 16, 2019



rieTools is a collection of tools related to the Riecoin project. Its purpose is mainly personal, to help me do some testing or better understand some concepts. Or simply for convenience. But who knows if they could be useful to other people (not necessarily related to Riecoin), so I make them public.

Current tools

  • constellationsGen: generate prime constellations of a given type, can use wheel factorization;
  • constellationCheck: simple tool to check if a number is the base prime of a prime constellation;
  • keysGen: generates Riecoin addresses with the private and public keys;
  • blockHeaderDecode: decodes a given Riecoin block header and tell if the numbers of its 6-tuple are primes;
  • getConstellations: retrieves prime constellations from Riecoin-Qt.


You can compile this C++ program with g++ and make, install them if needed. Then, get if needed the following dependencies:

On a recent enough Debian or Ubuntu, you can easily install these by doing as root:

apt install g++ make git libjansson-dev libcurl4-openssl-dev libssl-dev libgmp-dev

Then compile all tools with make, or individially with for example make keysGen.

Only tested on Linux (Debian 9).

Author and license

  • Pttn, contact: dev at Pttn dot me

This work is released under the MIT license. See the LICENSE for details.


  • Some links given in the files.