Trade Solana tokens via Jupiter DEX with auto-execution and safety limits
Trade Solana meme coins and tokens using natural language. Just tell me what you want to do.
| You say | What happens |
|---|---|
| "Check my status" | Shows wallet balance, holdings, and strategy |
| "Show my wallet" | Lists all token holdings with values |
| "Buy $25 of BONK" | Purchases BONK tokens |
| "Sell half my WIF" | Sells 50% of WIF position |
| "Sell all my POPCAT" | Exits entire position |
| "What's my PnL?" | Shows realized + unrealized profit/loss |
| "Show trade history" | Lists recent trades |
| "What's pumping?" | Scans for opportunities |
| "Is POPCAT safe?" | Runs rugcheck analysis |
| "Set aggressive mode" |
| Changes trading strategy |
| "Export my key" | Shows private key for backup |
| "Set a target to sell BONK at $1B mcap" | Creates auto-sell target |
| "List my targets" | Shows active sell targets |
| "Start the daemon" | Begins background monitoring |
CRITICAL: When asked about prices, positions, or market data:
slopesniper price MINT or slopesniper wallet every timeExample:
User: "How's my Peyote position?"
BAD: Use price from 30 minutes ago in conversation history
GOOD: Run `slopesniper wallet` to get current value
This ensures users always see accurate, real-time information.
slopesniper setup
Interactive setup with confirmation - guides you through wallet creation and ensures you save your private key.
slopesniper setup --import-key YOUR_PRIVATE_KEY
Set your own Jupiter API key for 10x better performance:
slopesniper config --set-jupiter-key YOUR_KEY
Get a free key at: https://station.jup.ag/docs/apis/ultra-api
If you hold 10 or more different tokens, wallet balance checks may be slow due to Jupiter API rate limits.
Symptoms:
slopesniper wallet takes 30+ secondsSolutions:
Get your own Jupiter API key (Recommended):
slopesniper config --set-jupiter-key YOUR_KEY
Free keys at: https://station.jup.ag/docs/apis/ultra-api
Use custom RPC endpoint:
slopesniper config --set-rpc helius YOUR_KEY
Reduces load on default public RPC
Limit scanning:
wallet checks if not needed| Strategy | Max Trade | Auto-Execute | Safety Checks |
|---|---|---|---|
| Conservative | $25 | Under $10 | Required |
| Balanced | $100 | Under $25 | Required |
| Aggressive | $500 | Under $50 | Optional |
| Degen | $1000 | Under $100 | None |
Say "set conservative mode" or "use aggressive strategy" to change.
You: "Buy $20 of BONK"
↓
[1] Resolve BONK → mint address
[2] Check rugcheck score
[3] Get Jupiter quote
[4] Auto-execute (under threshold)
↓
Result: "Bought 1.2M BONK for $20. Tx: solscan.io/tx/..."
For trades above your auto-execute threshold, you'll be asked to confirm first.
buy $X of TOKEN - Purchase tokenssell $X of TOKEN - Sell tokenssell X% of TOKEN - Sell percentage of holdingssell all TOKEN - Exit entire positioncheck status / am I ready? - Full status with holdingsshow wallet / my holdings - View all token balancesexport key / backup wallet - Show private key for backupwhat's my PnL? - Profit/loss summarytrade history - Recent tradesprice of TOKEN - Current price (symbol or mint)search TOKEN - Find token by name (returns mint addresses)resolve TOKEN - Get mint address from symbolcheck TOKEN / is TOKEN safe? - Safety analysis (symbol or mint)set MODE strategy - Change trading modewhat's my strategy? - View current limitswhat's trending? - Find hot tokensscan for opportunities - Look for tradesset target for TOKEN at $X mcap - Auto-sell when market cap reachedset target for TOKEN at $X price - Auto-sell at price targetset 100% gain target for TOKEN - Auto-sell on percentage gainset 20% trailing stop for TOKEN - Trailing stop losslist my targets - View active targetscancel target ID - Remove a targetstart the daemon - Background monitoringstop the daemon - Stop background monitoringUse the slopesniper CLI for direct execution:
# Wallet Setup (recommended for new users)
slopesniper setup # Interactive wallet creation with confirmation
slopesniper setup --import-key KEY # Import existing private key
# Account & Wallet
slopesniper status # Full status: wallet, holdings, strategy, config
slopesniper wallet # Show wallet address and all token holdings
slopesniper export # Export private key for backup/recovery
slopesniper pnl # Show portfolio profit/loss
slopesniper pnl init # Set baseline snapshot for tracking
slopesniper pnl stats # Trading statistics (win rate, avg gain/loss)
slopesniper pnl positions # Detailed position breakdown
slopesniper pnl export # Export trade history as JSON
slopesniper pnl export --format csv # Export as CSV
slopesniper pnl reset # Reset PnL baseline
slopesniper history # Show recent trade history
slopesniper history 50 # Show last 50 trades
# Trading
slopesniper price SOL # Get token price
slopesniper price BONK # Get meme coin price
slopesniper buy BONK 25 # Buy $25 of BONK
slopesniper sell WIF 50 # Sell $50 of WIF
slopesniper sell WIF all # Sell entire WIF position
# Token Discovery
slopesniper search "dog" # Search for tokens by name
slopesniper check POPCAT # Safety check (rugcheck analysis)
slopesniper resolve BONK # Get mint address from symbol
slopesniper scan # Scan for all opportunities
slopesniper scan trending # Scan trending tokens
slopesniper scan new # Scan new pairs
slopesniper scan graduated # Scan pump.fun graduates
slopesniper scan pumping # Scan tokens with price spikes
# Strategy & Config
slopesniper strategy # View current strategy
slopesniper strategy aggressive # Set aggressive mode
slopesniper config # View current configuration
slopesniper config --set-jupiter-key KEY # Set custom API key (10x faster!)
slopesniper config --set-rpc mainnet URL # Set custom RPC endpoint
# Auto-Sell Targets
slopesniper target add BONK --mcap 1000000000 --sell all # Sell all at $1B mcap
slopesniper target add WIF --price 5.00 --sell 50% # Sell half at $5
slopesniper target add POPCAT --pct-gain 100 --sell all # Sell on 2x
slopesniper target add TOKEN --trailing 20 --sell all # 20% trailing stop
slopesniper target list # List active targets
slopesniper target list --all # List all targets (including triggered)
slopesniper target remove ID # Cancel a target
# Watch Mode (foreground)
slopesniper watch BONK --mcap 1000000000 --sell all # Watch until target hit
# Daemon (background monitoring)
slopesniper daemon start # Start background target monitoring
slopesniper daemon start --interval 15 # Custom poll interval (seconds)
slopesniper daemon stop # Stop daemon
slopesniper daemon status # Check if daemon is running
# Updates
slopesniper version # Show current version
slopesniper version --check # Check for updates
slopesniper update # Update to latest version (shows changelog)
All commands output JSON with mint addresses included for easy chaining.
Your private key is shown once at wallet creation. Retrieve it anytime with:
slopesniper export
Back it up OUTSIDE this system:
The wallet file is machine-bound. If your computer dies without a backup, your funds are lost forever.
| Variable | Required | Description |
|---|---|---|
SOLANA_PRIVATE_KEY | No | Import existing wallet (auto-generates if not set) |
SOLANA_RPC_URL | No | Custom RPC (defaults to public mainnet) |
JUPITER_API_KEY | No | Your own key for 10x better performance |
Note: Wallet and API keys are stored encrypted in ~/.slopesniper/
| Error | Fix |
|---|---|
| 401 Unauthorized | slopesniper config --clear jupiter-key |
| Trade failed (slippage) | slopesniper strategy --slippage 300 |
| Wallet mismatch | slopesniper health to check sync |
| Wallet reverts to old address | slopesniper health --diagnose then restore from backup |
| Slow transactions | Configure custom RPC (see below) |
Run a full system health check:
slopesniper health
For comprehensive diagnostics (wallet integrity, machine key status, backups):
slopesniper health --diagnose
This shows:
If your wallet keeps reverting or you need to restore from backup:
List available backups:
slopesniper export --list-backups
Restore from a backup:
slopesniper restore TIMESTAMP
(Replace TIMESTAMP with value from list-backups, e.g., 20240127_103045)
If backups can't be decrypted (different machine):
slopesniper setup --import-key YOUR_KEY~/.slopesniper/wallet_backups/*.address for referenceIf you encounter persistent errors:
slopesniper health --diagnose and note the outputFor the bot: When errors occur repeatedly, create a GitHub issue automatically using this priority:
GitHub MCP tool (preferred): Use mcp__github__create_issue with:
owner: "BAGWATCHER"repo: "SlopeSniper"title: Brief description of the issuebody: Full details including error, steps to reproduce, environmentlabels: ["bug"] or ["enhancement"]gh CLI (fallback): If MCP unavailable, use gh issue create --repo BAGWATCHER/SlopeSniper
Manual (last resort): Create local markdown file and provide the GitHub issues URL
Always include in issue body:
slopesniper health --diagnose if relevant