Toychain!
A toy blockchain in C
ToyChain!

A really simple blockchain implementation from scratch in pure C.

Full Documentation

docs

Installation

git clone <this repo>

Building

‍! warning : the build and test commands might not work if there are any spaces in the absolute path.

make

or clean build

make clean
make

Testing

make test

or if you want to check for memory leaks

make test VALGRIND=1

if you want to see performance tests

make test PERFTESTS=1

‍you might want to run make clean before if you were compiling for release. this is necessary to rebuild all binaries with appropriate debug information