SuperAPI AI Directory

dapp-composer

Agents & models

View repository

Updated 10-15 23:56

About this skill

On-Chain Strategy Composer

Helps users discover and launch built-in automated strategies. This skill contains no CLI commands — it guides users to choose a strategy and then hands off to the corresponding skill.

Pre-flight Checks

Same as sub-skills. Run once per session:

  1. Confirm installed: Run which plugin-store. If not found, install:
    curl -sSL https://raw.githubusercontent.com/purong-huang-1121/skills-store/main/install.sh | sh
    
  2. Check for updates: Read ~/.plugin-store/last_check, skip if updated within 12 hours.

Skill Routing

dApp Platform (Single Protocol Operation)

  • User asks about Aave (deposit, borrow, interest rate) → use plugin-store aave
  • User asks about Morpho (vault, lending) → use plugin-store morpho
  • User asks about Uniswap (swap, swap, quote) → use plugin-store uniswap
  • User asks about Hyperliquid (perpetual contracts, funding rate, spot) → use plugin-store hyperliquid
  • User asks about Ethena (sUSDe, staking, yield) → use plugin-store ethena
  • User asks about Polymarket (prediction market, betting) → use plugin-store polymarket
  • User asks about Kalshi (compliant prediction market) → use plugin-store kalshi

Automated strategies

  • User asks about grid trading specifically → use plugin-store grid
  • User asks about USDC yield / auto-rebalance specifically → use plugin-store auto-rebalance

Strategy discovery (this skill)

  • User asks "What money-making/profit/arbitrage opportunities are there" or general strategy discovery → use this skill

Entry Point: Strategy Discovery

Trigger

User says: "What money-making opportunities are on-chain", "What profit opportunities are there", "What arbitrage opportunities are there", "What good strategies are there", "how to earn on-chain", "any profitable strategies", "help me manage my finances", "yield opportunities", "automated strategies"

Step 1: Present Built-in Strategies and Supported Platforms

Present the two automated strategies and the supported dApp ecosystem:

目前内置了 6 个策略(3 个 EVM + 3 个 Solana):

