Skip to content

soladdev/solana-sniper

Repository files navigation

Solana Vibe Station GRPC Ultra-Fast New Token Sniper

This is a unmaintained and dirty PoC of using GRPC to detect newly launched tokens on Raydium and snipe them with the goal of being the first buy. Please feel free to use this in your own code.

This program does not have any sell logic. This is not a bot. This is simply example code to demonstrate the capabilities and performance advantages that GRPC has over normal Solana RPC methods such as WebSockets.

Requirements

  • Yellowstone's Dragons Mouth GRPC streaming access (SVS's gRPC service)
  • RPC HTTP/WebSocket access (Ideally SVS's Staked RPC for best results)

Instructions

  • Run npm install
  • Rename .env.copy to .env
  • Add Solana Vibe Station API key to both the RPC_ENDPOINT and RPC_WEBSOCKET_ENDPOINT fields in the .env file
  • Add your private key in base64 format which can be exported from either Phantom or derived from your JSON keypair for your wallet.
  • Run npm run test to start the program

For anyone looking for RPC node access + GRPC streaming checkout our Discord server below.

About

This is a unmaintained and dirty PoC of using GRPC to detect newly launched tokens on Raydium and snipe them with the goal of being the first buy. Please feel free to use this in your own code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors