Installation
Homebrew (Recommended)
bash
brew tap calltrace/tap
brew install traverseInstalls all tools: sol2cg, sol2test, sol-storage-analyzer, storage-trace, sol2bnd.
Download Binaries
bash
# macOS Apple Silicon
curl -sSfL -o /usr/local/bin/sol2cg \
https://github.com/calltrace/traverse/releases/latest/download/sol2cg-macos-arm64
chmod +x /usr/local/bin/sol2cgPlatforms:
macos-amd64(Intel)macos-arm64(Apple Silicon)linux-amd64windows-amd64.exe
Docker
bash
docker pull ghcr.io/calltrace/traverse:all
docker run --rm -v $(pwd):/workspace \
ghcr.io/calltrace/traverse:sol2cg /workspace/contracts/*.solBuild from Source
bash
git clone --recursive https://github.com/calltrace/traverse.git
cd traverse
cargo build --releaseBinaries in target/release/
Verify Installation
bash
sol2cg --versionRequirements
Graphviz (optional): For converting DOT files to images
bashbrew install graphviz # macOS apt install graphviz # UbuntuFoundry (optional): For sol2test validation
bashcurl -L https://foundry.paradigm.xyz | bash foundryup
Next Steps
- Quick Start - First analysis
- Tool Documentation - Detailed guides
