Skip to content

k2-g/etherscan-labels

Repository files navigation

EVM Labels

Scrapes labels from etherscan, bscscan & polygonscan, arbitrium, fantom, avalanche website and stores into JSON/CSV.

Chain Site Label Count Status Last scraped
ETH https://etherscan.io 29945 ✅ ok 19/6/2024
BSC https://bscscan.com 6726 ✅ ok 27/3/2024
POLY https://polygonscan.com 4997 ✅ ok 27/3/2024
OPT https://optimistic.etherscan.io 546 ✅ ok 29/5/2024
ARB https://arbiscan.io 837 ✅ ok 26/7/2024
FTM https://ftmscan.com 1085 ✅ ok 29/9/2024
AVAX https://snowtrace.io 1062 ✅ ok 15/10/2024

Total Chains: 7

Total Labels: 45198

Setup

  1. On the command-line, run the command pip install -r requirements.txt while located at folder with code.
  2. (Optional) Add ETHERSCAN_USER and ETHERSCAN_PASS to sample.config.json and rename to config.json
  3. Run the script with the command python main.py.
  4. Proceed to enter either eth, bsc or poly to specify chain of interest
  5. Login to your ___scan account (Prevents popup/missing data)
  6. Press enter in CLI once logged in
  7. Proceed to enter either single (Retrieve specific label) or all (Retrieve ALL labels)
  8. If single: Follow up with the specific label e.g. exchange , bridge ....
  9. If all: Simply let it run (Take about ~1h+ to retrieve all, note that it occassionally crashes as well)
  10. Individual JSON and CSV data is dumped into data subfolder.
  11. Consolidated JSON label info is dumped into combined subfolder.