TRC20 Monitor Documentation
Professional TRC20 transaction monitoring for Tron blockchain.
Features
Real-time Monitoring: Track TRC20 transactions as they happen
Flexible Storage: Support for in-memory, SQLite, and custom database backends
Multiple Notification Channels: Console, file, webhook, and custom notifiers
Bi-directional Monitoring: Track both incoming and outgoing transactions
Production Ready: Built with async/await, proper error handling, and extensive testing
Easy Integration: Simple API and CLI for quick integration into existing systems
Quick Start
Install the package:
pip install trc20-monitor
Basic usage:
from trc20_monitor import TRC20Monitor, MemoryDB, ConsoleNotifier
async def main():
monitor = TRC20Monitor(
database=MemoryDB(),
notifier=ConsoleNotifier()
)
# Monitor incoming USDT transactions
await monitor.monitor_address(
address="YOUR_TRON_ADDRESS",
contract="TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t", # USDT
direction="in"
)