A fast and scalable backend service for indexing new and updated tokens on the Solana blockchain. Includes a RESTful API with Swagger documentation and Telegram integration for real-time notifications.
- β Index new token mints and metadata
- π Monitor for token updates (price, liquidity, holders, etc.)
- π¬ Send Telegram alerts for new token listings
- π Swagger UI for API documentation
- π οΈ Written in Node.js / TypeScript
- β‘ PostgreSQL or Redis for persistent storage
- Solana Web3.js
- Node.js / Express
- Redis
- Swagge
- Telegram Bot API
- Node.js β₯ 18
- Redis
- A Telegram Bot Token (from @BotFather)
- A Telegram Chat ID (group or user)
git clone https://github.com/vvizardev/coin-indexing-app-backend.git
npm install
Create a .env
file:
SOLANA_TRACKER_API_KEY=
PORT=
BOT_TOKEN=
CHANNEL_HANDLE=
BOT_NAME=
API_URL=
npm run start
# or
cargo run
- Connects to the Solana RPC and scans for new token mints.
- Fetches metadata using Metaplex or TokenList.
- Stores tokens in PostgreSQL or Redis.
- Sends Telegram messages when criteria match.
- Exposes an API to retrieve token data via REST.
After running the server, visit:
http://localhost:3000
Here youβll find Swagger UI with full documentation.
Example message sent to Telegram:
π New Token Detected!
Name: Banana Coin π
Mint: F5vA...DxP
Symbol: BANANA
Customize filters in
src/indexer/filter.ts
to reduce spam.
-
Trending SOL Pools
GET /api/v1/trending
Get trending SOL pools -
Trending Tokens (Tracker)
GET /api/v1/tracker/trending
Get trending tokens from tracker
-
Tokens by Volume
GET /api/v1/tracker/tokens/volume
Get tokens sorted by trading volume -
Tokens by Multi
GET /api/v1/tracker/tokens/multi
Get tokens by multi-metric logic -
Latest Tokens
GET /api/v1/tracker/tokens/latest
Get the most recently listed tokens -
Graduated Tokens
GET /api/v1/tracker/tokens/graduated
Get tokens that have graduated from tracker status
- Get Token Details
GET /api/v1/tracker/tokens/{tokenAddress}
Fetch token details by its address
npm run test
Use Docker:
docker build -t solana-indexer .
docker run --env-file .env -p 3000:3000 solana-indexer
PRs welcome! Please open an issue first to discuss any major changes.
MIT Β© 2025 @vvizardev
- Telegram: @vvizardev
- Twitter: @wizardev_sol