Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Watching a Solana wallet without running your own RPC node

说明与用途

一个轻量级自动化脚本,每5分钟通过公共RPC轮询Solana钱包余额,比较上一次余额,并在超过阈值时发送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