This script trace wallets interacting with an ethereum address (wallet or smart-contract) and generate data to detect possible bot. The way it work is by finding from where theses wallets got their funds and tag potential owner.
It work with any HTTP RPC (ex: infura) and etherscan api.
The script is splitted in 3 parts that the file main.py will call.
You should setup HTTP_PROVIDER and ETHERSCAN_APIKEY from config.py with your HTTP RPC and etherscan api key.
In main.py you can setup the address you want to scan, if you want to filter any specific function, the side of the transactions and the range of block you want to analyse.
pip3 install pickle web3
python3 main.py
A new folder, named by the address you are scanning, will be generated.
Data are generated in two json file ready to be interpreted, as normal and short version. Examples below.
If you got any error, please open an issue with as many details as possible.