Skip to content

wip Github action to verify a project's on chain bytecode with the project's repository. Generates a Bytecode Verification Report.

Notifications You must be signed in to change notification settings

kevin-fruitful/bytecode-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DO NOT USE YET

RepoChainSync

coming

Features

  • Compare bytecodes of contracts with on-chain deployed contracts.
  • Supports checking runtime bytecode with or without appended CBOR bytecode hash metadata.
  • Automatically extracts contract names and addresses from deployment transactions.
  • Interactive conflict resolution for duplicate contract addresses.
  • Easily extensible to support additional contract comparison features.

Installation

Setup a virtual environment first

pip install virtualenv
virtualenv .venv
source .venv/bin/activate

Now install dependencies

pip install -r requirements.txt

Usage

Check the last cell in the ipynb for an example. Replace values accordingly.

jupyter nbconvert --to script compare_bytecode.ipynb
python compare_bytecode.py

About

wip Github action to verify a project's on chain bytecode with the project's repository. Generates a Bytecode Verification Report.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published