Built for Mantle Network

Payments and DeFi
with a Few Lines of Code

The first complete developer toolkit for Mantle. Accept payments on any API with x402. Swap, lend, stake, and bridge with Agent Kit. Ship in minutes.

server.ts
1// x402 - API Monetization
2app.use(x402({ price: "0.001", token: "USDC" }))
3
4// Agent Kit - DeFi Integration
5const agent = new MNTAgentKit(key, "mainnet")
6await agent.agniSwap(tokenIn, tokenOut, amount)
7await agent.lendleSupply(token, amount)

Payments + DeFi in minutes.

Scroll to explore

Features

/ Two powerful SDKs

01

x402 API Monetization

Payment middleware

Hono & Express
02

DeFi Agent Kit

Protocol integrations

Swaps, Lending, Cross-chain
03

Observatory Dashboard

Real-time analytics

Revenue tracking
04

Multi-Protocol Support

DEXs & Aggregators

Agni, 1inch, OKX, Lendle

Use Cases

/ Build anything on Mantle

01

AI Agent Payments

Let AI agents pay for APIs with x402. Autonomous transactions for LLM inference and data access.

02

DEX Trading Bots

Build trading bots with Agent Kit. Swap on Agni, Merchant Moe, or aggregate via 1inch and OKX.

03

Paid Data APIs

Monetize market data, on-chain analytics, or proprietary datasets with per-query pricing.

04

Yield Automation

Auto-compound yields on Lendle. Supply, borrow, and rebalance positions programmatically.

05

Premium Content

Micropayments for articles, research, and analysis. No subscriptions, just pay per piece.

06

Cross-Chain Ops

Bridge assets via Squid Router. Execute cross-chain swaps with a single function call.

Built for Mantle.
Optimized for
developers

Ultra-low gas fees under $0.001 make micropayments profitable and DeFi operations cheap. Build without worrying about transaction costs.

Fast finality means transactions confirm in seconds. Instant payments and real-time DeFi operations.

Full Ethereum compatibility. Same tools, same wallets, same security — with native TypeScript SDKs.

2
Powerful SDKs
x402 + Agent Kit
9+
Protocol Integrations
DEXs, Lending, Cross-chain
5+
Supported Tokens
MNT, USDC, mETH, WMNT
< $0.001
Gas Cost
Per transaction

Pricing

/ Open source. Free forever.

Open Source

$0/month
  • Full x402 & Agent Kit access
  • All protocol integrations
  • Local Observatory dashboard
  • Testnet support
  • Community support

Observatory Cloud

$29/monthComing Soon
  • Hosted analytics dashboard
  • 30-day data retention
  • Payment & DeFi alerts
  • Team access
  • Priority support

Enterprise

CustomComing Soon
  • Unlimited retention
  • Custom protocol integrations
  • SLA guarantee
  • Dedicated support
  • On-premise option

FAQ

/ Common questions

Mantle DevKit is a complete developer toolkit containing two SDKs: x402-mantle-sdk for API monetization with HTTP 402 payments, and mantle-agent-kit-sdk for DeFi protocol integrations including swaps, lending, and cross-chain operations.

x402 is an open protocol that enables HTTP-native payments. When a client requests a paid resource, the server returns HTTP 402 with payment requirements. The client pays and retries. Simple, stateless, and works with any HTTP client.

Agent Kit integrates with DEX aggregators (OKX, 1inch, OpenOcean), native DEXs (Agni Finance, Merchant Moe, Uniswap V3), Lendle for lending, mETH for liquid staking, and Squid Router for cross-chain operations.

Any EVM-compatible wallet works. Both SDKs use Viem for blockchain interactions. x402 provides React payment modals, while Agent Kit works with private keys for server-side operations.

For x402, use the mock facilitator locally. For Agent Kit, deploy to Mantle Sepolia testnet (chain ID 5003) for testing swaps, lending, and other DeFi operations.

On Mantle: MNT, USDC, USDT, mETH, and WMNT. Both SDKs handle token detection and operations automatically. Agent Kit also supports any token listed on integrated DEXs.

Absolutely. Agent Kit is designed for programmatic DeFi operations. Combine it with x402 to let your AI agents both pay for and monetize APIs while executing DeFi strategies.

Yes. Both SDKs are production-ready. x402 handles payment flows reliably, and Agent Kit integrates with verified, production contracts on Mantle mainnet.