#SolSlam Bot on #Solana: a Technical Walk-Through
TG chats often run “buy challenges” to kick-start liquidity for new or slow-moving Solana tokens. Doing that by hand—screen-grabbing swaps, pasting hashes into spreadsheets, arguing over who actually won—doesn’t scale.
SolSlam Bot (@SolSlam_bot) automates the whole flow: it watches the relevant DEX pool, updates a live leaderboard in TG, and releases a prize from a dedicated wallet once the contest rule is satisfied.
1 What SolSlam Bot is (and what it isn’t)
Telegram bot: a TG Bot for creating contests and showing a live leaderboard.Back-end service: parses Solana swap logs, checks contest logic, and signs payouts.Contest wallet: a per-contest hot wallet that holds the prize until settlement.
It is not an exchange, a trading bot, or a custodial wallet for user funds.
2 DEX coverage and data feeds
Pumpfun – WebSocket listener on the program ID (meme-token launches).PumpSwap – Jupiter-style routing logs (post-launch liquidity).Moonshot – GraphQL endpoint (niche early adopters).Raydium – Raydium-SDK swap events (deep liquidity pools).
The back-end polls or streams these feeds every few seconds, filtering by token mint and the contest’s minimum-buy threshold.
3 Supported contest modes
Biggest Buy – prize goes to the single largest swap during the contest window.Last Buy – each qualifying swap resets a countdown; the final buyer when the timer hits zero wins.Raffle Buy – the winner is chosen at random from all qualifying swaps.
Admins may also set a holding period (e.g., “wallet must keep the tokens for ten minutes after the contest ends”) to discourage instant sell-offs.
4 Life-cycle in five steps
Create – admin enters token address, minimum buy, start time, duration, prize amount.Fund – admin pays a one-time 0.25 SOL setup fee and deposits the prize into the contest wallet.Monitor – bot announces each qualifying swap in chat and updates the /contest leaderboard.Settle – after the timer (plus any holding buffer) the bot verifies eligibility on-chain, signs the prize transfer, and posts the Solana TX ID.
5 Economic parameters
Setup fee – 0.25 SOL per contest; covers infrastructure and discourages spam events.Referral rebate – 0.025 SOL paid to whoever shared the /start link that spawned the contest.Gas cost for winner – zero; gas is paid out of the contest wallet so the prize arrives net.
6 Security considerations
Prize custody – each contest uses a separate hot wallet; private key encrypted at rest. Keep prize sizes reasonable.Read-only bot permissions – bot can only sign transfers from the funded wallet; it cannot touch user funds.Front-running – results are based on confirmed swaps, not mempool activity; millisecond-level timing edge cases can still arise in extremely volatile markets.Regulation – designed as a promotional contest rather than a financial instrument, but always check local sweepstakes laws before launching.
7 Recommended settings for common scenarios
Meme-token launch – Biggest Buy, 0.1 SOL minimum buy, 30-minute duration, no holding buffer.Community anniversary – Raffle Buy, 0.05 SOL minimum buy, 24-hour duration, 10-minute holding buffer.Liquidity kick-start – Last Buy, minimum buy pegged to roughly 0.5 % of pool TVL, 60-minute duration.
Pin the rules and the prize-wallet TX link so participants can verify funds are locked.
How the SolSlam Referral System Works
SolSlam includes a built-in referral mechanism so community members can recoup the 0.25 SOL setup fee—or even turn the bot into a minor revenue stream—without using any third-party platform.
11.1 Deep-link generation
The moment a user sends /start, the bot returns a personal deep-link of the form
t.me/SolSlam_Bot?start=ref_ABC123.
That ref_ABC123 payload is stored in the session and travels with every subsequent button tap, including Create Contest.
If a contest is launched within the same chat session, the bot logs the referring code against that contest ID.
11.2 Reward logic
Fixed reward: 0.025 SOL per contest started via any referral link.
Credits accumulate in an internal ledger keyed to the user’s Telegram ID.
Payouts run once daily; the bot batches all credits ≥ 0.1 SOL and pushes a single on-chain transfer to the referee’s wallet (the address is collected the first time they request a withdrawal).
Gas is paid by SolSlam, so the credited 0.1 SOL arrives net.
11.3 Anti-fraud measures
Self-referrals blocked – the bot checks that the Telegram ID behind the deep-link is different from the one creating the contest.
SolSlam Bot shifts contest management from manual spreadsheets to automated, on-chain logic. Admins trade a fixed 0.25 SOL fee for significant time savings; participants gain a trust-minimised payout flow verified by Solana signatures.