┌─────────────────────────────────────────────────────────────────────┐
│  A. USDC 智能调仓 (Auto-Rebalance)                                 │
│                                                                     │
│  自动在 Aave V3、Compound V3、Morpho 三个协议之间寻找最优 USDC      │
│  收益率,检测到利差超过阈值时自动调仓。                              │
│                                                                     │
│  ● 支持链:Base、Ethereum                                          │
│  ● 收益来源:借贷协议存款利息                                       │
│  ● 风险等级:⭐ 低(纯稳定币,无币价风险)                          │
│  ● 预估年化:3%~8%(取决于市场利率)                                │
│  ● 运行方式:后台守护进程,定时检查 + 自动执行                      │
│  ● 特点:TVL 安全监控、Gas 熔断、Telegram 通知                      │
├─────────────────────────────────────────────────────────────────────┤
│  B. ETH/USDC 网格交易 (Grid Trading)                                │
│                                                                     │
│  基于 EMA 动态网格,在价格波动中自动低买高卖,赚取网格利润。         │
│  通过 OKX DEX 聚合器执行链上 swap。                                  │
│                                                                     │
│  ● 支持链:Base                                                     │
│  ● 交易对:ETH/USDC                                                │
│  ● 风险等级:⭐⭐ 中低(持有 ETH 有币价风险,网格对冲部分波动)      │
│  ● 预估年化:10%~30%(取决于市场波动率,震荡行情最佳)              │
│  ● 运行方式:后台守护进程,默认每 60 秒执行一次(可通过               │
│    plugin-store grid set --key tick_interval_secs --value N 调整)      │
│  ● 特点:自适应波动率、风控熔断、仓位限制、失败重试                  │
├─────────────────────────────────────────────────────────────────────┤
│  C. 稳定币杠杆循环 (Aave Leverage Loop)                              │
│                                                                     │
│  在 Aave V3 上循环执行 USDC 存款→借款→再存款,赚取存借利差。         │
│  全程 USDC,无币价风险,利差通过杠杆放大约 2.4 倍。                  │
│                                                                     │
│  ● 支持链:Ethereum、Polygon、Arbitrum、Base                        │
│  ● 收益来源:Aave 存款利率 - 借款利率 × 杠杆倍数                    │
│  ● 风险等级:⭐ 低(纯稳定币,需关注利差反转和健康因子)             │
│  ● 预估年化:5%~15%(取决于存借利差和循环轮数)                      │
│  ● 运行方式:AI 引导逐步执行(非自动守护进程)                       │
│  ● 特点:健康因子监控、利差反转告警、一键去杠杆退出                  │
├─────────────────────────────────────────────────────────────────────┤
│                                                                     │
│  ═══════════════ Solana Meme 策略(依赖线上 plugin-store)══════════════ │
│                                                                     │
├─────────────────────────────────────────────────────────────────────┤
│  D. SOL 涨幅榜狙击 (Ranking Sniper)                                  │
│                                                                     │
│  实时监控 Solana 涨幅榜 Top 20,新币上榜自动买入、跌出自动卖出。     │
│  不预判哪个币能涨,而是吃上榜后的那一段动量。                        │
│                                                                     │
│  ● 支持链:Solana                                                   │
│  ● 收益来源:涨幅榜动量跟踪                                         │
│  ● 风险等级:⭐⭐⭐ 高(Meme 币高波动)                              │
│  ● 运行方式:后台守护进程,每 10 秒轮询                              │
│  ● 风控:25 项链上安全检查 + Momentum Score 评分 + 6 层退出机制       │
│  ● 特点:排名退出 > 硬止损 > 快速止损 > 追踪止损 > 时间止损 > 梯度止盈│
│  ● 依赖:plugin-store (token-ranking, token-advanced-info, holder,      │
│          current-price, quote, swap)                                 │
├─────────────────────────────────────────────────────────────────────┤
│  E. SOL 聪明钱跟单 (Signal Tracker)                                  │
│                                                                     │
│  实时监控链上聪明钱动向,多个高质量钱包同时买入同一代币时自动跟单。   │
│  SmartMoney / KOL / Whale 三类信号,跟着最聪明的钱走。               │
│                                                                     │
│  ● 支持链:Solana                                                   │
│  ● 收益来源:聪明钱信号跟单                                         │
│  ● 风险等级:⭐⭐⭐ 高(Meme 币高波动)                              │
│  ● 运行方式:后台守护进程,每 20 秒轮询                              │
│  ● 风控:MC/流动性过滤 + Dev 零容忍检查 + Bundler 操控检测            │
│         + K线追高检测 + Session 风控(连亏暂停)                     │
│  ● 特点:同车钱包数分级仓位 + 成本感知止盈 + 时间衰减止损            │
│  ● 依赖:plugin-store (signal-list, price-info, token-search, candles,  │
│          tokenDevInfo, tokenBundleInfo, balances, quote, swap)       │
├─────────────────────────────────────────────────────────────────────┤
│  F. SOL Memepump 扫描 (Memepump Scanner)                             │
│                                                                     │
│  实时扫描 Pump.fun 迁移代币,TX加速 + 成交量突增 + 买压主导          │
│  三信号共振时自动买入——捕捉安全验证后的动量爆发瞬间。                │
│                                                                     │
│  ● 支持链:Solana                                                   │
│  ● 收益来源:Pump.fun 迁移后动量爆发                                │
│  ● 风险等级:⭐⭐⭐ 高(Meme 币高波动)                              │
│  ● 运行方式:后台守护进程,每 10 秒轮询                              │
│  ● 风控:服务端安全过滤 + Dev/Bundler 深度验证 + 三重信号检测        │
│  ● 特点:SCALP/MINIMUM 分档仓位 + Hot Mode 自适应 + 30min 最大持仓  │
│  ● 依赖:plugin-store (memepump-tokenList, tokenDevInfo,               │
│          tokenBundleInfo, candles, trades, price-info, quote, swap)  │
└─────────────────────────────────────────────────────────────────────┘

请选择:输入 A ~ F

此外,我们还支持以下 dApp 平台,可以直接交互:

