Rusty privacy-first tooling for the Ethereum ecosystem.
Kohaku-rs is a collection of rust crates for working with Ethereum privacy protocols. See the js kohaku repo for more information.
Important
This project is a work in progress and is NOT READY FOR PRODUCTION USE. Packages contain UNAUDITED CODE. Consult underlying package READMEs for more information.
kohaku-tornadocash- tornadocash client library.kohaku-tornadocash-circuit- Tornadocash circuit artifacts & proving wrapper.kohaku-tornadocash-keyring- Deterministic note derivation & keyring management for tornadocash.kohaku-tornadocash-wasm- Typescript WASM bindings for kohaku-tornadocash.kohaku-userop-kit- 4337 user operation builder, signer, and paymaster library.kohaku-merkle-tree- Generic merkle tree implementation.kohaku-fork-kit- Forking kit for testing and development of kohaku-rs crates.kohaku-tor-rpc- Alloy JSON-RPC over Arti, with shared or session-isolated circuits.
Experiments are incomplete and unstable features that are not ready for production use. See CONTRIBUTING.md for more information.
kohaku-privacy-rpc- dual-endpoint Ethereum provider: PIR for private account reads, fallback JSON-RPC for everything else. Can also enable Tor for network level anonymity.
kohaku-rs primarily uses nix flakes for development. See the flake.nix file for details on required dependencies. To enter the dev shell, run:
nix develop --extra-experimental-features "nix-command flakes"