https://github.com/ennriqe/ETHDam-Slither-Token-Contract-to-Predict-Success/blob/master/README.md
Project Overview
In this project completed at ETHDam 2024, I predict the success of newly minted ERC20 tokens on Ethereum using only features extracted from their smart contracts via Slither. Success is defined as reaching a 100k market cap at any point within the same month they were created. I employ a LightGBM model to predict this binary success variable, achieving a model significantly better than random chance.
Performance Metrics
These metrics are averaged over training using cross-validation across 10 folds to avoid overfitting to the training set.
Data Collection
I collect data by querying the Ethereum blockchain using Web3.py and an RPC. I specifically look for newly minted ERC20 tokens in the first few days of March 2024. I record the highest market capitalization these tokens achieve within the month. Prices are derived from BitQuery for the pool against WETH, and Web3.py is used to determine the supply.
Feature Extraction
I analyze the smart contracts of these tokens using Slither to extract the following features: