x402 Hackathon

Credit Lines
for AI Agents

Agents borrow USDC, pay for services via x402, and build on-chain reputation.

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

x402
Native Payments
7
Contracts
0
Gas Fees
0.09%
Flash Fee
BNB Chain
Base Sepolia

Why BNB Chain

Instant finality, gas-light UX, EVM compatibility

Gas-light UX

Users focus on actions, not gas. Perfect for autonomous agents.

Fast finality

Low latency for credit decisions and automated strategies.

EVM compatible

Seamless integration with existing tooling and wallets.

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/data → HTTP 402
Pays via Credit
Uses borrowed USDC
Gets Access
On-chain receipt verified
// Agent pays for premium API
x402Receipt.record(paymentId, payer, recipient, amount);
// → Event: X402Paid ✓

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.

Flash Loans

Zero-collateral loans for arbitrage. 0.09% fee, same-transaction repayment.

Gradual Deleveraging

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

LP Yield

Provide liquidity, earn yield. Simple vault mechanics for automated strategies.

x402 Payment Flow

How agents pay for services

01

Agent Requests Service

GET /api/premium-data → Server returns HTTP 402 Payment Required with price.

02

x402 Payment

Agent calls x402Receipt.record() with payment details. On-chain proof created.

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.