PrimeV

docs.primev.xyz
Finance & Banking

Primev is building mev-commit, a credible commitment network for mev actors.

llms.txt

Primev Documentation

Complete technical documentation for mev-commit, Fast Protocol, FAST RPC, and Fastx402 — Ethereum infrastructure for preconfirmations, instant swaps, and agentic payments.

Primev builds core infrastructure for Ethereum's mev supply chain. The mev-commit protocol enables peer-to-peer preconfirmation commitments between bidders and block builders, providing sub-second transaction guarantees on Ethereum mainnet.

Products

  • FAST RPC: Drop-in Ethereum JSON-RPC replacement at https://fastrpc.mev-commit.xyz. Transactions sent through FAST RPC receive binding preconfirmation commitments from block builders. Supports all standard eth_ methods plus custom mevcommit_ methods.
  • Fast Protocol: Order flow auction (OFA) on top of mev-commit. Users receive at least 90% of mev their transactions generate. Redistributed as Fast Miles (tokenizable points).
  • Fast Swaps: Token swap interface on Ethereum mainnet. Gasless ERC-20 swaps via EIP-712 signed intents through Permit2. Supports 2,400+ tokens. Settlement via FastSettlement V3 contract on L1.
  • Fastx402: x402 payment facilitator for AI agents. USDC payments via EIP-3009 transferWithAuthorization. Sub-second settlement through FAST RPC. Zero fees. Endpoint: https://facilitator.primev.xyz.

FAST RPC API

Endpoint: https://fastrpc.mev-commit.xyz

Standard Ethereum JSON-RPC methods are supported. Key overridden methods:

  • eth_sendRawTransaction — Sources preconfirmations on mev-commit chain. Transaction is enqueued privately (not sent to public mempool). Returns transaction hash.
  • eth_getTransactionReceipt — Returns receipt early if enough preconfirmations obtained for mev-commit opted-in slots. Block hash set to tx hash for preconfirmed transactions.
  • eth_getTransactionCount — Returns mempool count + queued transactions in private pool.
  • eth_maxPriorityFeePerGas — Always returns 0 (priority fee should be 0 for FAST RPC users).
  • eth_getBlockByHash — For preconfirmed tx hashes, returns a fictitious block containing only that transaction.

Additional FAST RPC methods:

  • mevcommit_getTransactionCommitments — Takes tx hash, returns array of commitments received on mev-commit network (provider addresses, signatures, decay timestamps).
  • mevcommit_getBalance — Takes account address, returns available deposit balance for that address.
  • mevcommit_optInBlock — Returns time in seconds until the next block with a mev-commit opted-in validator.
  • mevcommit_cancelTransaction — Takes tx hash, cancels commitment attempts. No cost.
  • mevcommit_estimateDeposit — Returns estimated deposit cost and EOA wallet address for funding.
  • mevcommit_estimateBridge — Returns estimated bridging cost and destination address for instant L1-to-mev-commit-chain bridging.

Fastx402 API

Endpoint: https://facilitator.primev.xyz

  • GET /supported — Returns supported payment kinds, extensions, and signer addresses. Response: {"kinds":[{"x402Version":2,"scheme":"exact","network":"eip155:1"}],"extensions":["bazaar"],"signers":{"eip155:*":["0x488d87a9A88a6A878B3E7cf0bEece8984af9518D"]}}
  • POST /settle — Verify and settle a USDC payment on-chain via FAST RPC. Body: {"paymentPayload":{"x402Version":2,"scheme":"exact","network":"eip155:1","payload":{"signature":"0x...","authorization":{"from":"0x...","to":"0x...","value":"1000000","validAfter":"0","validBefore":"...","nonce":"0x..."}}},"paymentRequirements":{"scheme":"exact","network":"eip155:1","amount":"1000000","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","payTo":"0x...","maxTimeoutSeconds":60}}
  • POST /verify — Validate a payment signature without settling (dry run). Same body as /settle.
  • GET /health — Health check.

USDC contract: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (Ethereum mainnet, 6 decimals). Relay wallet: 0x488d87a9A88a6A878B3E7cf0bEece8984af9518D (submits transferWithAuthorization on-chain). ERC-8004 Agent ID: 23175.

