Site Open bot

Documentation

Welcome to Tail

Tail is a Solana call tracker and rule-based trading bot for Telegram groups. It credits the first paste of a contract, scores callers on later multiples, and can paper- or live-buy when hit rate clears the bar — funded by creator fees from the Tail pump.fun token.

Tail is not Phanes or Rick. It can sit beside them. Phanes remains the research / leaderboard surface; Tail owns the book, exits, cuts, and fee flywheel.

Add Tail

  1. Open @Tailit_bot and add it to your Telegram supergroup.
  2. Make Tail a group admin (or at least able to read messages). Tracking is per chat.
  3. Paste a Solana mint, a pump.fun link, or a Solana DexScreener link. Tail replies with a scan card and may open a paper buy if the caller qualifies.

Paste intents — put these in the same message as the CA:

  • find entry — no ape yet; watch a Fib golden-pocket retrace from the print (good for ATH / extended).
  • slow cook — no ape yet; wait hours–days for volume to wake, then enter on a dip / coil / Fib pocket.

Optional head start: in a Phanes group run /elb 1mo, download the .xlsx, and have a Tail admin upload that file into the Tail chat. See Phanes import.

Stay safe

Tail will never:

  • Ask for your seed phrase, private keys, or to “connect a wallet” in DMs.
  • DM you first asking for funds. Cuts use a payout address you set via /payout in a private chat with the bot.
  • Guarantee profits. Paper and live books can lose. This is not financial advice.

Live trading only signs with the wallet you configure on the server (WALLET_SECRET). Group members do not deposit into Tail.

Fee flywheel

One loop funds the book and closes on supply:

  1. Launch — Tail token on Pump.fun.
  2. Claim fees — creator trading fees are claimed into the Tail treasury (the bank).
  3. Buy calls — treasury tops up a lean hot wallet just-in-time, then Tail buys mints that clear the gates.
  4. Pay cuts — on winning closes, weighted commissions go to callers (or sit in treasury until they register a payout wallet).
  5. Buyback & burn — surplus after cuts buys Tail and burns it.

Buy size scales with available SOL in the treasury bankroll (treasury + lean hot wallets; see Bankroll sizing). As fee claims raise the balance, sizes can rise within the same risk rules.

Scoring & buys

First scan owns the call

In each chat, the first person to paste a given mint is credited. Later pastes do not steal the call. Multiples are measured from FDV at that first scan to later ATH FDV (updated from DexScreener, Pump, and Stonk quotes).

Cross-group hit rate

By default Tail collates the same Telegram user’s calls across every Tail chat they appear in. The same mint in two groups counts once (earliest FDV, best ATH). Toggle per chat with /set cross on or /set cross off. /me shows how many chats are in the book.

Warm size (anti fake-import)

Phanes Excel can inflate hit rates. Until a caller has organic (live Tail) resolved calls and a warm window has passed (defaults: organicmin 5, warmdays 2), max buy is capped at warmmax (default 0.2 SOL). After that, normal maxbuy applies.

What counts as a hit

A 5× hit means ATH FDV reached 5× the scan FDV — the same idea as Rick-style call boards. Tail also tracks 2× for a secondary qualify path.

Resolved calls

A call is resolved after resolve hours (default 4h), or sooner if it has already done 2×. Fresh losers are not counted against hit rate yet.

Qualify bar (defaults)

  • At least 5 resolved calls in the lookback
  • Lookback: last 40 calls and 21 days
  • Qualify if 5× hit rate ≥ 15% or 2× hit rate ≥ 40%

Token gates

  • FDV inside minfdv–maxfdv (default $6.5K–$2M)
  • Liquidity ≥ minliq only when FDV is above the low-liq band (~$50k). Below that (incl. Jupiter-only microcaps with $0 reported liq) the floor is skipped; bonding curves always skip it
  • Safety: freeze / honeypot checks; LP locked or burned unless still on a known bonding curve (Pump, LaunchLab, Meteora DBC, …)

Size bands

Base buy is buy (default 0.5 SOL). Hit-rate strength scales that up to maxbuy (default 1 SOL): thin / weak / below / base / strong / elite (≈ 0.4× → 1.75×). Grinders (2×-only) stay smaller.

