EN
ENNA
CA

Cast (Foundry)

Featured

Crypto Tracing · Rust

Cast is a command-line tool from the Foundry suite that acts as a Swiss army knife for Ethereum. It can send transactions, query on-chain data, decode calldata and ABI-encode function calls, convert between data formats, compute hashes, resolve ENS names, and much more. Cast is essential for blockchain investigators who need to quickly decode transactions, look up contract storage, or trace calls without writing code.

Installation

foundryup

$ curl -L https://foundry.paradigm.xyz | bash && foundryup

cargo

$ cargo install --git https://github.com/foundry-rs/foundry cast

Use Cases

  • Decoding transaction calldata and event logs
  • Querying contract storage slots
  • Tracing internal transactions
  • ENS resolution and reverse lookups
  • ABI encoding/decoding for forensic analysis
  • Quick blockchain queries from the command line

Tags

clicalldata-decodetransactionfoundry

More in Crypto Tracing