Simple tool to monitor Ethereum and Avalanche wallets for new transactions. Uses Etherscan and Snowtrace. Can be easily extended to support Fantom (FTMScan), Binance (BSCScan), Polygon (Polygonscan), Arbitrum(Arbiscan), Moonriver (Moonscan), and more chains.
Script checks for new transactions every 60 secs (this can be changed easily by setting the CHECK_FREQUENCY_SECONDS
variable).
To use:
- Download repo. Install playsound v 1.2.2 python library (
pip install playsound==1.2.2
) - Go to etherscan.io and snowtrace.io, and get your API key]
- Go to
config_sample.yaml
, and add [1] your API keys and [2] for every wallet you want to monitor, enter the address, a name (used for identifying addresses), and the blockchainnetworks
you want to monitor transactions for this wallet. - Rename
config_sample.yaml
toconfig.yaml
- Run
monitor.py
. Script will continuously monitor until it is quit.
Acceptable network parameters (network
) for YAML file:
- the network value must be a comma-separated array
- Example 1:
['eth', 'avax']
- Example 2:
['eth']
- Example 1:
- Can be one or more of
eth
,avax