┌─────────────────────────────────────────────────────────────────────┐
│  支持的 dApp 平台                                                   │
├──────────────┬──────────────────────┬───────────────────────────────┤
│  平台         │  类型                │  支持链                       │
├──────────────┼──────────────────────┼───────────────────────────────┤
│  Aave V3     │  借贷协议            │  Ethereum, Polygon,           │
│              │                      │  Arbitrum, Base               │
│  Compound V3 │  借贷协议            │  Base, Ethereum               │
│  Morpho      │  借贷协议 (Vault)    │  Base, Ethereum               │
│  Uniswap V3  │  DEX 链上交易         │  Arbitrum, Ethereum, Polygon  │
│  Hyperliquid │  永续合约 + 现货交易  │  Hyperliquid L1               │
│  Ethena      │  sUSDe 质押收益       │  Ethereum                     │
│  Polymarket  │  预测市场             │  Polygon                      │
│  Kalshi      │  合规预测市场 (美国)  │  -(中心化)                  │
└──────────────┴──────────────────────┴───────────────────────────────┘

如果你想直接使用某个平台(如 "帮我在 Aave 存 USDC"、"Uniswap 换币"),
我会直接跳转到对应的 skill。

Step 2: User Selects Strategy or Platform

User says Action
"A", "rebalancing", "auto-rebalance", "USDC yield" → Go to Flow A
"B", "grid", "grid", "grid trading" → Go to Flow B
"C", "leverage loop", "leverage loop", "arbitrage" → Go to Flow C
"D", "gainers list", "ranking", "ranking sniper" → Go to Flow D
"E", "smart money", "signal", "copy trading", "smart money" → Go to Flow E
"F", "memepump", "pump.fun", "meme scan" → Go to Flow F
"both", "both", "run both" → Explain that multiple strategies can run concurrently, guide one by one
"Aave", "deposit", "lending" → Route to plugin-store aave commands
"Uniswap", "swap", "swap" → Route to plugin-store uniswap commands
"Hyperliquid", "perpetual", "contract" → Route to plugin-store hyperliquid commands
"Ethena", "sUSDe", "staking" → Route to plugin-store ethena commands
"Polymarket", "prediction market" → Route to plugin-store polymarket commands
Mentions a specific dApp platform → Route to the corresponding plugin-store <dapp> commands

Flow A: USDC Smart Rebalancing

Step A1: Ask for chain

USDC 智能调仓支持以下链:

| 链 | Gas 成本 | 说明 |
|----|----------|------|
| Base | 极低 (~$0.01) | 推荐小资金用户 |
| Ethereum | 较高 (~$2-10) | 大资金用户,协议 TVL 更高 |

你想在哪条链上运行?(base / ethereum)

Step A2: Ask for balance / check wallet

After user selects chain:

好的,在 {chain} 上运行 USDC 智能调仓。

请问你在 {chain} 上有多少 USDC 可以投入?
(或者我可以帮你查一下钱包余额)

If user provides wallet address or says "check for me" → use plugin-store portfolio to check balance.

Step A3: Confirm and launch

确认启动参数:

| 参数 | 值 |
|------|---|
| 策略 | USDC 智能调仓 |
| 链 | {chain} |
| 可用资金 | {amount} USDC |
| 检查频率 | 每 60 分钟 |
| 最小利差 | 0.5% |
| 协议覆盖 | Aave V3 + Compound V3 + Morpho |

确认启动?(Y/n)

After confirmation, execute:

plugin-store auto-rebalance start --chain {chain} --interval 60 --min-spread 0.5

Step A4: Post-launch guidance

智能调仓守护进程已启动!

后续操作:
• 查看状态:plugin-store auto-rebalance status
• 停止运行:plugin-store auto-rebalance stop
• 设置 Telegram 通知(推荐):
  export TELEGRAM_BOT_TOKEN=<TOKEN>
  export TELEGRAM_CHAT_ID=<CHAT_ID>
  plugin-store auto-rebalance start --chain {chain}

Flow B: ETH/USDC Grid Trading

Step B1: Confirm chain

ETH/USDC 网格交易目前仅支持 Base 链。

