{"repo":"polareth/evmstate","free":true,"listed":false,"github":"https://github.com/polareth/evmstate","clone":"git clone https://github.com/polareth/evmstate.git","description":"A TypeScript library for tracing, and visualizing EVM state changes with detailed human-readable labeling.","language":"TypeScript","stars":34,"topics":["ethereum","evm","layout","state","storage","typescript"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"@polareth/evmstate A TypeScript library for tracing, and visualizing EVM state changes with detailed human-readable labeling. Overview The library traces all state changes after a transaction has been executed in a local VM, or by watching transactions in incoming blocks. It then labels them with semantic insights and a detailed diff of all the changes. It can be seen as an alternative to using event logs for evm interfaces, as it captures and labels every state change with precise semantic information, including variable names, mapping keys, array indices, decoded values and path tracing. Powered by Tevm and whatsabi. Features - Complete state change tracing : Track the state of every account touched during the transaction - Human-readable labeling : Retrieve the storage layout of each account if it's available for contracts, to label storage slots with variable names, decode values and provide a detailed path of access from the base slot to the final value - Intelligent key detection : Extract and match mapping keys from transaction data - Type-aware decoding : Convert raw storage values to appropriate JavaScript types; the state trace is fully typed if a storage layout is provided Installation Quickstart Core functionality 1. traceState - Analyze transaction state The traceState function is the primary way to analyze how a transaction affects state. It can be used in several ways: Basic usage with RPC URL and transaction parameters Using contract ABI for better readability","default_branch":null,"files":null,"tree":[],"storefront":"/r/polareth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/polareth/evmstate/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."}