https://github.com/haxpor/contractdiff
CLI tool to diff between two contract addresses in bytecode. Support EVM-based chains i.e. BSC, Ethereum, and Polygon.
https://github.com/haxpor/contractdiff
blockchain bsc bytecode cli contract-address contract-diff crypto diff ethereum polygon
Last synced: 11 months ago
JSON representation
CLI tool to diff between two contract addresses in bytecode. Support EVM-based chains i.e. BSC, Ethereum, and Polygon.
- Host: GitHub
- URL: https://github.com/haxpor/contractdiff
- Owner: haxpor
- License: mit
- Created: 2022-03-18T01:18:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-03T09:24:27.000Z (about 4 years ago)
- Last Synced: 2024-11-06T10:54:21.699Z (over 1 year ago)
- Topics: blockchain, bsc, bytecode, cli, contract-address, contract-diff, crypto, diff, ethereum, polygon
- Language: Rust
- Homepage: https://crates.io/crates/contractdiff
- Size: 24.4 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```
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