{"repo":"ApeWorX/evm-trace","free":true,"listed":false,"github":"https://github.com/ApeWorX/evm-trace","clone":"git clone https://github.com/ApeWorX/evm-trace.git","description":"Ethereum Virtual Machine transaction tracing tool","language":"Python","stars":314,"topics":["python","ethereum","smart-contracts","web3"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Quick Start Ethereum Virtual Machine transaction tracing tool Dependencies - python3 version 3.9 to 3.12. Installation via pip You can install the latest release via pip : via setuptools You can clone the repository and use setuptools for the most up-to-date version: Quick Usage Geth Style Traces If you are using a node that supports the debug traceTransaction RPC, you can use web3.py to get trace frames: If you want to get the call-tree node, you can do: Parity Style Traces If you are using a node that supports the trace transaction RPC, you can use web3.py to get trace objects: And to make call-tree nodes, you can do: Gas Reports If you are using a node that supports creating traces, you can get a gas report. For a more custom report, use the merge reports method to combine a list of reports into a single report. Pass two or more Dict[Any, Dict[Any, List[int]]] to combine reports where List[int] is the gas used. Customize the values of Any accordingly: 1. The first Any represents the bytes from the address. 2. The second Any represents the method selector. For example, you may replace addresses with token names or selector bytes with signature call strings. Import the method like so: Development This project is in development and should be considered a beta. Things might not be in their final state and breaking changes may occur. Comments, questions, criticisms and pull requests are welcomed. License This project is licensed under the Apache 2.0.","default_branch":null,"files":null,"tree":[],"storefront":"/r/ApeWorX","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ApeWorX/evm-trace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}