Entropic-shuffle, a Solana privacy tool written in Rust

โš“ Rust    ๐Ÿ“… 2025-10-10    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 3      

surdeus

Hey 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:

  1. Entropy Engine (entropy_pool.rs):
    I wrapped RNG usage in a TrackedRng that implements RngCore, mainly to log and monitor entropy flow.
    Does this seem idiomatic, or are there better approaches to this kind of RNG monitoring in Rust?

  2. State Management (main.rs):
    The app revolves around an AppContext struct that holds all runtime state.
    For a CLI tool like this, is that a reasonable approach, or would passing state explicitly be cleaner?

  3. Error Handling:
    Currently using anyhow for general error management with Result throughout.
    Would introducing custom error types bring tangible benefits here, or is that overkill?

  4. 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 :folded_hands:

1 post - 1 participant

Read full topic

๐Ÿท๏ธ Rust_feed