Static analysis tools for Solidity smart contracts. Generate call graphs, create tests, analyze storage patterns.
17 contracts, 580 functions analyzed in ~500ms
brew tap calltrace/tap && brew install traverse
sol2cg contracts/*.sol -o graph.dot
dot -Tsvg graph.dot -o graph.svg
- sol2cg - Generate call graphs (DOT/Mermaid)
- sol2test - Create Foundry test stubs
- sol-storage-analyzer - Map storage reads/writes
- storage-trace - Compare function storage access
- sol2bnd - Generate interface bindings
Integrate Traverse into your development workflow:
- VS Code - Full extension with UI
- Neovim - Zero-config plugin
- Emacs/Helix/Sublime - LSP support
Full documentation, installation guides, and examples at traverse.tools
brew tap calltrace/tap && brew install traverse
docker pull ghcr.io/calltrace/traverse:all
Download from releases
git clone --recursive https://github.com/calltrace/traverse.git
cd traverse
cargo build --release
See Smart Invoice analysis for real-world usage.
MIT