需要准备:
• Base 链上的 ETH(用于交易 + Gas)
• Base 链上的 USDC(用于交易)
• 建议 ETH:USDC 比例约 50:50

你在 Base 上有多少资金可以投入?
(或者我可以帮你查一下钱包余额)

If user provides wallet address or says "check for me" → use plugin-store portfolio to check balance.

Step B2: Market analysis

Before launching, run market analysis:

plugin-store grid analyze

Present results to user:

当前市场状况:

| 指标 | 值 |
|------|---|
| ETH 价格 | ${price} |
| EMA-20 | ${ema} |
| 波动率 | {vol}% |
| 趋势 | {trend} |

{market_comment}

Market comment logic:

  • Volatility > 3%: "Volatility is relatively high, an environment where grid strategies perform well"
  • Volatility < 1%: "Volatility is on the low side, grid returns may be limited"
  • Strong trend: "In a one-sided trend, note that position limits will automatically protect you"

Step B3: Confirm and launch

确认启动参数:

| 参数 | 值 |
|------|---|
| 策略 | ETH/USDC 网格交易 |
| 链 | Base |
| 可用资金 | ~${total_usd} (ETH + USDC) |
| 网格级数 | 6 |
| 执行频率 | 每 60 秒(可通过 plugin-store grid set --key tick_interval_secs 调整) |
| 单笔上限 | 12% 总仓位 |
| 仓位保护 | ETH 占比 35%~65% |

确认启动?(Y/n)

After confirmation, execute:

plugin-store grid start

Step B4: Post-launch guidance

网格交易 Bot 已启动!

后续操作:
• 查看状态:plugin-store grid status
• 查看收益:plugin-store grid report
• 交易记录:plugin-store grid history
• 停止运行:plugin-store grid stop
• 市场分析:plugin-store grid analyze
• 调整参数:plugin-store grid set --key <name> --value <value>
• 查看配置:plugin-store grid config

Flow C: Stablecoin Leverage Loop (Aave Leverage Loop)

Principle

On Aave V3, execute a loop of USDC deposit → borrow USDC → deposit again → borrow again → deposit again, earning the spread between the deposit rate and the borrow rate. USDC throughout, no token price risk.

本金 1000 USDC,LTV 80%,循环 3 轮:

第 1 轮:存入 1000 → 借出 800
第 2 轮:存入 800  → 借出 640
第 3 轮:存入 640  → 借出 512(保留不再循环)

总存款 = 1000 + 800 + 640 = 2440 USDC
总借款 = 800 + 640 + 512 = 1952 USDC (如最后一轮也循环)
       = 800 + 640       = 1440 USDC (如最后一轮不借)
有效杠杆 ≈ 2.44x

净年化 = (总存款 × 存款利率 - 总借款 × 借款利率) / 本金
举例:存款 4%, 借款 3% → (2440×4% - 1440×3%) / 1000 = 5.36%

Step C1: Ask for chain

稳定币杠杆循环支持以下链:

| 链 | Gas 成本 | 说明 |
|----|----------|------|
| Ethereum | ~$2-10/tx | TVL 最高,利率最稳定 |
| Arbitrum | ~$0.1-0.5/tx | 推荐,Gas 低且流动性好 |
| Polygon | ~$0.01/tx | Gas 极低 |
| Base | ~$0.01/tx | Gas 极低 |

推荐 Arbitrum(Gas 低 + 流动性好)。你想在哪条链上执行?

Step C2: Check profitability

After user selects chain, check real-time spread:

plugin-store aave reserve USDC --chain {chain}

Extract supplyAPY and borrowAPY, then validate:

当前 Aave {chain} USDC 利率:

| 指标 | 值 |
|------|---|
| 存款利率 (Supply APY) | {supply_apy}% |
| 借款利率 (Borrow APY) | {borrow_apy}% |
| 利差 | {spread}% |
| 循环 3 轮后预估净年化 | {net_apy}% |

Profitability check:

  • If supply_apy <= borrow_apy: ABORT — "The spread is negative (deposit {supply}% < borrow {borrow}%), so this strategy is not suitable to execute right now. It is recommended to switch to Strategy A (Smart Rebalancing) or wait for rates to return."
  • If spread < 0.5%: WARN — "The spread is only {spread}%, and the estimated annualized yield after leverage is about {net}%, which is on the low side. Continue?"
  • If spread >= 0.5%: PROCEED — "The spread is {spread}%, and the estimated annualized yield after leverage amplification is {net}%, so it can be executed."

