tomwangcn/solana_meme
À propos
Monitor the Solana blockchain for new pump.fun meme coins in real-time using Rust! This tool listens to on-chain events and alerts you whenever a new meme token appears
Gestion et financeWhat you can do
- Real-time Monitoring: Subscribes to the Solana blockchain and listens for specific transaction logs.
- Token Detection: Identifies new tokens associated with a particular owner address.
- Customizable Filters: Easily modify the code to monitor different addresses or token criteria.
- Lightweight and Efficient: Built with asynchronous Rust for high performance.
Progression mesurée des étoiles
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalSolana Meme Coin Watcher 🚀
Monitor the Solana blockchain for new pump.fun meme coins in real-time using Rust! This tool listens to on-chain events and alerts you whenever a new meme token appears, helping you stay ahead in the crypto space.
📖 Table of Contents
✨ Features
- Real-time Monitoring: Subscribes to the Solana blockchain and listens for specific transaction logs.
- Token Detection: Identifies new tokens associated with a particular owner address.
- Customizable Filters: Easily modify the code to monitor different addresses or token criteria.
- Lightweight and Efficient: Built with asynchronous Rust for high performance.
- Sniper robot: Automatically buys the token when it appears.
📋 Prerequisites
- Rust: Make sure you have Rust installed. If not, download it from rust-lang.org.
- Tokio Runtime: This project uses asynchronous programming, so the Tokio runtime is required.
- Solana Client Libraries: Uses
solana_clientand related crates.
🔧 Installation
Clone the Repository
git clone https://github.com/CodeCat-maker/solana_meme cd solana_memeInstall Dependencies
cargo build
🚀 Usage
Configure API Key Replace the placeholder API key in the code with your actual API key from Helius
let env = Env { ws_url: Url::parse( "wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY", )?, }; ... let rpc_client = rpc_client::RpcClient::new( "https://mainnet.helius-rpc.com/?api-key=Your_API_KEY".to_string(), );Run the Program
cargo runMonitor Output
The application will begin monitoring and output messages when new tokens are detected.
🛠️ How It Works
Subscription to Logs: The program subscribes to transaction logs on the Solana mainnet where a specific public key is mentioned.
Transaction Filtering: It filters transactions to find those that involve the specified owner address and exclude the native SOL token.
Token Detection: When a matching transaction is found, it prints out the mint address of the new token.
Key Components
PubsubClient: Used for subscribing to the Solana WebSocket for real-time updates.
RpcClient: Allows fetching detailed transaction data from the Solana RPC API.
Filters and Configs: Customized filters to narrow down the transactions of interest.
📈 Example Output
Start monitoring...
========== New Token Found ==========
Mint Address: 3Kz4n... (truncated for brevity)
=====================================
🤝 Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements.
- Fork the repository
- Create your feature branch (git checkout -b feature/YourFeature)
- Commit your changes (git commit -am 'Add YourFeature')
- Push to the branch (git push origin feature/YourFeature)
- Open a pull request
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to reach out if you have any questions or need assistance getting started. Happy monitoring! 🎉
Explorer des projets similaires
Chargement…