Telegram Bot Crypto Payments End-to-End Testing

    by Claude Workflow Lab

    1

    Prove a Telegram bot's deposits and withdrawals work before real users pay: TON/TRON testnets, BSC and Solana local copies, crypto-payment bots in testnet mode, and a real Stars test payment watched in the database.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    What it does

    • Proves each deposit is credited exactly once and rescans credit nothing
    • Tests TON and TRON on testnets, BSC and Solana on local chain copies
    • Watches a real Telegram Stars test payment land in your database
    • Runs tests on local copies of BSC and Solana to avoid faucet limits
    • Generates real Telegram Stars test invoice links and watches for the payment
    • Reports success only when database rows match the expected money flow

    Who it's for

    Founders building Telegram Mini Apps

    Ensure your bot handles money correctly before you invite real users.

    Try asking: “Test the TON deposits and withdrawals for my bot.”

    QA testers for crypto projects

    Automate the boring parts of testing payments across different chains.

    Try asking: “Run the payment harness for BSC on a local fork.”

    Developers launching Telegram Stars payments

    Verify that Stars payments are reaching your database without manual checking.

    Try asking: “Give me a Stars payment link and watch the database for the result.”

    Telegram Bot Crypto Payments End-to-End Testing

    Example session with this skill installed

    Test our TRON USDT deposits and a withdrawal end to end on testnet, then give me a Stars test link and tell me when the payment lands.

    • Read your context and instructions
    • Compiled the telegram bot crypto

    Example on a fictional setup.

    Testnet, TRON: started the app with the testnet environment and the signer service. Faucet: the Nile faucet showed a captcha; I notified you once, you solved it, 2,000 test USDT and 5,000 TRX arrived in a throwaway player wallet (paying from our own hot wallet would be ignored by the watcher).
    Harness: RESULT ok. Deposit of 25 USDT credited once (balance +25.00), two further scans credited nothing, a withdrawal of 10 USDT is in the review queue with no payment created; I rejected it.

    Stars: built the invoice link on the server with the bot's own code (10 Stars, token not printed). Watcher started in the background before sending: payments table every 15 s and the service log, 6-hour timeout. Link sent with one line on what you will see.
    At 21:47 the log showed successful_payment; the payments row is direction in, status done, amount matches, your balance rose by exactly that, a rescan added nothing. Watcher stopped.
    Not tested: TON deposits (the testnet indexer returned an empty list), proven later with a small mainnet amount.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Payment bugs in a Telegram bot cost real money: a deposit credited twice, a watcher that never sees a transfer, a withdrawal that pays out by itself. This skill is the end-to-end routine that catches them.

    What is inside (one SKILL.md)

    • Rules that hold in every test: withdrawals stop in a manual review queue and are never paid by code; wallets and signer mnemonics are never regenerated or overwritten; the dev machine uses test money only.
    • A testnet run: faucets driven in a visible browser (you only type captchas), then a harness check per network: credited exactly once, two rescans credit nothing, withdrawal waits in the queue.
    • Local chain copies for networks whose faucets are closed: an anvil fork of BSC with real stablecoin contracts and a Solana test validator, with the pitfalls (pruned RPCs, fresh-fork players, wrong remembered program ids).
    • A real Telegram Stars test payment: an invoice link built on the server, a background watcher on the payments table started before the link is sent, and an exact done rule.
    • Known false failures (empty indexer answers, watchers ignoring your own hot wallet, activation fees) so you do not chase ghosts.

    Who it is for: developers of Telegram bots and Mini Apps that take crypto or Stars.

    Needs: your bot's code and a harness that can deposit and scan. The skill never sends money to users.

    Does not automate captchas or passcodes. Some TON testnet indexers might fail; use small mainnet amounts for those tests instead.

    This skill uses a test harness to interact with TON, TRON, BSC (via Anvil forks), and Solana (via solana-test-validator). It requires access to a local app environment, database, and signer service. It uses Telegram's create_invoice_link for Stars and monitors the database and service logs for pre_checkout and successful_payment events. Secrets must be managed via a local file or password manager as the skill enforces fixed wallet custody.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    A Telegram bot
    orMini App with crypto
    orStars payments

    Your own test harness that can deposit and scan per network. anvil (Foundry) and solana-test-validator for local chain copies. Your own test harness that can deposit and scan per network. anvil (Foundry) and solana-test-validator for local chain copies.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Browser
    Network Access
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    This skill proves that your Telegram bot or Mini App correctly handles money. It verifies that deposits are credited only one time, that rescanning a transaction doesn't add extra funds, and that withdrawals are held for human approval instead of being sent automatically.

    You need a test environment for your bot or a local copy of the blockchain. You also need a database where the skill can watch payment rows and a secrets file on your server to store keys safely away from your code.

    You get a verified report showing a pass or fail result based on actual database checks. For Telegram Stars, you get a specific test payment link and a report confirming the funds landed in your system and updated the user balance.

    The skill works with the TON, TRON, BSC, and Solana blockchains, as well as Telegram Stars. It can use real testnets with faucets or run local copies of chains like BSC and Solana if public faucets are unavailable.

    This skill refuses to work on mainnet networks to avoid spending real money by mistake. It also requires a person to manually type in any captchas or passcodes that appear during the faucet process.

    You can ask your agent to test the payments, verify if a specific deposit was credited, or generate a Stars payment link. You can also tell it to run an end to end test on a specific testnet like TON or TRON.

    New in Testing & Debugging

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.