AI SummaryMaintain consistent structure across all bot configuration files: Implement multiple exit strategy types: 1. Time-based: Hold for fixed duration
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "pumpfun-bonkfun-bot — Cursor Rules" prompt rules to my project. Repository: https://github.com/chainstacklabs/pumpfun-bonkfun-bot Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
A fully functional pump.fun / letsbonk.fun trading and sniping bot not relying on any 3rd party APIs
Environment Variable Usage
• Use ${VARIABLE_NAME} syntax for environment interpolation • Never hardcode sensitive values in YAML files • Validate all required environment variables on startup • Provide clear error messages for missing variables
Good logging examples
logger.info(f"New token detected: {mint} by {creator}") logger.info(f"Buy transaction submitted: {signature}") logger.warning(f"Transaction failed, attempt {attempt}/{max_attempts}") logger.error(f"Platform {platform.value} not supported") `
Learning Examples Usage
Use learning examples for: • Testing new features before integration • Validating platform-specific functionality • Performance benchmarking • Educational purposes for new developers `bash
YAML Configuration Structure
Maintain consistent structure across all bot configuration files: `yaml
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts