Skip to content

Track new tokens added to the Raydium pool and identify potential rug pulls. This tool combines real-time token tracking with built-in Rug Check functionality, making it an essential resource for Sniper bots.

License

Notifications You must be signed in to change notification settings

FriedDev/solana-rug-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Rug Checker

Solana Rug Checker is a TypeScript-based tool designed to monitor new token creation events within the Raydium decentralized exchange ecosystem on the Solana blockchain. It also evaluates the rug pull risk of these tokens using rugcheck.xyz.

The tool listens to blockchain logs to detect new token signatures associated with Raydium's liquidity pools, stores relevant data (e.g., creator information and token balances), and performs automated risk analysis to help identify potentially fraudulent tokens.


Potential Use Case: Sniper Bot Development

Solana Rug Checker is a powerful tool for developing a Sniper Bot. By monitoring newly created tokens and assessing their rug pull risk, users can confidently act on early token listings. This combination of real-time detection and risk evaluation is essential for safer and more effective Sniper Bot strategies.


Features

  • Monitors New Tokens
    Tracks new token creation events on Solana by analyzing transaction logs associated with Raydium liquidity pools.

  • Rug Pull Risk Analysis
    Uses rugcheck.xyz to evaluate the safety and legitimacy of newly detected tokens.

  • Data Storage
    Collects and stores key details, including:

    • Creator Wallet Address
    • Safety Score
    • Transaction Signatures
  • Blockchain Integration
    Built using @solana/web3.js for efficient interaction with the Solana network.

  • Error Handling and Logging
    Ensures reliable operation with robust error management and detailed logging.


Prerequisites

Before using this tool, make sure you have the following installed:

  • Node.js (Recommended version: v14.x or higher)
  • npm or yarn (for package management)

Installation

Follow these steps to set up the Solana Token Tracker project on your local machine:

1. Clone the Repository

git clone https://github.com/FriedDev/solana-rug-checker.git
cd solana-rug-checker

2. Install Dependencies

npm install
npm install dotenv

3. Configure RPC Endpoint

Create a .env file in the project root:

# Mainnet RPC Endpoint (recommended)
RPC_ENDPOINT=https://mainnet.helius-rpc.com/?api-key=your-api-key
RPC_WEBSOCKET_ENDPOINT=wss://mainnet.helius-rpc.com/?api-key=your-api-key

💡 Pro Tip:

  • Obtain an API key from Helius or another Solana RPC provider for optimal performance
  • Default RPC endpoints are available as fallback options

4. Run the Project

npx tsx src/index.ts

Troubleshooting

Common Issues

  • Installing tsx Globally (Optional):
    npm install -g tsx
  • Dependency Conflicts:
    npm cache clean --force
    npm install
  • Ensure you're running the latest version of Node.js
  • Check your Solana RPC endpoint configuration
  • Verify that tsx is correctly installed and configured

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is open-source. Please check the LICENSE file for details.

Disclaimer

⚠️ Use Responsibly: This tool is for educational and development purposes. Always comply with local regulations and platform terms of service.

About

Track new tokens added to the Raydium pool and identify potential rug pulls. This tool combines real-time token tracking with built-in Rug Check functionality, making it an essential resource for Sniper bots.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published