hackquest logo

Nefarious

Nefarious is the AI-agent-ready data and trading layer for Robinhood Chain. We run our own Nitro node and a real-time Rust indexer that decodes every trade on the chain, from Uniswap V2/V3/V4 pools to Pools.Trade and Pons bonding curves. Through a public MCP server, any AI agent (Claude, Cursor or a custom agent) can plug into Robinhood Chain in one line, with no API key. It can search tokens, read prices, candles, liquidity, holders, trending tokens and fresh launches, then quote and execute swaps. Every quote is checked by simulating it from the user's own wallet, and our servers never hold keys: the agent or the user signs, and we relay. Swaps are paid in USDG, Robinhood Chain's dollar, and users don't need ETH to trade: they sign a USDG authorization and we cover the gas, charging only its cost in USDG. The same data and swap APIs are open to developers building wallets, bots and dashboards. Nefarious turns Robinhood Chain into a market that agents can read and trade on their own.

Video

Công nghệ sử dụng

Rust
Solidity

Sự miêu tả

Free for everyone. All of Nefarious (data API, swap API, MCP server) is free to use, with no API fees and no swap fees. We plan to earn revenue through MEV-related mechanisms, such as capturing backrun opportunities created by the order flow we route, never at the expense of our users: no sandwiching, and no worse prices than the quote they signed.

The problem

Robinhood Chain moves fast: 100 ms blocks, thousands of new tokens launched every day, liquidity spread across Uniswap V2/V3/V4, Pools.Trade and Pons bonding curves. For an AI agent or a developer, there is no single place to read this market in real time and trade on it. Public RPCs are rate-limited, launchpad curves are invisible to standard DEX aggregators, and every user needs ETH for gas before making a first trade.

What Nefarious does

Nefarious is the AI-agent-ready data and trading layer for Robinhood Chain.

  • MCP server for AI agents: one URL (https://api.nefariouslabs.dev/mcp), no API key. Any MCP client (Claude, Cursor or a custom agent) gets 12 tools to search tokens, read prices, candles, liquidity, holders, trades, trending tokens and fresh launches, then quote, send and track swaps.

  • Market data API: real-time prices, OHLC candles, liquidity, holders, trades, trending tokens and new launches across all launchpads, live over REST and WebSocket.

  • Swap API: best route across Uniswap V2/V3/V4 (direct or through ETH/USDG), Pools.Trade pools, and tokens still on their Pons bonding curve. Every quote is checked by simulating the real transaction from the user's own wallet, so the amount shown is what the user receives. The API returns an unsigned transaction: our servers never hold keys. The agent or the user signs, and we can relay it through our node.

  • Trading without ETH, paid in USDG: a new user holding only USDG can trade right away. They sign one USDG authorization, we cover the gas and can top their wallet up with a little ETH, and they are charged only the gas cost, in USDG. No markup.

How it works

We run a real-time indexer written in Rust that decodes every trade, launch and liquidity change as blocks arrive, backed by a full history since genesis. Quotes are computed on in-memory pool state and confirmed by simulation on our node, so routes stay fast and accurate even on pools that changed a block ago.

Why it matters

AI agents are becoming a new kind of on-chain user. Nefarious gives them, and the developers building wallets, bots and dashboards, one reliable door to read and trade the whole chain, including launchpad tokens that other tools miss. USDG is at the center of the trading experience: it is enough to start trading on Robinhood Chain, with no need to bridge ETH first.

Status and next steps

Live in production: API, MCP server and gasless USDG swaps are running on Robinhood Chain mainnet, with a first real gasless swap completed by a wallet that started with 0 ETH. Our stack is chain-agnostic by design: next, we want to bring the same agent-ready layer to other chains, starting with Arbitrum One and other Arbitrum Orbit chains, so that any AI agent can read and trade across the Arbitrum ecosystem through a single API and MCP endpoint. Website: https://nefariouslabs.dev

A note on maturity

Everything described here was built during the buildathon sprint. It runs in production and has been proven on mainnet, but making it fully robust will take more development: hardening the infrastructure and the relayer, an external security audit, broader test coverage on live traffic, and better monitoring. That is the work we want to do next, alongside the multi-chain expansion.

Tiến độ hackathon

During the buildathon we built Nefarious from the ground up and took it to production on Robinhood Chain mainnet. Infrastructure: we run our own Robinhood Chain node (modified) and wrote a real-time indexer in Rust. It decodes every trade, token launch and liquidity change as blocks arrive, across Uniswap V2/V3/V4, Pools.Trade, Pons, Ekubo, PancakeSwap, Trader Joe and dozens of launchpads. We rebuilt the full trade history from genesis into ClickHouse and fixed data quality issues along the way, such as fake round-trip volume, missing launchpad sources and unresolved pools. Market data: a public API and WebSocket feed with real-time prices, OHLC candles, liquidity, holders, trades, trending tokens and new launches tracked from creation to graduation, with token metadata and logos. To showcase this data, we built a trading terminal at nefariouslabs.dev: live token feeds, new launches, trending tokens, charts, trades and holders, all served by our own API. Trading: a swap API that finds the best route across Uniswap V2/V3/V4, Pools.Trade pools and tokens still on their Pons bonding curve. It checks every quote by simulating the real transaction from the user's wallet, returns an unsigned transaction, then relays the signed one through our node and tracks it until inclusion. AI agents: a public MCP server with 12 tools and no API key, so that any AI agent can search tokens, read market data, quote, send and track swaps on Robinhood Chain. USDG: trading without ETH, paid in USDG. We wrote and deployed a contract on mainnet, verified on Sourcify and tested with Foundry unit and fork tests, Slither and Medusa fuzzing. We also run a relayer that pays the gas, and we proved the whole flow on mainnet: a fresh wallet holding 0 ETH completed a real swap without sending a single transaction itself.

Trạng thái huy động vốn

Bootstrapped: no outside funding raised to date. Nefarious has been built and run entirely by the founding team, from our own Robinhood Chain node and indexer to the MCP server, the swap API and gasless USDG swaps, all live on mainnet today. We are not raising a priced round at this stage. We are applying for an ecosystem grant to keep the infrastructure running, scale it as agent traffic grows, and expand beyond Robinhood Chain. Our stack is chain-agnostic by design, and our goal is to bring the same agent-ready data and trading layer to other chains, starting with Arbitrum One and other Arbitrum Orbit chains, behind a single API and MCP endpoint. The grant would fund: • Multi-chain expansion: nodes, indexers and swap routing on new chains, unified under one API and one MCP server. • Infrastructure: dedicated node and indexer capacity, redundancy, and a second API region for lower latency. We want to host everything on AWS. • Security: an external audit of our on-chain components before opening gasless USDG swaps to high volume. • Coverage: routing across more Robinhood Chain venues and launchpads, and multi-hop routes into bonding-curve tokens. • Adoption: SDKs, documentation and integrations so that AI agents, wallets and bots can trade in USDG with a single call. We are open to strategic partners and investors aligned with the Robinhood Chain and Arbitrum ecosystems.
Trưởng nhóm
YYassine Smara
Liên kết dự án
Ngành
AIInfraDeFi