Step C3: Ask for amount and confirm

请问投入多少 USDC?(需要你在 {chain} 上已有 USDC)

After user provides amount:

确认执行参数:

| 参数 | 值 |
|------|---|
| 策略 | 稳定币杠杆循环 |
| 链 | {chain} |
| 本金 | {amount} USDC |
| LTV | 80% |
| 循环轮数 | 3(健康因子 > 1.20 时继续) |
| 预估总存款 | ~{amount × 2.44} USDC |
| 预估总借款 | ~{amount × 1.44} USDC |
| 预估净年化 | {net_apy}% |
| 预估月收益 | ~${monthly} |

需要 EVM_PRIVATE_KEY 签署链上交易
确认执行?(Y/n)

Step C4: Execute leverage loops

After user confirms, execute plugin-store aave commands in sequence:

Step 1: 验证利差
──────────────
  plugin-store aave reserve USDC --chain {chain}
  → 确认 supply > borrow,否则中止

Step 2: 首次存入
──────────────
  plugin-store aave supply --asset USDC --amount {principal} --chain {chain}
  → 确认 tx 成功
  → total_supplied = principal

Step 3: 循环(最多 3 轮)
──────────────────────────
  每一轮:

    a) 检查健康因子:
       plugin-store aave account {address} --chain {chain}
       → 如果 health_factor < 1.30,停止循环,报告当前状态

    b) 借出 USDC:
       borrow_amount = 上一轮存入金额 × 0.80
       plugin-store aave borrow --asset USDC --amount {borrow_amount} --chain {chain}
       → total_borrowed += borrow_amount

    c) 再存入:
       plugin-store aave supply --asset USDC --amount {borrow_amount} --chain {chain}
       → total_supplied += borrow_amount

Step 4: 报告最终状态
────────────────────
  plugin-store aave account {address} --chain {chain}

Present final result:

稳定币杠杆循环完成!

| 指标 | 值 |
|------|---|
| 本金 | {principal} USDC |
| 总存款 | {total_supplied} USDC |
| 总借款 | {total_borrowed} USDC |
| 有效杠杆 | {total_supplied / principal}x |
| 健康因子 | {health_factor} |
| 存款利率 | {supply_apy}% |
| 借款利率 | {borrow_apy}% |
| 预估净年化 | {net_apy}% |
| 预估月收益 | ~${monthly} |

后续操作:
• 查看仓位:plugin-store aave account {address} --chain {chain}
• 查看利率变化:plugin-store aave reserve USDC --chain {chain}
• 退出策略(去杠杆):告诉我 "退出策略C" 或 "去杠杆"

Exit Flow (Deleveraging)

When user says "exit Strategy C", "deleverage", "close leverage loop":

Step 1: 查看当前仓位
  plugin-store aave account {address} --chain {chain}

Step 2: 反向循环(逐轮退出)
  每一轮:
    a) plugin-store aave withdraw --asset USDC --amount {该轮借出金额} --chain {chain}
    b) plugin-store aave repay --asset USDC --amount {该轮借出金额} --chain {chain}

Step 3: 最终提取全部
  plugin-store aave withdraw --asset USDC --amount max --chain {chain}

Step 4: 报告
  "已完全退出杠杆循环,取回 {final_amount} USDC"

Monitoring (Strategy Monitoring)

When user asks "Strategy C status", "leverage loop status", "check my loop":

plugin-store aave account {address} --chain {chain}
plugin-store aave reserve USDC --chain {chain}

Present:

| 指标 | 当前值 |
|------|--------|
| 总存款 (USD) | ${total_collateral} |
| 总借款 (USD) | ${total_debt} |
| 健康因子 | {health_factor} |
| 存款利率 | {supply_apy}% |
| 借款利率 | {borrow_apy}% |
| 利差 | {spread}% |
| 预估月净收益 | ~${monthly} |

