{"library":"viem-tracer","type":"library","category":null,"description":"Viem-tracer is a utility library designed to enhance debugging of Ethereum transactions when using Viem by providing automatic decoding of transaction traces. It integrates with clients configured for `anvil` or `hardhat` modes, leveraging `debug_traceCall` to display detailed call flows and revert reasons. The library automatically appends formatted traces to error messages for failed `eth_estimateGas` and `eth_sendTransaction` RPC requests. It is currently at version 1.8.0, with frequent minor releases as seen by the November 2025 and May 2025 activity. A key differentiator is its automatic integration with `viem` transports and its ability to decode transaction details using services like openchain.xyz, providing human-readable output for debugging.","language":"javascript","status":"active","version":"1.8.0","tags":["javascript","viem","trace","hardhat","anvil","test","cheat","rpc","erc20","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install viem-tracer","imports":["import { traceActions } from 'viem-tracer';","import { traced } from 'viem-tracer';","import { type TracerConfig } from 'viem-tracer';"]},{"cmd":"yarn add viem-tracer","imports":[]},{"cmd":"pnpm add viem-tracer","imports":[]}],"homepage":null,"github":"https://github.com/Rubilmax/viem-tracer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/viem-tracer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/viem-tracer/compatibility"}}