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-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.kohaku-stealth- ERC-5564 scheme 3 client.poseidon-rust- Circom-compatible Poseidon hash (vendored).
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-railgun- Railgun privacy protocol client library.tint- Experimental immutable privacy protocol targeting Hegota.msp- Experimental immutable & permissionless privacy protocol targeting Hegota.
kohaku-rs primarily uses nix flakes for development. See the flake.nix file for details on required dependencies. Only dependencies listed in the ci shell are required for development. To enter the dev shell, run:
nix develop --extra-experimental-features "nix-command flakes"kohaku-rs is open to external contributors! Please review the CONTRIBUTING.md doc if you have any questions.