Alerts:

  • health_factor < 1.30 → "Health factor is on the low side ({hf}), it is recommended to deleverage one round"
  • health_factor < 1.10 → "Liquidation risk! Deleverage immediately"
  • borrow_apy > supply_apy → "The spread has turned negative, it is recommended to exit Strategy C"

Flow D: SOL Gainers Ranking Sniper (Ranking Sniper)

Principle

Monitors the OKX Solana gainers ranking Top 20 in real time. When a new token first appears on the list, it automatically buys after three-level risk control filtering + Momentum Score scoring, and manages positions through a 6-layer exit system. It does not predict which coin will rise, but instead captures the momentum segment after it appears on the list.

Strategy Details

  1. Monitoring: Polls the OKX Solana gainers list Top 20 every 10 seconds
  2. Risk Control Filtering (25 items):
    • Slot Guard: honeypot detection, Top10 concentration ≤80%, Dev holdings ≤50%
    • Advanced Safety: Bundler ≤30%, snipers ≤30%, Dev Rug history ≤20
    • Holder Risk: 13 basic filters + 3 suspicious address scans
  3. Scoring: Smart Money tag +8 points, holding dispersion, low sniper count, and other signals add points; buy after reaching the 0-125 threshold: Smart Money tag +8 points, holding dispersion, low sniper count, and other signals add points; buy after reaching the 0-125 threshold
  4. Exit Mechanism (6-layer priority):
    • Ranking Exit (highest priority) > Hard Stop Loss (-25%) > Fast Stop Loss (5min/-8%)
    • Trailing Stop (+8% activation/12% drawdown) > Time Stop Loss (6h) > Tiered Take Profit (+5%/+15%/+30% in three batches)
  5. Safety Net: The stop engine automatically liquidates all positions, and a daily loss limit of 15% triggers automatic shutdown: The stop engine automatically liquidates all positions, and a daily loss limit of 15% triggers automatic shutdown

Dependent plugin-store commands

CLI Command Purpose
plugin-store ranking-sniper tick Execute a single poll
plugin-store ranking-sniper start Start the daemon
plugin-store ranking-sniper stop Stop running
plugin-store ranking-sniper status View status
plugin-store ranking-sniper report Detailed PnL report

Step D1: Confirm and configure

SOL 涨幅榜狙击 运行在 Solana 链上。

需要准备:
• SOL 钱包私钥(用于签署链上交易)
• 钱包中有足够 SOL(用于交易 + Gas)
• plugin-store 已安装

请问你准备投入多少 SOL?(建议 0.5~2 SOL 起步测试)

Step D2: Launch

After confirmation, guide the user to start Ranking Sniper:

# 查看当前配置
plugin-store ranking-sniper config

# 启动
plugin-store ranking-sniper start

Flow E: SOL Smart Money Copy Trading (Signal Tracker)

Principle

Real-time monitoring of three types of on-chain signals: SmartMoney / KOL / Whale. When multiple smart money wallets buy the same token at the same time, it automatically copy-trades after multi-layer security verification. It does not guess which coin will rise, but follows the smartest money.

Strategy Details

  1. Monitoring: Polls the OKX Signal API every 20 seconds to pull buy signals from three types of wallets: Polls the OKX Signal API every 20 seconds to pull buy signals from three types of wallets
  2. Server-side Pre-filtering: MC ≥ $200K / liquidity ≥ $80K
  3. Client-side Secondary Verification:
    • Holders ≥ 300 / Liq/MC ≥ 5% / Top10 ≤ 50%
    • LP Burn ≥ 80% / Holder density 300/million MC
  4. Dev Zero-Tolerance Check: rug record = 0 / token issuance count ≤ 20 / holdings ≤ 15%
  5. Bundler Manipulation Detection: ATH ≤ 25% / quantity ≤ 5
  6. Tiered Position Sizing (by number of wallets on the same trade):
    • ≥8 wallets = 0.020 SOL
    • ≥5 wallets = 0.015 SOL
    • ≥3 wallets = 0.010 SOL
  7. Exit Mechanism:
    • Cost-aware 3-level take profit (+5%/+15%/+30% net) + Trailing Stop (+12% activation/10% drawdown)
    • Hard stop loss -10% + time-decay stop loss (15min→-10% / 30min→-8% / 60min→-5%)
    • Trend time stop loss (15min K-line reversal) + 4h hard exit
  8. Session Risk Control: 3 consecutive losses pause 10min / cumulative loss 0.05 SOL pause 30min / cumulative 0.10 SOL terminate

