Skip to content

An EVM source code checker that compares Etherscan's verified code against the intended commit ID's

Notifications You must be signed in to change notification settings

aragon/diffyscan-workspace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiffyScan workspace

Get started

Prepare a Docker image with the up to date image.

docker build -t diffyscan .

Deployment parameters

Verify or addapt the configuration on params/example.json:

{
  "contracts": {
    "0x1957e052B9DfeF53d4FcB22f6372F8ea41049Ba1": "DAOFactory",
    "0x823546Acfb4ed490a37488391676859F1BE135B6": "PluginRepoFactory"
  },
  "explorer_hostname": "api-sepolia.etherscan.io",
  "explorer_token_env_var": "--- CHANGE THIS VALUE ---",
  "github_repo": {
    "url": "https://github.com/aragon/osx",
    "commit": "423014c01ebd49f24f8c82646540fe49309a6e9e",
    "relative_root": "packages/contracts"
  },
  // ...
  "bytecode_comparison": {
    "hardhat_config_name": "hardhat/holesky-config.js",
    "constructor_calldata": {},
    "constructor_args": {}
  }
}

Ensure that the file referenced by hardhat_config_name (hardhat/*-config.js) corresponds to your target network.

Run it

Run the tool with your configuration:

docker run --rm -it -v .:/app/ diffyscan params/*sepolia.json

About

An EVM source code checker that compares Etherscan's verified code against the intended commit ID's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published