/evm-tracing-samples

Sample scripts using EVM Tracing in Python and Rust

Primary LanguageRust

EVM Tracing sample code

There're two versions of EVM Tracing sample codes: Python, Rust.

Python version:

  1. Go to python directory:
cd python
  1. Install requirements.txt:
pip install -r requirements.txt
  1. Run Python script in python/main.py:
python main.py

Rust version:

  1. Go to rust directory:
cd rust
  1. Create .env file by copying .env.example:
WSS_URL=ws://localhost:8546
  1. Run main.rs:
cargo run

Reference: