A Python application that monitors token creation events across Solana and Ethereum blockchains.
- Real-time monitoring of token creation events
- Support for multiple addresses on both chains
- Detection of SPL token and ERC20 token creation
- Detailed transaction information and metadata
- Configurable monitoring parameters
- Python 3.8+
- Virtual environment (venv)
- Alchemy API key for Ethereum access
- Create and activate virtual environment:
python3 -m venv venv
source venv/bin/activate # On Unix/macOS
- Install dependencies:
pip install -r requirements.txt
- Copy the example environment file:
cp .env.example .env
- Edit the
.env
file and add your Alchemy API key:
- Get an API key from Alchemy
- Replace
your-api-key-here
with your actual API key - Optionally configure custom RPC URLs for Solana and Ethereum
- Load the environment variables:
source .env
- Adjust monitoring settings in
config.py
:
SOLANA_ADDRESSES
: List of Solana addresses to monitorETH_ADDRESSES
: List of Ethereum addresses to monitorMONITORING_INTERVAL
: Time between monitoring cycles (seconds)BLOCKS_TO_SCAN
: Number of Ethereum blocks to scan backwardsSOLANA_TX_LIMIT
: Number of recent Solana transactions to check
Run the monitor:
python main.py
The application will:
- Validate blockchain connections
- Display monitoring configuration
- Start continuous monitoring of specified addresses
- Print detected token creation events in real-time
The application includes robust error handling for:
- Missing API keys
- Network connection issues
- Invalid blockchain responses
- Transaction processing errors
🔔 [SOLANA] POTENTIAL NEW TOKEN CREATION DETECTED
Time: YYYY-MM-DD HH:MM:SS PM ET
Transaction: <signature>
Involved Accounts:
Account 0: <address>
⭐ CREATOR ACCOUNT INVOLVED: <address>
🔔 [ETHEREUM] POTENTIAL CONTRACT CREATION DETECTED
Time: YYYY-MM-DD HH:MM:SS PM ET
Transaction: <hash>
Creator: <address>
Gas Used: <amount>
⭐ NEW CONTRACT ADDRESS: <address>
✅ Confirmed ERC20 Token Contract