OPEN SOURCE. BUILT FOR BITCOIN CASH.

Knuth

Bitcoin Cash.
Build without limits.

A high-performance full node and development toolkit. One C++ core. Seven languages. From your server to the browser.

Explore the code on GitHub
address.jsJavaScript / WASM
// Bitcoin Cash, in your browser.
const address = PaymentAddress
  .fromString(
    "bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a"
  );

console.log(address.encodedLegacy());
console.log(address.encodedCashTokens());

↳ OUTPUT

1BpEi6DfDAUFd7GtittLSdBeYJvcoaVggu

Same C++ core. Running in WebAssembly.

ONE CORE. EVERY ENVIRONMENT.
C++23CJavaScriptTypeScriptPythonC#WebAssemblyRust PLANNED
Live Demo

Less explaining. More running.

Real Knuth code, running in your browser. Pick an example, edit it, and see what happens.

Choose an example:

Address Converter

Output

// Output will appear here...

Loading WASM...

Please wait

FULL MAINNET SYNC

Full history.
Under one hour.

Knuth syncs Bitcoin Cash mainnet from genesis to tip by downloading and processing the complete block history. No fast sync or UTXO commitments.

On a home computer with a fast 1 Gbps internet connection.

< 1 hourGENESIS → MAINNET TIP

Powered by UTXO-Z.

Knuth integrates UTXO-Z, a purpose-built database for Bitcoin Cash's unspent transaction outputs. Its cache-efficient storage and optimized UTXO lookups help remove a key bottleneck in block processing.

Explore UTXO-Z

Built for the people building Bitcoin Cash.

From mining infrastructure to your first application, Knuth gives you direct access to Bitcoin Cash. Choose the tools that fit your work.

Miners & Pools

Running competitive operations at scale

Exchanges

Dependable full indexation & high throughput

Enterprises

Building production-grade applications

Developers

Taking projects to the next level

Researchers

Exploring blockchain innovation

Newcomers

First steps in the blockchain ecosystem

One core. Many ways to build.

All language bindings share the same high-performance C++23 core. Universal Bitcoin Cash API across all platforms.

High-Level Language Bindings

Next up: Rust API. We plan to implement a Rust binding for the Knuth C++ core.

Libraries

Use Knuth as a library in your projects. Build custom Bitcoin Cash applications with full blockchain access.

Executable Node

Run the full node executable. High-performance Bitcoin Cash node ready to use out of the box.

Direct Integration

Unlike JSON-RPC, your application becomes the node. All components run as a single process with native performance—no network overhead.

Quick Start Guide

Your next project starts here.

Install and use Knuth in your preferred environment.

Select an option to see installation instructions and usage examples

Executable Node

Prerequisites:

  • Python 3 with pip
  • GCC or compatible C++ compiler with C++23 support
  • CMake
1. Install and configure the Knuth build helper
$ pip3 install kthbuild conan --user
$ conan profile detect --force
$ conan remote add kth https://packages.kth.cash/api
$ conan config install https://github.com/k-nuth/ci-utils/raw/master/conan/config2023.zip
2. Install the node executable
$ conan install --requires=kth/KNUTH_PKG_VERSION --build=missing --update --deployer=direct_deploy -s compiler.cppstd=23
3. Run the node
$ ./direct_deploy/kth/bin/kth --init_run
Technical Excellence

Built for serious work.

Modular libraries, modern tooling, and direct blockchain access. The foundations for your next Bitcoin Cash application.

Development Platform

Full node implementation plus development platform. Modern C++23 core with libraries in multiple languages for building custom Bitcoin Cash applications.

Cross-Platform

Works on any 64-bit architecture. Compile natively on Linux, Windows, macOS, FreeBSD, and more with zero friction. Run in the browser with WebAssembly.

Optimized Build System

Auto-detects CPU microarchitecture and creates optimized binaries. Pre-compiled binaries compatible with Intel Haswell+ architecture for maximum performance.

Database Modes

UTXO-Z powers the UTXO set. Choose normal, pruned, or full-indexed storage for your use case.

Bitcoin Cash Since 2017

One of the first implementations supporting BCH from day one. Continuously updated with every protocol upgrade: Schnorr signatures, CashTokens, ABLA, and more.

Industry Standards

Built with Abseil, Boost, GMP, ICU. Toolchain: GCC, Clang, MSVC, CMake, Conan, clang-tidy, clang-format.

Modular Architecture

Completely modular design. Each module is an independent library following single-responsibility principle. Use them together or separately. Protocol changes can be introduced faster and more efficiently.

Let's Connect

Build with the community.

Join our community, follow our updates, or reach out directly. We're always happy to connect!

Open source, community-driven, and committed to Bitcoin Cash.