Skip to content

CLI tool to diff between two contract addresses in bytecode. Support EVM-based chains i.e. BSC, Ethereum, and Polygon.

License

Notifications You must be signed in to change notification settings

haxpor/contractdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contractdiff

Commandline program to output color-diff of contract code between two input contract addresses. Suitable to use against non-verified contract code for analysis.

Usage

contractdiff --chain <CHAIN> <ADDRESS1> <ADDRESS2>

wheres address needs to be prefixed with 0x.

The tool have internal check, and will report accordingly if address argument is malformed, or such address is not a contract address, but an EOA address.

Installation

Install it via cargo as follows

cargo install contractdiff

License

MIT, Wasin Thonkaew

About

CLI tool to diff between two contract addresses in bytecode. Support EVM-based chains i.e. BSC, Ethereum, and Polygon.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages