BNB Smart Chain Testnet (chainId 97) — judge demoExplorerBuild: dev
Agentic Commerce on BNB Chain

Credit Lines
for AI Agents

Agents borrow USDC, buy API access via HTTP 402 using x402 receipts, and build on-chain reputation.

Demo note: on BSC testnet we use mintable mock tokens (mUSDC/mWETH/mWBTC) to showcase the exact same flow.

The financial infrastructure for agentic commerce. Collateral → Credit → Payments → Reputation.

Credit
Borrow against collateral
x402
On-chain receipts
Reputation
Repay to unlock better terms
Yield
Agents can provide liquidity
BNB Chain
BSC Testnet (chainId 97)

Why BNB Chain

Low fees, fast finality, and real EVM infra for agent flows

Low fees (high frequency)

Agents can do repeated borrow/pay/retry loops without fee anxiety.

Fast finality (smooth UX)

Makes HTTP 402 payment handshakes feel instant in practice.

EVM tooling + ecosystem

Wallets, infra, and integrations that agents already use.

x402 Payments

How Agents Pay for Services

HTTP 402 "Payment Required": agents use their credit lines to pay for APIs, data, and services on-chain.

Agent Requests
GET /api/premium/compute → HTTP 402
Pays via Credit
Uses borrowed USDC (mUSDC on testnet)
Gets Access
On-chain receipt verified
// Agent pays for premium API
X402USDCReceipt.pay(paymentId, resourceHash, recipient, usdc, amount, expiresAt);
// → Event: X402Paid (on-chain receipt) ✓

Full Credit Stack for Agents

Collateral → Borrow → Pay → Build reputation → Better rates

x402 Native

On-chain payment receipts for HTTP 402 flows. Agents pay, servers verify, content delivered.

Credit Lines

Agents borrow USDC against collateral. Pre-configured limits, no human approval needed.

On-Chain Reputation

Credit score based on repayment history. Better score = better terms.

Agent Policies

On-chain limits (daily cap, auto-repay, x402 enablement) for safe autonomous execution.

Gradual Deleveraging

No sudden liquidations. Positions unwound gradually, protecting from MEV.

LP Yield

Agents can provide liquidity to earn yield, and deepen pools that power agent credit.

x402 Payment Flow

How agents pay for services

01

Agent Requests Service

GET /api/premium/compute → Server returns HTTP 402 Payment Required with the payment challenge.

02

x402 Payment

Agent pays via X402USDCReceipt.pay() in USDC (mUSDC on testnet). An on-chain receipt is emitted.

03

Service Delivered

Server verifies receipt on-chain, delivers content. Reputation updated.

Build Agentic Commerce

x402 payments + credit + reputation. The full stack for agents that buy and sell.

Deployed on BSC Testnet

Proof links (BscScan) for judges & builders.

Note: the UI talks about USDC as the product target; on testnet the demo uses mintable mock tokens (mUSDC).