---
title: "Deploy Snitch"
description: "Track every buy and sell of the Solana wallets you watch"
category: "Bots"
url: https://railway.com/deploy/snitch
---

# Deploy Snitch

Track every buy and sell of the Solana wallets you watch

**[Deploy Snitch on Railway](https://railway.com/template/snitch)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/snitch/manifest.json

- **Creator:** Richard Bertok's Projects
- **Category:** Bots
- **Total deploys:** 3

## Template content

### snitch https://cdn.jsdelivr.net/gh/ksrichard/snitch-assets@main/snitch-icon.png

- **Image:** ghcr.io/ksrichard/snitch:latest
- **Health check:** /health
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

## Documentation

# Deploy and Host Snitch on Railway

Snitch tells you when the whales move. Add any Solana wallets in its web UI and it catches every buy and sell they make, on any venue, including ones that didn't exist when it was written. Each trade is saved to Postgres, shown live, and optionally pushed to Telegram or a webhook. It holds no keys and never sends a transaction.

## About Hosting Snitch

Snitch is a single small service, a static Rust binary with the web UI built in, plus a Postgres database. The template wires them together: the database URL is referenced automatically, and a login password and session key are generated for you at deploy time. It uses the public Solana endpoints by default, so it works without any Solana account. After deploying, open the Snitch service's Variables tab, copy `API_TOKEN`, and log in with it at the service's public URL. Wallets, Telegram, webhooks and every other setting are then managed from Snitch's own Settings page, and each change applies within seconds.

## Common Use Cases

- Follow smart-money and whale wallets and get a Telegram alert the moment they buy or sell
- Spot confluence: several tracked wallets buying the same token within minutes
- Keep a searchable, exportable (CSV) history of every trade your wallets made, with what each sale earned

## Dependencies for Snitch Hosting

- PostgreSQL (included in the template)
- A Solana RPC and websocket endpoint (public mainnet by default; a paid one such as Helius, QuickNode or Triton misses fewer trades)

### Implementation Details

Detection works from each wallet's balance changes rather than decoding specific exchanges, so new venues are covered automatically. Amounts derived from balance changes include fees and are marked with a `~`; exact venue figures replace them when they reconcile.

Settings beyond the template's defaults can be changed in Snitch's Settings page, or set as variables:

- `TELEGRAM_BOT_TOKEN` and `TELEGRAM_CHAT_ID`: Telegram alerts
- `WEBHOOK_URL`: a JSON POST for every trade
- `SOLANA_RPC_URL` and `SOLANA_WS_URL`: your own endpoint

Run a single replica: every instance tracks the wallets, so two would alert twice.

## Why Deploy Snitch on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Snitch on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Telegram JavaScript Bot](https://railway.com/deploy/5lRkWa) — A template for Telegram bot in JavaScript using grammY
- [Cobalt Tools [Updated Nov ’26]](https://railway.com/deploy/cobalt) — Cobalt Tools [Nov ’26] (Media Downloader, Converter & Automation) Self Host
- [Telegram Gateway](https://railway.com/deploy/railway-telegram-gateway) — Multi-bot Telegram webhook gateway with WebSocket event streaming

Open this page in a browser: https://railway.com/deploy/snitch
