Skip to content
High performance Bitcoin development platform
Python CMake Shell Dockerfile
Branch: master
Clone or download

README.md

knuth Github Releases Build status Build Status CPP Telegram Slack

High performance Bitcoin development platform.

Knuth is a high performance implementation of the Bitcoin protocol focused on users requiring extra performance and flexibility, what makes it the best platform for wallets, exchanges, block explorers and miners.

Multiple cryptos

Knuth supports the following cryptocurrencies in the same code base:

Choosing a cryptocurrency is just as simple as changing a switch in our build system, take a look here.

Also, given its modular design and beautiful code, Knuth allows you to implement other cryptocurrencies with very few code changes.

Not just a node

Knuth is a multi-crypto full node, but it is also a development platform.

Knuth's core is written in C++17, on top of it we provide a set of libraries and modules written in various programming languages that you can use as basis for building your application.

At the moment we have libraries in the following languages: C++, C, C#, Python, Javascript and Golang. You can build your own library in the language of your choice on top of our C library.

Performance matters

We designed Knuth to be a high performance node, so our build system has the ability to automatically detect the microarchitecture of your processor and perform an optimized build for it.

For those who don't want to wait for compilation times, we provide pre-built binaries compatible with Intel's Haswell microarchitecture. But you don't have to worry about that, our build system will do everything for you.

Modular architecture

Knuth is based on a modular architecture simple to modify, expand and learn.

Any protocol change can be introduced in Knuth much faster and more efficiently than in reference implementations.

Cross-platform

Knuth can be used in any computer architecture and operating system, it only requires a 64-bit system.

Knuth has been well tested on x86-64 processors and on the following operating systems: FreeBSD, Linux, macOS and Windows. However, it is not limited to these, Knuth can be used in any computer architecture and any operating system, the only requirement is a 64-bit system.

If you find a problem in any other platform, please let us know.

Getting started

Install and run Knuth is very easy:

  1. Install and configure the Knuth build helper:
$ pip install kthbuild --user --upgrade

$ conan remote add kth https://api.bintray.com/conan/k-nuth/kth
  1. Install the appropriate node executable:
# For Bitcoin Cash (default)
$ conan install kth/0.X@kth/stable -o currency=BCH

# For Bitcoin
$ conan install kth/0.X@kth/stable -o currency=BTC

# For Litecoin
$ conan install kth/0.X@kth/stable -o currency=LTC

(0.X is an alias for our latest uploaded package)

  1. Run the node:
# Initialize the database
$ ./kth -i

# Run the node
$ ./kth

For more more detailed instructions, please refer to our documentation.

Roadmap

Our goal is to become a reliable implementation for use in mining and the one with the best APIs, so we need to:

  • Implement the Bitcoin-Core and Bitcoin-ABC testing batteries, to ensure compatibility with them.

  • Remove the limitation of 25 chained transactions.

  • Implement a high performance SLP full indexer within the node.

  • Improve libraries and APIs of languages.

  • Create a high performance mining API (a high performance API should not be on top of HTTP).

  • Improve our APIs documentation.

Donation

We believe that the feature-by-feature funding model proposed by Bitcoin Verde fits with our project.

Take a look at our issues to see if you want to donate towards a specific objective, or you can contact us by Telegram, Slack or info@kth.cash.

Our donation address is: bitcoincash:qrlgfg2qkj3na2x9k7frvcmv06ljx5xlnuuwx95zfn

Documentation

We are working to improve the documentation, which is located here.

Issues

Each of our modules has its own Github repository, but in case you want to create an issue, please do so in our main repository.

Contact

You can contact us through our Telegram and Slack groups or write to us at info@kth.cash.

Security Disclosures

To report security issues please contact:

Fernando Pelliccioni (fpelliccioni@gmail.com) - GPG Fingerprint: 6CD0 ADA3 91BF 29C6 3F1A AC3E F934 722F 6790 2A4E

You can’t perform that action at this time.