SlopeSniper is an AI-powered Solana trading assistant. Instead of navigating DEX interfaces, just tell it what you want:
"Buy $25 of BONK"
"What's trending right now?"
"Is POPCAT safe to trade?"
"Sell half my WIF position"
SlopeSniper handles token resolution, safety checks, quotes, and execution—all through conversation.
| Platform | Status | Description |
|---|---|---|
| Moltbot | ✅ Beta | Natural language trading via Moltbot |
| Claude Desktop (MCP) | 🔜 Coming Soon | Direct integration with Claude Desktop |
| Web API | 🔜 Coming Soon | REST API for custom integrations |
curl -fsSL https://raw.githubusercontent.com/BAGWATCHER/SlopeSniper/main/skills/install.sh | bashRecommended: Interactive Setup
slopesniper setupThis guides you through wallet creation with confirmation and ensures you save your private key.
Alternative: Quick Start
slopesniper statusAuto-generates a wallet on first run (for advanced users/automation).
Import Existing Wallet
slopesniper setup --import-key YOUR_PRIVATE_KEYSend SOL to your wallet address. This is your dedicated trading wallet—only deposit what you're willing to trade.
Talk to Moltbot:
You: "Check my trading status"
You: "Buy $20 of BONK"
You: "What's the price of SOL?"
No commands to memorize. Just describe what you want:
| You Say | What Happens |
|---|---|
| "Buy $25 of BONK" | Resolves token → safety check → quote → execute |
| "Sell half my WIF" | Calculates 50% of holdings → executes sell |
| "What's pumping?" | Scans DexScreener for trending tokens |
| "Scan for new tokens" | Finds newly listed pairs |
| "Is POPCAT safe?" | Runs rugcheck analysis, shows risk factors |
| "Set aggressive mode" | Increases trade limits and auto-execution threshold |
- Rugcheck Integration - Automatic scam token detection before every trade
- Two-Step Confirmation - Large trades require explicit approval
- Auto-Execute Thresholds - Only small trades execute automatically
- Dedicated Wallet - Auto-generated wallet isolates trading funds
| 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 |
Change anytime: "Set conservative mode" or "Use degen strategy"
You: "Buy $20 of BONK"
↓
[1] Resolve BONK → mint address
[2] Run rugcheck safety analysis
[3] Get Jupiter quote (best price across all DEXs)
[4] Auto-execute (under $25 threshold)
↓
"Bought 1.2M BONK for $20. Tx: solscan.io/tx/..."
For trades above your auto-execute threshold, you'll be asked to confirm first.
# 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
slopesniper wallet # Show wallet address and token balances
slopesniper export # Export private key for backup
slopesniper pnl # Show portfolio profit/loss
slopesniper pnl init # Set baseline for tracking
slopesniper pnl stats # Win rate, avg gain/loss
slopesniper pnl positions # Detailed position breakdown
slopesniper pnl export # Export trade history (JSON/CSV)
slopesniper history # Show recent trade history
# Trading
slopesniper price SOL # Get current token price
slopesniper buy BONK 25 # Buy $25 of BONK
slopesniper sell WIF 50 # Sell $50 worth of WIF
slopesniper sell WIF all # Sell entire position
# Discovery
slopesniper search "dog" # Search for tokens
slopesniper resolve BONK # Get mint address from symbol
slopesniper scan # Scan all opportunities
slopesniper scan trending # Scan trending tokens
slopesniper scan pumping # Scan tokens with price spikes
# Safety
slopesniper check POPCAT # Run safety analysis
# Strategy
slopesniper strategy # View current strategy
slopesniper strategy aggressive # Change to aggressive mode
# Configuration
slopesniper config # View current config
slopesniper config --set-jupiter-key KEY # Set custom API key (10x faster!)
# Updates
slopesniper version # Show current version
slopesniper version --check # Check for updates
slopesniper update # Update to latest versionYour wallet is encrypted and stored at ~/.slopesniper/wallet.enc. The private key is shown only once at creation—make sure to save it!
Create a new wallet (recommended):
slopesniper setup # Interactive setup with confirmationView wallet and holdings:
slopesniper wallet # Quick view
slopesniper status # Full statusExport private key for backup:
slopesniper export # Displays your private keyImport an existing wallet:
slopesniper setup --import-key YOUR_PRIVATE_KEYOr set the SOLANA_PRIVATE_KEY environment variable.
Storage locations:
~/.slopesniper/
├── wallet.enc # Encrypted private key (AES-128)
├── config.enc # Encrypted user config (Jupiter API key, etc.)
└── .machine_key # Salt for key derivation
Your private key is only shown once at wallet creation. Use slopesniper export to retrieve it.
Back it up OUTSIDE this system immediately:
- Password manager (1Password, Bitwarden, LastPass)
- Encrypted USB drive stored securely
- Paper backup in a safe or lockbox
- Import into a hardware wallet (Ledger, Trezor)
Why external backup is essential:
- The wallet file is machine-bound and won't work on other computers
- If your computer dies, the encrypted file is useless
- No private key = No recovery = Funds lost forever
View current config:
slopesniper configSet your own Jupiter API key (10x better performance):
slopesniper config --set-jupiter-key YOUR_KEYGet a free key at: https://station.jup.ag/docs/apis/ultra-api
Environment Variables:
| Variable | Required | Description |
|---|---|---|
SOLANA_PRIVATE_KEY |
No | Override auto-generated wallet |
SOLANA_RPC_URL |
No | Custom RPC endpoint (defaults to public mainnet) |
JUPITER_API_KEY |
No | Your own Jupiter key (or use slopesniper config) |
Default limits (Balanced strategy):
- Max trade size: $100 per transaction
- Auto-execute threshold: $25 (trades under this execute without confirmation)
- Slippage tolerance: 1%
Customize with slopesniper strategy <mode> or set environment variables:
export POLICY_MAX_TRADE_USD=200
export POLICY_MAX_SLIPPAGE_BPS=50 # 0.5%| Layer | Implementation |
|---|---|
| Wallet Encryption | Fernet (AES-128-CBC) |
| Key Derivation | PBKDF2 + machine fingerprint + random salt (100k iterations) |
| File Permissions | Directory 700, files 600 |
| Machine Binding | Wallet can only be decrypted on the machine that created it |
| API Keys | User's Jupiter API key stored encrypted |
- Encrypted Storage - Wallet and config encrypted at rest with machine-specific key
- Machine-Bound Keys - Wallet files cannot be decrypted on a different machine
- Isolated Wallet - Auto-generates a dedicated trading wallet separate from your main holdings
- No Secrets in Code - No API keys or credentials embedded in source
- Rugcheck Integration - Every trade runs safety analysis first
- Two-Step Trades - Large trades require explicit confirmation
- Use the auto-generated wallet - Don't import your main wallet
- Fund conservatively - Only deposit what you're actively trading
- Start with conservative mode - Get comfortable before increasing limits
- Save your private key - It's only shown once at wallet creation
- Set your own Jupiter API key -
slopesniper config --set-jupiter-keyfor 10x better performance - Monitor your transactions - Check Solscan for trade history
┌─────────────────────────────────────────────────────────┐
│ Moltbot │
│ (Claude Code) │
└─────────────────────┬───────────────────────────────────┘
│ Natural Language
▼
┌─────────────────────────────────────────────────────────┐
│ SlopeSniper CLI │
│ slopesniper <command> │
└─────────────────────┬───────────────────────────────────┘
│
┌─────────────┼─────────────┐
▼ ▼ ▼
┌───────────┐ ┌───────────┐ ┌───────────┐
│ Jupiter │ │ Rugcheck │ │ Solana │
│ DEX API │ │ API │ │ RPC │
└───────────┘ └───────────┘ └───────────┘
- CLI (
slopesniper) - Command-line interface for direct execution - SDK - Python library for Jupiter, Rugcheck, and Solana interactions
- Strategy Engine - Manages trading limits and auto-execution rules
- Intent System - Two-step quote → confirm flow with expiring intents
- Claude Desktop Integration - MCP extension for native Claude Desktop support
- Web API - REST endpoints for custom integrations
- Price Alerts - Notifications for price movements
- DCA Automation - Scheduled recurring buys
- Multi-wallet support
- Limit orders
- Copy trading
- Telegram bot interface
- Python 3.10+
- uv package manager
# Clone the repository
git clone https://github.com/BAGWATCHER/SlopeSniper.git
cd SlopeSniper
# Install in development mode
cd mcp-extension
uv pip install -e .
# Run tests
pytest
# Run linter
ruff check mcp-extension/src/SlopeSniper/
├── config/ # Public configuration files
├── skills/ # Moltbot skill definition
│ ├── install.sh # One-line installer
│ └── slopesniper/
│ └── SKILL.md # Skill metadata and docs
├── mcp-extension/ # Main package
│ ├── src/
│ │ ├── slopesniper_skill/ # Core trading logic
│ │ │ ├── cli.py # CLI entry point
│ │ │ ├── sdk/ # API clients
│ │ │ └── tools/ # Trading tools
│ │ ├── slopesniper_mcp/ # MCP server (coming soon)
│ │ └── slopesniper_api/ # Web API (coming soon)
│ ├── Dockerfile
│ └── pyproject.toml
└── README.md
Contributions are welcome! Here's how to help:
- Report Bugs - Open an issue with reproduction steps
- Suggest Features - Open an issue describing your idea
- Submit PRs - Fork, branch, code, test, PR
Please follow existing code style and include tests for new features.
SlopeSniper is experimental software for trading volatile assets.
- Not financial advice - Do your own research
- Risk of loss - Only trade what you can afford to lose
- No guarantees - Software may have bugs; trades may fail
- Meme coins are risky - Most go to zero
By using SlopeSniper, you acknowledge these risks and take full responsibility for your trades.
MIT License - see LICENSE for details.
Built for degens, by degens 🎯
