lidofinancelidofinanceOfficialยท4 Agent Skills Included

diffyscan

Verify deployed smart contracts against pinned source code

Verifies deployed EVM smart contracts match their pinned GitHub source code and on-chain bytecode. Fetches explorer-verified sources, generates HTML diff reports, recompiles with solc, and compares runtime bytecode against live chain state. Eliminates manual contract auditing by flagging unapproved differences with non-zero exit codes for CI pipelines. Includes skills to create configs, validate them, debug failed runs, and add new blockchain explorers.
npx skills add lidofinance/diffyscan --all -g -y
Available:

Explains the verification architecture, config schema, and commands so the agent can run source and bytecode diffs, interpret results, and work with the sub-skills correctly.

All Skills in This Repository (4)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install diffyscan?โ–ผ

Run `npx skills add lidofinance/diffyscan --all -g -y` in your terminal to install all skills in this suite globally.

What does diffyscan verify?โ–ผ

It checks that explorer-verified source code matches a pinned GitHub commit and that recompiled bytecode matches the code actually deployed on-chain, including constructor arguments and immutable values.

How to verify a new smart contract deployment?โ–ผ

Use the new-config skill with the chain, contract address, and GitHub repo details. It creates a ready-to-run YAML config and guides you through extracting constructor calldata.

How to debug a failed diffyscan run?โ–ผ

Use the debug-diff skill, which inspects the timestamped digest logs and HTML diff reports, identifies the root cause, and suggests the exact config fix or allowed_diffs rule.

Which blockchains and explorers are supported?โ–ผ

It supports Etherscan v2 chains, legacy Etherscan-compatible APIs, Blockscout, zkSync, and Mantle explorers. The add-explorer skill helps you connect new chains, often with config-only changes.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’