# Validate an On-Chain DEX Trading Bot (TP, SL, Honeypots)

> Prove an on-chain signal trader works before it trades real size: tests on recorded prices, a chain-built ticker registry, a honeypot and blacklist token guard, and a tiny live matrix where every exit type fires on a real pool.

Validate an On-Chain DEX Trading Bot (TP, SL, Honeypots) is a paid AI agent skill on Agensi by Claude Workflow Lab, in Web3 & Crypto. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $6 (one-time purchase)
- Creator: [Claude Workflow Lab](https://www.agensi.io/creators/creator-1578)
- Category: [Web3 & Crypto](https://www.agensi.io/skills/web3-crypto)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/validate-an-on-chain-dex-trading-bot-tp-sl-honeypots
- Tags: web3, trading, testing, dex, uniswap-v4, honeypot, token-guard, live-test

## What it does

- Proves take profit, stop loss, trailing and time stop each fire on chain
- Guards against honeypot and blacklisting tokens before every buy
- Runs a tiny-size live matrix on a throwaway box and tears it down safely
- Runs a live test matrix with tiny trades on a temporary cloud server to prove it works
- Verifies that the bot can recover its positions after a crash or restart
- Cleans up all temporary cloud servers and volumes to prevent extra costs

## Who it's for

- **Crypto founders building trading bots:** Prove your trading logic works on-chain without risking your main capital. Try: "Validate the signal trader on a throwaway cloud box."
- **Quant traders moving to DEX pools:** Test how your exits handle real pool prices and prevent buying scam tokens. Try: "Run a live matrix test for take profit and stop loss on a real token."
- **Developers building on Uniswap-v4 style pools:** Build a reliable pool registry from chain logs and verify swap math. Try: "Build the ticker to pool registry from the chain logs."

## About this skill

An on-chain bot can pass its unit tests and still buy a honeypot, never sell, or lose its positions on restart. This skill is the validation routine that proves each layer, then all of them together on chain.

**What is inside (one SKILL.md)**
- Tests to have: exits replayed on recorded pool prices, ticker clashes refused, calldata decoded back, signing vectors, nonce handling on every kind of reply.
- The ticker-to-pool registry: built from pool `Initialize` logs, kept current, refused when stale; RPC log limits; the Arbitrum Orbit block-number trap.
- A token guard: blacklist code, untraceable delegatecalls and zero-amount transfer probes against a control address, paced for public RPCs, with its honest blind spot.
- A live matrix on a throwaway box with tiny size: injected signals, one alias per exit type, pool-liveness checks before each round, restart proof, receipts verified from another machine, gas reservation and sweep back.
- Remote-ops traps that cost hours: `pkill -f` killing your own ssh, hanging ssh starts, ANSI-coloured log fields, silent loggers.
- Teardown by run tag and key pair, so you never terminate someone else's machine.

**Who it is for:** developers of DEX trading bots on EVM chains.

**Needs:** your bot, a cloud account and a few dollars of native coin. Production size is your decision; the skill keeps tests tiny.

## Requires

Your own on-chain trading bot for Uniswap-v4-style pools (any language). A cloud account for a throwaway test box, and SSH. A funder wallet with a small amount of the chain's native coin. Your own on-chain trading bot for Uniswap-v4-style pools (any language). A cloud account for a throwaway test……

## Known limitations

This does not check for buy/sell taxes that only trigger on non-zero amounts. Use a small take profit on slow pools to ensure tests finish.

## Technical details

Built for Uniswap-v4 style pools on EVM chains like Arbitrum. Uses eth_getLogs for registry building and Multicall3/ArbSys for block numbering. Requires a cloud provider CLI for throwaway box provisioning (tagged instances/volumes). Handles swap calldata decoding, receipt parsing, and structured log stripping (ANSI). Uses setsid/nohup for remote process management and SIGTERM for restart resilience testing.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Validate an On-Chain DEX Trading Bot (TP, SL, Honeypots) skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Why should I use this to test my trading bot instead of just turning it on?

This skill helps you prove that a trading bot is ready for the live market. It tests if the bot can correctly find trading pools, avoid scam tokens, and successfully execute different exit types like stop losses and take profits using real chain data in a safe way.

### What do I get once the testing process is finished?

The skill generates a full validation report showing that every exit type worked correctly on the blockchain. It also confirms that the bot successfully identified and avoided bad tokens, and that all cloud resources used for testing were cleaned up to avoid extra costs.

### What information do I need to give my agent to start the validation?

You need to provide your chain details, RPC endpoints (which are the connections to the blockchain), and the addresses for your pool manager and native tokens. You will also need to provide the specific commands your trader uses for things like checking tokens and moving funds.

### Are there any types of scams or trading issues this skill cannot detect?

The skill does not check for special taxes or trading limits that only apply when trading non-zero amounts. It also refuses to buy a token if its name is used by multiple tokens on the chain or if it uses certain hidden functions like blacklists.

### How do I tell my agent to start the testing process?

To begin, you can ask your agent to "validate the signal trader" or "run the live TP SL trailing matrix." You can also ask specific questions like "why didn't it buy this token" or "why didn't it sell" to get a detailed breakdown of the bot's logic.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
