Handi Cat is a Telegram bot that can track any Solana wallet in real time, providing relevant information of each transaction made in Pump.fun, Raydium and Jupiter including transaction hash, tokens and amount swapped, price of the token in SOL, token market cap and much more.
- ๐ Real-time tracking of any transaction
- ๐ Detects Pump.fun, Raydium and Jupiter transactions
- ๐ฐ Gets SOL price of the token swapped
- ๐ Get tokens market cap at the time swapped
- ๐ค Each transaction message includes links to popular Solana trading bots to quickly buy the token
- ๐ Each transaction provides links to Photon, GMGN and Dex Screener to quickly see the token
- ๐ Node.JS
- ๐ TypeScript
- ๐ Prisma and Prisma Pulse
- ๐ช Solana Web3.js
Follow these simple steps to setup Handi Cat locally on your machine
Node version 14.x
-
Clone the repo
git clone https://github.com/DracoR22/handi-cat_wallet-tracker.git
-
Install NPM packages
pnpm install
-
Rename
.env.example
file to.env
-
Go to
supabase.com
and create a free database -
In your
Supabase
dashboard go toProject Settings
->Database
paste the connection string intoSUPABASE_DATABASE_URL
environment variable. Make sure you activate thepooler connection
and set the port to5432
your connection string should look like this:postgresql://postgres.[PROJECT_URL]:[YOUR-PASSWORD]@aws-0-[YOUR-DB-REGION].pooler.supabase.com:5432/postgres?pgbouncer=true
-
Now you need to Setup Prisma Pulse with a Supabase database for real time database logs
-
After you get your
Prisma Pulse
API key, paste it in thePULSE_API_KEY
environment variable -
Create a new
Telegram Bot
usingBot Father
and get yourBOT_TOKEN
, then paste it in the environment variable -
Run migrate command to push the database schemas and generate all types
pnpm db:migrate
- Start the bot (note that you will have to setup an rpc provider in
src/providers/solana.ts
, you can change it toSOLANA_NETWORK
if you dont have one)
pnpm start
- That's it! now your local version of Handi Cat is ready, you can also fill the other environment variables to setup an RPC of your choice
My solana wallet for the struggles - CAThY97SjWz1nRjtVELZopz1xKRqkRkBWhXvA2BHdkdf
Project Link: https://github.com/DracoR22/handi-cat_wallet-tracker