Entropic-shuffle, a Solana privacy tool written in Rust
โ Rust ๐ 2025-10-10 ๐ค surdeus ๐๏ธ 3Hey everyone,
I've recently open-sourced a personal project called entropic-shuffle, and Iโd really appreciate a code review or general feedback from the community.
What it does
entropic-shuffle is a CLI tool that aims to improve transaction privacy on Solana.
It orchestrates fund movements through a multi-layered wallet structure at randomized intervals, powered by a custom entropy engine to make patterns less predictable.
The idea is to simulate an organic, hard-to-analyze transaction graph.
GitHub: cloudMona/entropic-shuffle
Looking for feedback on:
-
Entropy Engine (
entropy_pool.rs):
I wrapped RNG usage in aTrackedRngthat implementsRngCore, mainly to log and monitor entropy flow.
Does this seem idiomatic, or are there better approaches to this kind of RNG monitoring in Rust? -
State Management (
main.rs):
The app revolves around anAppContextstruct that holds all runtime state.
For a CLI tool like this, is that a reasonable approach, or would passing state explicitly be cleaner? -
Error Handling:
Currently usinganyhowfor general error management withResultthroughout.
Would introducing custom error types bring tangible benefits here, or is that overkill? -
General Critique:
Any thoughts on structure, style, or performance are more than welcome especially if you spot any โun-Rustyโ design patterns.
Please note: this is an experimental project, meant only for devnet testing not for mainnet or real assets.
Thanks for reading and for any feedback you can share ![]()
1 post - 1 participant
๐ท๏ธ Rust_feed