Repolode
kaspanet

kaspanet/rusty-kaspa

Rust implementation of the Kaspa full node, plus wallet CLI, WASM SDK and wRPC libraries for the Kaspa blockchain.

Stars
878
Forks
309
Open issues
221
Last commit
3 days ago

What is it?

Rusty Kaspa is the Rust implementation of the Kaspa full node and its supporting libraries. It is a drop-in replacement for the original Golang node (kaspad) and is positioned as the recommended node software for the Kaspa network. The node can run on mainnet, testnet or a devnet for local experiments, and supports optional UTXO indexing, which wallets need.

The repository also contains a command-line interface that provides RPC access to a node along with a terminal wallet, a WASM SDK that builds for web browsers and Node.js with TypeScript documentation, and a local web wallet. Node RPC is exposed over gRPC by default, with an optional wRPC layer offering JSON and Borsh encodings over WebSocket. A simulation tool (simpa) can run in-process DAG simulations for benchmarking.

Building requires the Rust toolchain, protobuf, clang/LLVM for RocksDB and WASM secp256k1 builds, and wasm-pack for SDK targets. Setup instructions are provided for Linux, Windows, macOS and Docker.

Key features

  • 01Full node implementation compatible with the Kaspa network as a drop-in replacement for kaspad.
  • 02Optional UTXO index for wallet functionality.
  • 03Command-line RPC client and terminal wallet (kaspa-cli).
  • 04WASM SDK for browsers and Node.js with TypeScript bindings.
  • 05Optional wRPC interface supporting JSON and Borsh encodings over WebSocket.
  • 06In-process network simulation tool (simpa) for benchmarking.

Use cases

  • Running a Kaspa mainnet or testnet node.
  • Building wallets or dApps for Kaspa using the WASM SDK in browsers or Node.js.
  • Scripting node queries through the CLI or wRPC clients.
  • Benchmarking block validation and DAG behavior with simulations.

Quick start

  1. 1

    Install the Rust toolchain from rustup.rs

  2. 2

    Clone the repository

    git clone https://github.com/kaspanet/rusty-kaspa
  3. 3

    Enter the repository directory

    cd rusty-kaspa
  4. 4

    Start a mainnet node

    cargo run --release --bin kaspad

Things to know

  • Building on Linux, Windows or macOS requires installing extra system dependencies such as Protobuf, LLVM/clang and wasm-pack.
  • The Windows build needs a manual workaround for the LLVM AR tool when building both native and WASM code.

Topics

FAQ

What is rusty-kaspa?
Rust implementation of the Kaspa full node, plus wallet CLI, WASM SDK and wRPC libraries for the Kaspa blockchain. Rusty Kaspa is the Rust implementation of the Kaspa full node and its supporting libraries. It is a drop-in replacement for the original Golang node (kaspad) and is positioned as the recommended node software for the Kaspa network. The node can run on mainnet, testnet or a devnet for local experiments, and supports optional UTXO indexing, which wallets need.
Is rusty-kaspa free to use? What license does it have?
rusty-kaspa is open source under the ISC license. Check the license terms before using it in commercial products.
Is rusty-kaspa still maintained?
Actively maintained. The last commit to rusty-kaspa was on Nov 4, 2026.
What can I use rusty-kaspa for?
Running a Kaspa mainnet or testnet node. Building wallets or dApps for Kaspa using the WASM SDK in browsers or Node.js. Scripting node queries through the CLI or wRPC clients. Benchmarking block validation and DAG behavior with simulations.
How do I install rusty-kaspa?
Install the Rust toolchain from rustup.rs Clone the repository: git clone https://github.com/kaspanet/rusty-kaspa Enter the repository directory: cd rusty-kaspa Start a mainnet node: cargo run --release --bin kaspad
Where can I get rusty-kaspa?
The source code and installation instructions are on GitHub: https://github.com/kaspanet/rusty-kaspa

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects