A lightweight tool to monitor Solana wallet transactions in real-time, built in Go—my first Web3 backend project.
- Tracks transactions via RPC polling and WebSocket.
- CLI:
solana-tx-monitor monitor --wallet <pubkey>or--config config.yaml. - API:
solana-tx-monitor serverwith/start,/stop,/transactions. - Filters: Token transfers, min SOL, specific token mints.
- Outputs: Console or CSV.
- Test mode:
--testto check connections.
- Clone:
git clone https://github.com/yourusername/solana-tx-monitor.git - Build:
cd solana-tx-monitor && go build -o solana-tx-monitor
CLI:
./solana-tx-monitor monitor --config config.yamlServer:
./solana-tx-monitor server --port 8080
curl -X POST -d '{"wallet":"YourAddress..."}' http://localhost:8080/start
curl http://localhost:8080/transactionsConfig Example (config.yaml):
wallet: "YourAddress"
output_type: "console"