Runner vs grinder

  • Runner — clears the 5× bar → full size path, normal TP / trail
  • Grinder — qualifies on 2× only → half size (grinderSizeScale), banks most near ~2.2×, trails the rest

Whitelist

Usernames in BUY_WHITELIST (env) skip the hit-rate gate and both min/max FDV bands (scuffd-style). Liquidity, safety, pause, and bankroll caps still apply. Whitelist pastes trade the scuff sleeve wallet only (0.5–1 SOL, self-funded, no cuts/buyback).

Exits & risk

Open positions are managed on a fast poll loop. Default exit stack:

  • Stop — 45% drawdown from entry (hard floor), with a soft partial earlier
  • Trail — after ~1.5× from entry, trail ~12% off peak (wider early giveback under 2×)
  • Take-profit ladder — e.g. sell 35% at 1.5×, 30% at 2.5×, 20% at 4×
  • Volume fade — if short-window volume dies vs entry burst after a few minutes
  • Momentum stall — no new peak for N minutes and drawdown from peak (covers the “never made 2×” grind)
  • Max hold — hard time cap (default 48h)
  • Time stop — optional; off by default

Failed live sells are retried; errors post in the chat. Tune with /set trailat 1.5 and /set trail 12.

Bankroll sizing

Ideal size still comes from hit rate / style. Before every buy, Tail caps it to what the bankroll can afford:

size = min(
  ideal,
  maxbuy,
  HARD_MAX_BUY_SOL,
  free SOL after reserve,
  free SOL × bankroll%
)
  • Live — free SOL = treasury + swarm hot wallets, minus open live bags and reserved cut escrow. Treasury holds most capital; hot wallets stay lean and are topped up just-in-time for each fill.
  • Paper — free SOL = PAPER_BANKROLL_SOL minus open paper risk
  • reserve — SOL kept for fees/rent (default 0.05)
  • bankroll — max share of free SOL per trade (default 25%)
  • minbuy — skip if afforded size is below this (default 0.02)

Example at ~5 SOL free with defaults: budget ≈ 1.25 SOL/trade, so base buy 0.5 and elite up to maxbuy 1 fit under the 25% cap. As fee claims raise the treasury, subsequent buys can size up automatically under the same rules.

Milestone alerts

Organic Tail scans (not Phanes-imported rows) post updates when ATH FDV crosses milestones: 3×, 5×, 10×, 15×, 25×, 50×, 100×, … each rung once.

If Tail holds the mint, the alert includes a position line (mode, multiple, PnL, remaining %).

Toggle: /set alerts off or /set alerts on (admins).

Cuts & treasury

On a fully closed winning position, Tail splits realized profit:

  • 20% caller cuts (weighted toward earliest / lowest-FDV credits)
  • 50% buyback & burn sleeve
  • 30% stays in treasury / bankroll for stability and growth

Tunable per chat with /set cut 20 and /set buyback 50.

  • DM the bot: /payout <sol-address> to register or update your wallet (tied to Telegram user id + @username).
  • No wallet yet → cut is held on the cut treasury (TREASURY_WALLET, else trading pubkey) until you register; /payout releases held rows.
  • Group: /cuts · Admins: /treasury

Ledger statuses: paper / paper_held / owed / held. On-chain auto-pay is not required for tracking; held balances stay auditable until payout plumbing is enabled.

Cluster buys & re-scan

Cluster window

When a mint is bought, other groups have a short window (default 90s) to add size if they also qualify — 2nd chat adds add2 (default 40%), each further chat adds add3 (default 20%), capped by maxtrade (default 1 SOL) and the hard max.

Re-scan

Pastes of an already-known mint can open a new entry after rebuy cooldowns (win / loss / fib timers) if FDV has dipped enough vs the first scan, unless the caller is whitelisted (cooldown only). Live positions remain one open mint across chats.

Phanes import

Phanes has no public API for other bots. To seed history:

  1. In the Phanes group: /elb 1mo (or similar period).
  2. Download the Excel export.
  3. A Tail admin uploads the .xlsx into the Tail chat.

