Skip to main content

Transaction Forensics TUI — analyze traces for balance divergence & more

Project description

Transaction Forensics TUI

A Textual-based terminal UI for analyzing Ethereum transaction traces — detects balance divergence, decodes revert errors, and provides full forensic breakdowns from JSON forensic artifacts or CSV traces.

Features

  • Forensic analysis from JSON artifacts (tx info, trace calls, token deltas, errors)
  • CSV trace support (Etherscan trace exports)
  • Balance divergence detection — spots vesting/rebasing token shortfalls
  • Decoded revert errors — Error(string), Panic(uint256), and raw hex
  • Export results to CSV and JSON
  • Toggleable sections — trace, errors, gas analysis, token deltas

Installation

pip install tx-forensics

Usage

# Launch interactive TUI
tx-forensics

# Analyze a specific file (JSON or CSV)
tx-forensics --file trace.json
tx-forensics --file trace.csv

# Batch CLI mode with JSON output
tx-forensics --file trace.csv --json

# Quiet mode (exit code only)
tx-forensics --file trace.csv --quiet

Keyboard bindings (TUI)

Key Action
q / Escape Quit / Go back
t Toggle trace section
e Toggle errors section
g Toggle gas section
d Toggle deltas section
c Export CSV
j Export JSON

Input Formats

  • JSON — full forensic artifacts (generated by VANTAGE tx-forensic-gui.py)
  • CSV — Etherscan trace exports

License

All Rights Reserved — Copyright 2026 CE Hirschauer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tx_forensics-0.1.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tx_forensics-0.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file tx_forensics-0.1.0.tar.gz.

File metadata

  • Download URL: tx_forensics-0.1.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tx_forensics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c52e09492cb92e86fd2979869082d7f264423ab40de50bed2443fc547f37160
MD5 5e1e0728cc6236b945adbe7a5cb36313
BLAKE2b-256 ef583762867d7ebc15f5e352f2290ba0cf60b1601fecd7595c0487be59b080c7

See more details on using hashes here.

File details

Details for the file tx_forensics-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tx_forensics-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tx_forensics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c018e9c5b2fe37aa0dafe80058b9016d2a102a17897a3f5bfb453e8c3a8fdeae
MD5 e0abef14451eff676f2de05e740cc0e5
BLAKE2b-256 520c1034a43781e2dc7c7f14371e4876e64cbfc39c0019661f960c50c2d520d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page