By nhevers
Trade tokens, manage Uniswap V3 liquidity positions, check balances, prices, transactions, yield, and bridge quotes on Robinhood Chain using the r0x facilitator, and pay for capabilities in USDG via x402 directly from Claude Code.
The official SDK, Claude Code / MCP plugin, and facilitator docs for r0x, the USDG-native operating system for AI agents, built on Robinhood Chain.
r0x runs the official x402 facilitator for Robinhood Chain. AI agents can use it right now: discover a priced capability, authorize a USDG payment, and invoke it, all in one uninterrupted call. No API keys, no subscriptions, no human approving anything in between.
Live site: projectr0x.dev · Facilitator docs: docs/facilitator.md · Skill reference: docs/skills.md
src/client): a TypeScript client (R0xClient) that handles the
x402 challenge/sign/retry cycle automatically. Published as r0x-os on npm.src/plugin): exposes the full skill catalog
as MCP tools, plus local wallet setup and a spend-limit guard.integrations/virtuals-game): a GAME SDK
worker that gives any Virtuals agent the same skill catalog as fifteen
callable functions, with optional auto-broadcast of trades and transfers.docs/): how the facilitator works and the full skill reference.examples/): a minimal, dependency-light reference client.npm install r0x-os
import { R0xClient } from 'r0x-os';
const client = new R0xClient({ privateKey: process.env.R0X_PRIVATE_KEY });
// $0.01 USDG per call, settled automatically
const { data } = await client.price('ETH');
console.log(data.priceUSD);
const balance = await client.balance('0x...');
console.log(balance.data.balances);
See docs/skills.md for every method the client exposes.
/plugin marketplace add nhevers/project-r0x
/plugin install r0x-os
Or add it directly as an MCP server:
claude mcp add r0x -- npx r0x-os
No private key is needed upfront, the agent calls r0x_setup on first use to
either import an existing wallet or generate a fresh one. After that, eighteen
tools are available: r0x_setup, balance, tx, price, wallet, chat,
send, fund, broadcast, spend_limit, trade, quote, pool,
liquidity_add, liquidity_remove, liquidity_positions, yield, and
bridge. trade, quote, pool, and liquidity_* all accept any ERC20
token on Robinhood Chain, not just ETH and USDG — there's no allowlist.
Any agent built on the Virtuals GAME SDK can plug straight into r0x. See integrations/virtuals-game for a worker exposing the full skill catalog as GAME functions, with optional auto-broadcast of trades, transfers, and liquidity transactions.
git clone https://github.com/nhevers/project-r0x.git
cd project-r0x
npm install
npm run build # compiles src/ -> dist/
npm run example:tx # runs the reference test-transaction script
Read docs/facilitator.md for the full protocol walk-through,
or jump straight to examples/test-transaction.js
for a working ~80-line client.
MIT, see LICENSE.
Admin access level
Server config contains admin-level keywords
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub nhevers/project-r0x --plugin r0x-osPersistent memory system for Claude Code - seamlessly preserve context across sessions
On-chain AI skills via x402 micropayments on Base
The Web3 toolkit for Claude Code. AI-powered (ChainGPT chat / NFT / Solidity generator + auditor / crypto news / Solidity LLM) PLUS broad Web3: multi-chain wallet portfolios, token research, risk scanning, on-chain analytics, AI-enriched intel, MAINNET contract deployment with mandatory audit gate, MAINNET DEX trading (OpenOcean + 1inch v6 + CoW Protocol + Jupiter), MAINNET DeFi (Aave V3 + Lido + EigenLayer + Pendle + Morpho), MAINNET perps (Hyperliquid + Drift Solana), MAINNET Polymarket prediction-market data, MAINNET cross-chain bridging via Across Protocol v3, and multi-protocol portfolio snapshot. 45+ audited Solidity patterns + zero-credit mock server + daily live-API smoke CI. Custody-free.
Zerion skills and slash commands for AI coding agents — wallet analysis, swaps/bridges, chain reference, agent-token policies.
Bankr SDK integration for AI-assisted Web3 development with multi-chain DeFi and x402 micropayments
Claude Code bridge for the existing AgentLayer wallet runtime. Connects to Solana, Bitcoin, and EVM wallets without creating a new one.
Blockchain data and infrastructure via Alchemy — EVM/Solana RPC, NFT API, token prices, portfolio, transfers, webhooks. Supports API key and agentic gateway (x402/MPP) auth flows.