Fast Swaps Contracts

  • FastSettlement V3 Proxy: 0x084C0EC7f5C0585195c1c713ED9f06272F48cB45 (Ethereum L1)
  • Permit2: 0x000000000022D473030F116dDEE9F6B43aC78BA3 (Uniswap canonical)

ERC-20 swap flow: User signs EIP-712 PermitWitnessTransferFrom with Intent witness (user, inputToken, outputToken, inputAmt, userAmtOut, recipient, deadline, nonce). FAST RPC calls executeWithPermit on FastSettlement. ETH swap flow: User calls executeWithETH directly.

EIP-712 signing domain: {"name":"Permit2","chainId":1,"verifyingContract":"0x000000000022D473030F116dDEE9F6B43aC78BA3"}

mev-commit Protocol

Concepts

  • Preconfirmation: A binding commitment from a block builder to include a transaction. Providers stake ETH and are slashed if they break commitments.
  • Bidders: Submit bids for transaction inclusion with a specified bid amount and block number.
  • Providers: Block builders who stake ETH and issue commitments on bids. Rewarded for honoring commitments, slashed for breaking them.
  • Oracle: Resolves commitments by checking on-chain inclusion after blocks are built.
  • mev-commit chain: Dedicated PoA chain (Chain ID: 57173) for bid/commitment settlement. RPC: https://chainrpc.mev-commit.xyz.

Network Details

  • mev-commit chain RPC: https://chainrpc.mev-commit.xyz (Chain ID: 57173)
  • mev-commit chain WebSocket: wss://chainrpc-wss.mev-commit.xyz
  • Bootnode: https://bootnode.mev-commit.xyz
  • Block explorer: https://mev-commit.xyz
  • Testnet chain RPC: https://chainrpc.testnet.mev-commit.xyz (Chain ID: 17864)

Validator Opt-In

Validators can opt in via three methods:

  1. EigenLayer restaking — Native restaking through MevCommitAVS contract
  2. Symbiotic restaking — ERC20 vault staking through MevCommitMiddleware contract
  3. Vanilla staking — Direct ETH staking through VanillaRegistry contract

Opted-in validators earn ~20x higher mev capture on FAST RPC flows vs non-opted-in.

AI Agent Integration

Install the Claude Code plugin: claude plugin add primev/claude-plugin

This provides:

  • 3 skills: mev-commit (preconfirmed transactions), fast-protocol (gasless swaps), x402 (USDC payments)
  • 2 MCP servers: primev-fastrpc (11 tools) + primev-docs (docs search)
  • 12 MCP tools: eth_blockNumber, eth_getBalance, eth_gasPrice, eth_getTransactionReceipt, eth_sendRawTransaction, eth_call, eth_chainId, x402_supported, x402_verify, mevcommit_getTransactionCommitments, mevcommit_optInBlock, search_docs

No API keys required. All endpoints are public.

Source Code

Documentation Sections

Optional

Related

Buy & Sell Bitcoin, Ethereum, and more with trust.

/llms.txt
11,449 tokens
Finance & Banking

Automate transactions like real-time eligibility checks and claims processing with developer-friendly, JSON-based APIs that support thousands of payers.

/llms.txt
10,781 tokens
/llms-full.txt
556,715 tokens
Finance & Banking

Dynamic offers a suite of tools for effortless log in, wallet creation and user management. Designed for users. Built for developers.

/llms.txt
33,665 tokens
/llms-full.txt
509,840 tokens
Finance & Banking

Mesh enables safer, easier crypto transfers and payments from 300+ leading exchanges and wallets, all without leaving your platform

/llms.txt
5,568 tokens
/llms-full.txt
72,391 tokens
Finance & Banking

Earn revenue today without delaying your roadmap. Payment processing for SaaS by SaaS.

/llms.txt
1,219 tokens
/llms-full.txt
4,085 tokens
Finance & Banking

FlowX.AI is redefining banking modernization with the first-ever unified, open, AI platform built to free banks from restrictive point solutions.

/llms.txt
33,479 tokens
/llms-full.txt
1,058,554 tokens
Finance & Banking

Markets, illuminated — World's largest provider of trading indicators for every market from stocks, crypto, and forex.

/llms.txt
3,405 tokens
/llms-full.txt
192,887 tokens
Finance & Banking

Solid's platform enables banks & companies to offer embedded banking, payments, and card products, in a safe, secure & compliant way.

/llms.txt
6,151 tokens
Finance & Banking