Monitor whale wallets on Ethereum & get real-time Telegram alerts when they move β powered by Etherscan V2 + CoinGecko API + Web3.py.
Whale tracking is the process of monitoring large Ethereum wallets for significant on-chain activity β helping traders get early signals before the market reacts.
This bot tracks wallets using:
- π Etherscan V2 β real-time transaction & token transfer data
- π° CoinGecko API β token prices & USD value calculation
- βοΈ Web3.py β direct Ethereum node interaction via Infura
- π Multi-Wallet Tracking β monitor up to 10 wallets simultaneously
- π’ BUY / SELL Detection β identify swap direction automatically
- π° USD Value β real-time value calculation per transaction
- πͺ Token Info β shows token received/sent per swap
- β½ Gas Tracking β gas price used by whale per TX
- π DEX Detection β Uniswap V2/V3, SushiSwap, 1inch, 0x
- π·οΈ Whale Labels β known whale addresses pre-loaded
- π€ Telegram Bot β 7 interactive commands
- π‘ Auto Monitor β background polling every 15 seconds
pip install web3 requestsOpen whale_wallet_copier.py and configure:
ETHERSCAN_API_KEY = "your_etherscan_key"
INFURA_URL = "https://mainnet.infura.io/v3/your_infura_key"
TELEGRAM_TOKEN = "your_telegram_bot_token"
TELEGRAM_CHAT_ID = "your_chat_id"python whale_wallet_copier.pypython whale_wallet_copier.py check 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045| Command | Description |
|---|---|
/add <address> |
Add wallet to track |
/add <address> <label> |
Add wallet with custom label |
/remove <address> |
Remove wallet from tracking |
/list |
Show all tracked wallets |
/check <address> |
Manual scan last ~1000 blocks |
/monitor on/off |
Toggle auto monitoring |
/whales |
Show known whale addresses |
π WHALE ALERT
ββββββββββββββββββββββ
π€ Vitalik Buterin
π 0xd8dA6BF2...6045
π’ Type : BUY
π DEX : Uniswap V3
π° Value : $250,000.00 (83.3 ETH)
β½ Gas Price: 25.4 Gwei
π TX : 0x4f2a1b...
π₯ Received: 1,250,000 PEPE
β° 2026-05-30 22:44:05
π View on Etherscan
whale_wallet_copier.py
βββ EtherscanClient β Etherscan V2 API integration
β βββ get_transactions() β fetch wallet TX history
β βββ get_token_transfers() β fetch ERC-20 transfers
β βββ get_eth_balance() β wallet ETH balance
β βββ get_latest_block() β current block number
βββ PriceClient β CoinGecko API integration
β βββ get_eth_price() β ETH/USD price (5min cache)
β βββ get_token_price() β token/USD price (5min cache)
βββ TxDecoder β Transaction decoder
β βββ get_tx_type() β BUY / SELL / SWAP / TRANSFER
β βββ get_dex_name() β identify DEX from router
β βββ get_function_name() β decode function selector
βββ WhaleTracker β Core tracking engine
β βββ add_wallet() β add wallet to watchlist
β βββ remove_wallet() β remove wallet
β βββ check_wallet() β scan single wallet for new TXs
β βββ scan_all() β scan all tracked wallets
βββ WhaleBot β Telegram bot with 7 commands
βββ _monitor_loop() β background polling thread
| Source | Usage |
|---|---|
| Etherscan V2 | Transaction history, token transfers, balances |
| CoinGecko API | ETH & token prices in USD |
| Infura | Ethereum RPC node |
| Label | Address |
|---|---|
| Vitalik Buterin | 0xd8dA6BF2...6045 |
| Binance Whale | 0x47ac0Fb4...503 |
| Binance Hot Wallet | 0x28C6c062...560 |
| Binance Cold Wallet | 0x21a31Ee1...549 |
| Wintermute | 0x9696f59E...976 |
| Variable | Default | Description |
|---|---|---|
MIN_TX_VALUE_USD |
$10,000 | Minimum TX value to trigger alert |
POLL_INTERVAL |
15s | How often to scan wallets |
MAX_WALLETS |
10 | Maximum wallets to track simultaneously |
This tool is for informational purposes only. Copying whale trades carries significant risk. Always do your own research.
web3>=6.0.0
requests>=2.28.0
Rizal β @rizalcodes
Building Web3 tools with Python πβοΈ
MIT License β free to use, modify, and distribute.