Dependent plugin-store commands

CLI Command Purpose
plugin-store signal-tracker tick Execute a single poll
plugin-store signal-tracker start Start the daemon
plugin-store signal-tracker stop Stop running
plugin-store signal-tracker status View status
plugin-store signal-tracker report Detailed PnL report

Step E1: Confirm and configure

SOL 聪明钱跟单 运行在 Solana 链上。

需要准备:
• SOL 钱包私钥
• 钱包中有足够 SOL
• plugin-store 已安装

请问你准备投入多少 SOL?(建议 0.3~1 SOL 起步测试)

Step E2: Launch

After confirmation, guide the user to start Signal Tracker:

# 查看当前配置
plugin-store signal-tracker config

# 启动(推荐先用 dry-run 测试)
plugin-store signal-tracker start --dry-run

# 确认无误后正式启动
plugin-store signal-tracker start

Flow F: SOL Memepump Scanner (Memepump Scanner)

Principle

Scan Pump.fun migrated tokens in real time; after server-side security filtering + client-side pre-classification + Dev/Bundler deep verification, automatically buy after confirming momentum based on triple signal detection (TX acceleration × volume surge × buy pressure dominance). It does not predict which meme will explode, but captures the moment of momentum breakout after security verification.

Strategy details

  1. Monitoring: every 10 seconds call the Trenches tokenList API to fetch migrated tokens
  2. Server-side filtering:
    • MC $80K-$800K / Holders ≥ 50 / Dev ≤ 10% / Bundler ≤ 15%
    • Sniper ≤ 20% / Top10 ≤ 50% / new wallets ≤ 40% / age 4-180min
  3. Client-side pre-classification: B/S ratio ≥ 1.3 / Vol/MC ≥ 5% / Top10 ≤ 55%
  4. Dev zero-tolerance check: rug = 0 / token launches ≤ 20
  5. Bundler detection: ATH ≤ 25% / count ≤ 5
  6. Triple signal detection:
    • Signal A: TX acceleration (current/previous minute ≥ 1.35× or projection ≥ 60/min)
    • Signal B: volume surge (current/5min average ≥ 1.5-2.0×)
    • Signal C: buy pressure dominance (1h B/S ≥ 1.5)
  7. Tiered position sizing:
    • SCALP(A+C)= 0.0375 SOL
    • MINIMUM (A+B+C triple signal resonance) = 0.075 SOL
    • Hot Mode adaptive (in highly active markets lower the A threshold 1.35→1.2)
  8. Exit mechanism:
    • Cost-aware 2-level take-profit (+15%/+25% net)
    • Tiered stop-loss (SCALP -15% / HOT -20% / QUIET -25%)
    • Time stop (SCALP 5min / HOT 8min / QUIET 15min)
    • After TP1 breakeven stop + Trailing -5%, maximum holding 30min

Required plugin-store commands

CLI command Purpose
plugin-store scanner tick Run a single scan
plugin-store scanner start Start daemon
plugin-store scanner stop Stop running
plugin-store scanner status View status
plugin-store scanner report Detailed PnL report
plugin-store scanner analyze Dry-run analysis

Step F1: Confirm and configure

SOL Memepump 扫描 运行在 Solana 链上。

需要准备:
• SOL 钱包私钥
• 钱包中有足够 SOL
• plugin-store 已安装

请问你准备投入多少 SOL?(建议 0.2~0.5 SOL 起步测试)

Step F2: Launch

After confirmation, guide the user to start Memepump Scanner:

# 查看当前配置
plugin-store scanner config

# 先用 analyze 观察
plugin-store scanner analyze

# 启动
plugin-store scanner start

Strategy Comparison (Internal Reference)