The Calls sheet is stored for that chat. Rows attach to a Telegram user when their username matches and they next speak. Import can widen lookback to 31 days. Organic pastes also build the book without any import.

Commands

CommandWhat it does
/start /helpShort help
/x /scan /zScan a CA / link. /z is the short card
/meYour hit rate in this chat
/gaRecent calls. Also /ga 7d, /ga all, /ga me
/gpGroup points from multiples
/lbTail leaderboard for the chat (/lb me personal)
/positionsOpen positions and recent closes
/rulesActive buy / sell / bankroll rules
/set <key> <value>Change a rule (admins)
/pause /resumeStop or restart auto-buys; scans still count
/mode paper /mode liveFill mode (admins; live needs env + wallet)
/close <symbol|ca>Force-sell an open position (admins)
/walletTrading pubkey + SOL balance when configured
/cutsCommission board for the chat
/treasuryHeld cut escrow summary (admins)
/payoutDM only — set / update / clear cut wallet

Pasting a mint without a command also triggers a scan.

Rules (/set)

Percents are whole numbers: /set sl 45 = 45% stop. Take-profit: /set tp 2:40,4:30 or /set tp off.

KeyDefaultMeaning
buy0.5Base buy size (SOL)
maxbuy1Max size from hit-rate scaling
minliq4000Min liquidity USD above low-FDV band
minfdv / maxfdv6.5k / 2MFDV band
mincalls5Resolved calls required
hit5 / hit215 / 40Hit-rate bars (%)
lookback / days40 / 21Call window
resolve4Hours until a call resolves
sl45Stop loss %
tp1.5:35,2.5:30,4:20Take-profit ladder
trail / trailat12 / 1.5Trail drawdown % / activate multiple
timestop / timestopmin0 / 1.2Optional time stop
maxhold48Max hold hours
maxpos10Max open positions per chat
slip4000Slippage bps
window / add2 / add3 / maxtrade90 / 40 / 20 / 1Cluster window, add %, cap
volfade …30 / 3 / 50Volume-fade ratio, delay, sell %
stall …3 / 12 / 50Stall minutes, drawdown %, sell %
cut / buyback20 / 50Caller cut % / buyback-burn % of win
alertsonon / off
reserve / bankroll / minbuy0.05 / 25 / 0.02Bankroll sizing
warmmax / bookprobesize0.2 / 0.08Warm / probe caps while book builds

HARD_MAX_BUY_SOL in the environment hard-caps buy / maxbuy / maxtrade (default 2 SOL).

Live trading

Paper is default. Live requires server env:

WALLET_SECRET=…
LIVE_TRADING=true
JUPITER_API_KEY=…
SOLANA_RPC_URL=…
TREASURY_WALLET=…    # bankroll + fee claims (JIT-funds hot wallets)
TAIL_MINT=…          # pump.fun mint for fee-share distribute
FEE_CLAIM_MS=300000  # auto-claim interval (0 = off)

Then an admin runs /mode live. Buys prefer pump bonding curve when still on-curve, else Jupiter (PumpSwap / Raydium / etc.). Sells follow the same fallback.

Creator fees: admins run /claim, or the fee loop claims on an interval into the treasury via the pump SDK so bankroll sizing can grow.

Token CA: ELXWi2EhoYbk1MuunPP1K4Fjov9AgQh6t1MQcptApump · also shown on the site header / footer.

Public book

The Tail site shows a masked public book: open positions, callers, groups, journal, scorecard, and the fee-flywheel animation. Names are partially blocked. Source is public on GitLab.

Not financial advice. Judge the book yourself.

FAQ

Is Tail a Phanes or Rick clone?

No. Same problem space (Telegram calls), different product: Tail auto-trades by rules and runs a fee → cut → burn loop. Phanes/Rick stay for research and pure leaderboards.

Why doesn’t Tail read Phanes /lb automatically?

Phanes blocks other bots. Export /elb Excel and upload it, or let organic pastes warm the book.

Do I need a payout wallet?

Only to receive cuts. Without one, your share is held in the cut treasury until you DM /payout.

Can Tail lose money?

Yes. Stops, stalls, and rugs happen. Paper mode is for proving the rules before live size.

What chains?

Solana only for now. Non-Solana pastes are ignored.