How pareto-xyz/tutela-app works
Tutela is an Ethereum and Tornado Cash anonymity-analysis product. Its user workflow accepts an address or ENS name, serves search results and reveal details through Flask, and presents affiliation and anonymity information in the web UI. The analysis capabilities include Ethereum deposit-address reuse and Diff2Vec, plus Tornado Cash transaction-linking heuristics; the README describes BigQuery as a transaction source and PostgreSQL-backed web storage. The tree and excerpts support the web request path, but not detailed wiring among batch analysis, live updates, and data uploads, so those links are omitted or marked unverified.
Main entry points: models.py Analysis records · index.jsx Transaction reveals · AddressSearchBar.jsx Address search · views.py Flask search API
Components 22
Web experience
- Address search
webapp/app/static/jsx/components/AddressSearchBar.jsx - Address results
webapp/app/static/jsx/address/index.jsx - Transaction reveals
webapp/app/static/jsx/transaction/index.jsx - Query summary
webapp/app/static/jsx/address/QueryInfo.jsx - Reveal timeline
webapp/app/static/jsx/transaction/RevealsTimeline.jsx - API client utilities
webapp/app/static/js/utils.js
Search and storage
- Flask search API
webapp/app/views.py - Search data helpers
webapp/app/utils.py - Analysis records
webapp/app/models.py - Analysis data uploads
webapp/db_utils
Ethereum analysis
- Deposit reuse clustering
src/cluster/deposit.py - Transaction loader
src/utils/loader.py - Diff2Vec graph
src/diff2vec/graph.py - Diff2Vec walks
src/diff2vec/euler.py - Diff2Vec embeddings
src/diff2vec/word2vec.py
Tornado analysis
- Tornado transaction data
src/tcash/data.py - Tornado reveal heuristics
src/tcash/heuristic.py
Live analysis
- Live deposit reuse
live/depositreuse - Live Tornado heuristics
live/tornadocash
Other components
- Address seeker
- BigQuery
- PostgreSQL
Connections 25
- Address seeker → Address search: enters address
- Address search → API client utilities: validates input
webapp/app/static/jsx/components/AddressSearchBar.jsx - Address search → Flask search API: checks pool
webapp/app/static/jsx/components/AddressSearchBar.jsx - Address results → Address search: renders
webapp/app/static/jsx/address/index.jsx - Transaction reveals → Address search: renders
webapp/app/static/jsx/transaction/index.jsx - Transaction reveals → API client utilities: builds API request
webapp/app/static/jsx/transaction/index.jsx - Transaction reveals → Flask search API: requests reveals
webapp/app/static/jsx/transaction/index.jsx - Address results → Flask search API: requests results
- Address results → Query summary: renders summary
webapp/app/static/jsx/address/index.jsx - Transaction reveals → Query summary: renders summary
webapp/app/static/jsx/transaction/index.jsx - Transaction reveals → Reveal timeline: renders timeline
webapp/app/static/jsx/transaction/index.jsx - Flask search API → Analysis records: queries records
webapp/app/views.py - Flask search API → Search data helpers: uses helpers
webapp/app/views.py - Analysis records → PostgreSQL: stores records
- Analysis data uploads → Analysis records: loads analysis data
webapp/db_utils/get_dist.py - BigQuery → Transaction loader: provides transactions
- Transaction loader → Deposit reuse clustering: supplies chunks
src/cluster/deposit.py - Diff2Vec graph → Diff2Vec walks: supports walks
src/diff2vec/euler.py - Tornado transaction data → Tornado reveal heuristics: supports heuristics
- BigQuery → Tornado transaction data: provides transactions
- Live deposit reuse → BigQuery: reads transactions
- Live Tornado heuristics → BigQuery: reads transactions
- Deposit reuse clustering → Analysis records: feeds clustering results
- Diff2Vec embeddings → Analysis records: feeds embeddings
- Tornado reveal heuristics → Analysis records: feeds reveal records