Dimension A: USDC smart rebalancing B: ETH/USDC grid C: stablecoin leveraged looping D: gainers list sniping E: smart money copy trading F: Memepump scanning
Supported chains Base, Ethereum Base Ethereum, Arbitrum, Polygon, Base Solana Solana Solana
Trading pair USDC (single coin) ETH/USDC USDC (single coin) SOL/Meme SOL/Meme SOL/Meme
Yield source Cross-protocol spread Grid spread Aave deposit-borrow spread × leverage Gainers list momentum Smart money signals Pump.fun migration momentum
Risk Low Medium-Low Low High High High
Best market conditions Any market conditions Range-bound market Positive deposit-borrow spread Active meme market Smart money active period Pump.fun boom period
Minimum capital ~$500 (ETH) ~$50 ~$100 (Arb) ~0.5 SOL ~0.3 SOL ~0.2 SOL
Required keys EVM_PRIVATE_KEY EVM_PRIVATE_KEY + OKX API EVM_PRIVATE_KEY SOL private key + OKX API SOL private key + OKX API SOL private key + OKX API
Run mode Background daemon Background daemon AI-guided execution Background daemon Background daemon Background daemon
CLI command plugin-store auto-rebalance plugin-store grid plugin-store aave plugin-store ranking-sniper plugin-store signal-tracker plugin-store scanner

Authentication Requirements

Strategy Environment variables Description
A EVM_PRIVATE_KEY Used to sign on-chain transactions
A (optional) TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID Telegram notifications
B EVM_PRIVATE_KEY Used to sign on-chain transactions
B OKX_API_KEY + OKX_SECRET_KEY + OKX_PASSPHRASE OKX DEX aggregator API
B (optional) TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID Telegram notifications
C EVM_PRIVATE_KEY Used to sign Aave supply/borrow transactions
D/E/F SOL_PRIVATE_KEY Solana wallet private key, used for on-chain transactions
D/E/F OKX_API_KEY + OKX_SECRET_KEY + OKX_PASSPHRASE OKX DEX API (quote + swap)

If user hasn't set up keys, guide them:

需要先配置环境变量。在 .env 文件中添加:

# EVM 策略 (A/B/C) — 钱包私钥
EVM_PRIVATE_KEY=0x...

# Solana 策略 (D/E/F) — 钱包私钥
SOL_PRIVATE_KEY=...

# 策略 B/D/E/F 需要 — OKX API
OKX_API_KEY=...
OKX_SECRET_KEY=...
OKX_PASSPHRASE=...

# 可选 — Telegram 通知
TELEGRAM_BOT_TOKEN=...
TELEGRAM_CHAT_ID=...

Edge Cases

Scenario Behavior
User asks for both strategies Guide to run both in separate terminals
User has no USDC Suggest using plugin-store uniswap swap to swap first
User has no ETH on Base Suggest bridging or swapping
EVM_PRIVATE_KEY not set Show setup instructions before launching
User asks about other strategies (funding rate, sUSDe loop) These are not yet built-in — guide user through the steps using individual plugin-store commands (plugin-store aave, plugin-store hyperliquid, plugin-store ethena)
Aave spread is negative (borrow > supply) Strategy C cannot be executed; Strategy A is recommended or wait for rates to revert
Health factor too low Automatically stop during Strategy C looping (HF < 1.30), remind the user to deleverage
User asks about a specific dApp platform Route to the corresponding plugin-store <dapp> command directly
User asks "which platforms/protocols are supported" Show the dApp platform table
User says "which one is better" Use the comparison table; recommend A for conservative, D/E/F for aggressive Meme players
User has very small capital (<$50) Recommend B on Base (low gas) or D/E/F on Solana (small test)
User has large capital (>$10k) Recommend A on Ethereum (higher TVL, deeper liquidity)
User asks about Solana Meme strategy Show D/E/F options, explain each strategy's signal source differs
plugin-store is not installed Guide installation: curl -sSL .../install.sh | sh
SOL_PRIVATE_KEY not set Show setup instructions, warn about the high risk of Meme coins
User asks "which Solana strategy is better" D is the most stable (leaderboard momentum), E is the smartest (copy trading), F is the most aggressive (Pump.fun); small diversified testing is recommended