Skip to content

newben420/miko_pub_snapshot

Repository files navigation

🌌 Miko: Advanced Solana Trading Automation

Miko is a high-yield, automation-enhanced trading platform for the Solana ecosystem, specifically optimized for Pump.fun and PumpSwap. It bridges the gap between manual "degen" trading and professional algorithmic execution.

Caution

HIGH RISK SOFTWARE. Trading low-cap "degen" tokens on Solana is extremely volatile. This tool carries significant risk of financial loss. It is provided "as is" for educational and experimental purposes. Use at your own risk.


🌟 Key Features

⚡ Intelligent Automation (Kiko Engine)

  • Dynamic Entry Strategies: Auto-buy tokens based on real-time launch metrics or advanced technical indicators (PSR, MACD, RSI).
  • Smart Exit Management:
    • Tiered Take-Profit: Sell specific portions of your bag at multiple PnL milestones.
    • Trailing Stop-Loss: Lock in profits as the price trends upward.
    • Peak Drop Protection: Panic sell if the price retracts significantly from its localized peak.
  • Simulation Mode: Backtest your strategies against live or historical data without risking real SOL.

🕵️ Elite Audit & Observation

  • Bonding Curve Tracker: Monitors tokens as they progress toward graduation.
  • Developer Forensics: Analyzes developer history, previous launches, and "rug" potential.
  • Social Verification: Automatically checks for Twitter, Telegram, and Website presence in token metadata.
  • Sentiment & Reply Audit: Scans Pump.fun comments for bot activity and unique user engagement.

🐋 Whale & Alpha Tracking

  • Real-time Whale Alerts: Monitors top holders and notifies you of significant buys or dumps.
  • Copy-Trading & Front-Running: Logic to follow "smart money" movements automatically.
  • Dev Tracking: Special monitoring for Developer wallet activity (sells, transfers, burns).

🖥️ Command & Control

  • Real-Time Web Dashboard: A powerful SPA hosted at http://localhost:4000 with live candlestick charts and portfolio overviews.
  • Telegram Command Center: Fully control the bot via mobile. View live PnL, toggle strategies, and execute manual trades.

🛠️ Quick Start

1. Prerequisites

  • Node.js: v18.x or higher.
  • Solana Wallet: A private key (in [1,2,3...] array format) with a small amount of SOL for fees.
  • Premium RPC: For competitive sniping, a private RPC (Helius, QuickNode, Shyft) is required.

2. Installation

git clone <repository-url>
cd miko
npm install

3. Configuration

  1. Copy the extended template: cp .env.example .env
  2. Edit .env and fill in your RPC URLs, Telegram Bot Token, and Solana Private Key.
  3. Set SIMULATION="true" initially to test your setup safely.

⚙️ Strategy Syntax Guide

Miko uses a concise string-based syntax for defining complex automation strategies in your .env file.

💰 Auto-Sell (AU_SELL)

Format: PnL% Sell% [TrailingBool] [MinPnL] [MaxPnL]

  • 100 50 | 200 100: Sell 50% of the bag at 2x profit, and the rest at 3x.
  • 20 100 true 50 500: Set a 20% Trailing Stop-Loss that only activates between 50% and 500% PnL.

🛒 Auto-Buy (AU_BUY)

Format: MC_Threshold BuyAmt MinTime_ms MaxTime_ms

  • 5000 0.1 0 30000: Buy 0.1 SOL worth if Market Cap is < 5000 SOL within 30 seconds of launch.

📉 Peak Drop (AU_PEAKDROP)

Format: MinPnL MaxPnL Drop% Sell%

  • 50 0 15 100: If PnL exceeds 50%, sell everything if it drops 15% from its highest recorded peak.

📂 Project Structure

  • index.js: Server entry point and coordination logic.
  • env.js: Centralized configuration and environment variable parser.
  • engine/: Core logic modules (Trade execution, Telegram, Whale tracking).
  • kiko/: Specialized strategy engines (Audit, Observer, Launch analysis).
  • lib/: Utility functions (Logging, Math, JSON parsing).
  • public/: Assets and code for the Web Dashboard.

🚀 Execution Commands

Command Description
npm start Launches the full platform (Engine + Bot + UI).
npm run sim Runs a simulation tick based on current SIM_ config.
npm run con Consolidates fragmented data logs into unified JSON files.

🆘 Troubleshooting

  • Transactions Failing? Increase DE_SLIPPAGE_PERC_ENTRY or check your RPC priority fee settings.
  • Bot Not Responding? Ensure TG_POLLING="true" and your Bot Token is correct.
  • No Data in Dashboard? Verify the WS_URL is correct and your RPC supports WebSockets.

📜 Disclaimer

This software is provided for research and educational purposes. The developers are not responsible for any financial losses, hardware damage, or legal issues resulting from the use of this software. Automated trading is inherently risky.

About

Miko is a high-yield, automation-enhanced trading platform for the Solana ecosystem, specifically optimized for Pump.fun and PumpSwap. It bridges the gap between manual "degen" trading and professional algorithmic execution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors