Watching a Solana wallet without running your own RPC node
Описание и применение
Небольшой автоматизированный скрипт, который каждые 5 минут проверяет баланс Solana‑кошелька через публичный RPC, сравнивает с предыдущим значением, и при превышении заданного порога отправляет сообщение в Telegram с ссылкой на транзакцию в Solscan.
Задача
Need to monitor a Solana wallet’s balance changes without paying for infrastructure or running a dedicated RPC node.
Результат
A lightweight, cost‑free wallet watcher that alerts on significant balance changes via Telegram, using only the public Solana RPC.
Рабочий процесс
- Poll every 5 minutes using getBalance for SOL and getTokenAccountsByOwner for SPL tokens against api.mainnet-beta.solana.com.
- Store the last known balance in a simple key‑value store (e.g., n8n static data, Sheet, or Redis).
- Diff the new balance against the stored value and check if the change exceeds a user‑defined threshold.
- If threshold exceeded, send a Telegram message containing the delta and a Solscan link to the transaction.
Доказательства
Poll every 5 minutes — getBalance for SOL, getTokenAccountsByOwner for SPL tokens, against the public RPC endpoint. No auth, no key.
Alert with context — a Telegram message with the delta and a link straight to the transaction on Solscan, so you don't have to go look it up.
- Дата записи: 2026-09-07T07:37:26.177Z