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.
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.
-
Monitors New Tokens
Tracks new token creation events on Solana by analyzing transaction logs associated with Raydium liquidity pools. -
Rug Pull Risk Analysis
Usesrugcheck.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.
Before using this tool, make sure you have the following installed:
Follow these steps to set up the Solana Token Tracker project on your local machine:
git clone https://github.com/FriedDev/solana-rug-checker.git
cd solana-rug-checker
npm install
npm install dotenv
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
npx tsx src/index.ts
- 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
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open-source. Please check the LICENSE file for details.