Skip to content

tactical-retreat/avax-cross-verify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

avax-cross-verify

A utility to copy a contract verification to/from snowtrace.io/snowscan.xyz

I have repeatedly had issues where a contract is verified on only one of these explorers. Trivial changes to your forge project can make it annoying to verify a contract after deployment. I created this tool to simplify the process of ensuring that it's verified on both of them, if it's verified on one of them.

cd python
pip install -r requirements.txt
python cross_verify.py <0xaddress>

Limitations

Currently this only works on contracts verified using solidity-standard-json-input, but that includes all the commonly used dev tools like Foundry and Hardhat. Remix might do single file upload, not sure.

I think it also doesn't support contracts using library but I didn't have any at hand to test with.

Open to PRs if you want to fix anything.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages