frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Yet another way to use Tornado Cash in 2025, a tool implemented in Python&C++

1•gokgokdak•3h ago
Github Repo: https://github.com/gokgokdak/tornadocash-py

I re-implemented the Tornado Cash command-line tool in Python to interact with the Tornao Cash contracts.

*Compares to the original one, I added some practical features*

1. Batch deposit & withdrawal Manage large amounts of ETH with a single command and distribute funds across different instances easily.

2. Deposit age query Check how many deposit and withdrawal events have happened since your deposit, the higher the number, the better mixed your funds are.

*Also, some engineering and performance improvements*

The original project stores event history in JSON files and relies on subgraphs for data analysis. In this Python rewrite, I switched to SQLite as the storage layer, and all analytics will be built on top of the database (with proper indexing/transactions), making queries faster, more consistent, and easier to maintain.

Aside from zk-proof generation/verification, I re-implemented the rest of the heavy algorithms in C++ via pybind11 (Keccak256, MiMC sponge, Pedersen, BabyJubJub, etc.), which significantly improves the runtime for rebuilding the Merkle tree.

*Why I built this*

1. I was scammed by a phishing site. There are many "Tornado" websites out there and it's hard to tell which ones are legit. Some tutorials link to a site and claim it's "official", but there's no reputation behind it, often it's a honeypot and the article was written by the scammer. The bigger problem is we can only see a site's frontend; there's no way to audit what actually runs on the backend. After being scammed, I treat such sites as untrustworthy. Since Tornado Cash is a set of smart contracts, the safest way is to run audited code locally and interact with the contracts directly, whether via a website or a CLI is just different implementation.

2. I prefer Python to JavaScript The original tornado-cli depends on an old Node.js runtime (v14), which took time to set up. I'm a Python/C++ fan and didn't want to keep maintaining or adding features in JS.

*Looking for contributors who share this vision*

While the CLI is enough for me, it's not ideal for most users. The next step is a web UI so people can connect a wallet (MetaMask, etc.) instead of pasting private keys into a terminal, similar to the original Tornado frontends. I don't have much spare time, so if anyone wants to help with the UI (or docs/tests), I'd really appreciate it. Please open an issue or PR on GitHub, or DM me.

Amazon to Slash 30k Jobs

https://economictimes.indiatimes.com/news/international/us/amazon-plans-massive-lay-offs-to-begin...
2•brunojppb•10m ago•1 comments

Build: Book Review

https://maa1.medium.com/build-book-review-2e833a6627d7
1•teleforce•10m ago•0 comments

You can have the ore now. It is in New York, a thousand tons of it

https://en.wikipedia.org/wiki/Edgar_Sengier
1•tgamblin•10m ago•0 comments

Obfuscating WireGuard Traffic as QUIC

https://docs.amnezia.org/documentation/instructions/new-amneziawg-selfhosted/
1•o999•13m ago•1 comments

Personalities Test – Free 16 Personalities (MBTI) Personality Test Online

https://personalitiestest.co/
1•Piccollages•13m ago•1 comments

The Color of Pomegranates

https://grokipedia.com/page/The_Color_of_Pomegranates
1•andsoitis•14m ago•1 comments

Age (2022)

https://anilv.com/age
2•ath_ray•19m ago•0 comments

One of the Cursor co-founders left the company

https://arvid.xyz/posts/leaving/
3•amrrs•31m ago•1 comments

Bill Gates Says Climate Change 'Will Not Lead to Humanity's Demise'

https://www.nytimes.com/2025/10/28/climate/bill-gates-climate-change-humanity.html
3•fleahunter•32m ago•0 comments

Making web testing pleasant in Scheme: Schematra 0.4

https://schematra.com/blog/whats-new-in-schematra-0-4
2•funkaster•33m ago•1 comments

Show HN: Big-AGI 2 – Spent a year obsessing over AI for thinking

https://github.com/enricoros/big-AGI/releases/tag/v2.0.0
2•enricoros•41m ago•1 comments

Axial Internal-Combustion Engines

http://douglas-self.com/MUSEUM/POWER/unusualICeng/axial-ICeng/axial-IC.htm
2•pillars•45m ago•0 comments

My AI Appetites

https://martin-brennan.com/my-ai-appetites/
1•mjrbrennan•45m ago•0 comments

The Museum of Retro Technology

http://douglas-self.com/MUSEUM/museum.htm
1•pillars•46m ago•0 comments

Export Your GitHub Data

https://www.dagmawi.dev/blog/Export-Your-GitHub-Data
1•dagmawibabi•48m ago•0 comments

Overleaf Alternative

https://www.useoctree.com/
2•basilyusuf1709•52m ago•2 comments

Was democracy just a moment? (1997)

https://www.theatlantic.com/magazine/archive/1997/12/was-democracy-just-a-moment/306022/
2•andsoitis•52m ago•0 comments

Th Coming Anarchy (1994)

https://www.theatlantic.com/magazine/archive/1994/02/the-coming-anarchy/304670/
2•andsoitis•57m ago•0 comments

Complete Digitization of Leonardo da Vinci's Codex Atlanticus

https://www.openculture.com/2025/10/digitization-of-leonardo-da-vincis-codex-atlanticus.html
2•emmelaich•1h ago•0 comments

Alsym energy launches Na series claiming safe low cost sodium ion battery

https://www.ess-news.com/2025/10/22/alsym-energy-launches-na-series-claiming-safe-low-cost-sodium...
6•tremguy•1h ago•0 comments

The Twitter domain is being retired. Make sure your account doesn't get locked

https://www.fastcompany.com/91429496/twitter-com-domain-dead-on-nov-10-action-required-2fa-users
4•r721•1h ago•0 comments

Signal president Meredith Whittaker says they had no choice but to use AWS

https://www.theregister.com/2025/10/27/signal_ceo_meredith_whittaker_aws_dependency/
9•pyeri•1h ago•4 comments

Ask HN: Glitchy YouTube Shorts?

2•gbraad•1h ago•0 comments

Last day to early signup for offline AI

https://www.generativeide.com/
1•NikhilChowdaryG•1h ago•0 comments

Is Your Data Valid? Why Bufstream Guarantees What Kafka Can't

https://vutr.substack.com/p/is-your-data-valid-why-bufstream
1•tamnd•1h ago•0 comments

On-Policy Distillation

https://thinkingmachines.ai/blog/on-policy-distillation/
2•tamnd•1h ago•0 comments

X.com silently deletes new likes likes on old posts

https://twitter.com/papayathreesome/status/1982998033093800342
5•Otter-man•1h ago•2 comments

Step Accumulation Patterns and Risk for Cardiovascular Events and Mortality

https://www.acpjournals.org/doi/10.7326/ANNALS-25-01547
3•canucker2016•1h ago•1 comments

Qasr Bshir

https://en.wikipedia.org/wiki/Qasr_Bshir
6•mooreds•1h ago•0 comments

Show HN: Linux Smart Directories Navigation

https://github.com/abdulbadii/smart-directories-navigation
3•dogol•1h ago•0 comments