HKUS3Lab - Scripts, modifications of repos, and other utils for smart contract scanning.
- Download the Dockerfile.
- Run
docker build -t <image_name> .
to build the image. - Run
docker run -it <image_name>
to run the image. - Run
pip show slither-analyzer
to find Slither's path and make changes to Slither as described in this file.
- Create an API key at etherscan.io and add it to scripts/key.py:
api_key = "EXAMPLEKEYXXXXXXXXX"
- Create a directory for the contracts you want to scan. For example,
mkdir ProjectA
- Run
python scripts/scan.py 0x1234567890123456789012345678901234567890 ProjectA/
to scan the contract at address 0x1234567890123456789012345678901234567890. The results will be saved inProjectA/<contract_name>/
MIT © HKUS3Lab