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.
// x402 - API Monetizationapp.use(x402({ price: "0.001", token: "USDC" })) // Agent Kit - DeFi Integrationconst agent = new MNTAgentKit(key, "mainnet")await agent.agniSwap(tokenIn, tokenOut, amount)await agent.lendleSupply(token, amount)Payments + DeFi in minutes.
Scroll to explore
Features
/ Two powerful SDKs
x402 API Monetization
Payment middleware
DeFi Agent Kit
Protocol integrations
Observatory Dashboard
Real-time analytics
Multi-Protocol Support
DEXs & Aggregators
Use Cases
/ Build anything on Mantle
AI Agent Payments
Let AI agents pay for APIs with x402. Autonomous transactions for LLM inference and data access.
DEX Trading Bots
Build trading bots with Agent Kit. Swap on Agni, Merchant Moe, or aggregate via 1inch and OKX.
Paid Data APIs
Monetize market data, on-chain analytics, or proprietary datasets with per-query pricing.
Yield Automation
Auto-compound yields on Lendle. Supply, borrow, and rebalance positions programmatically.
Premium Content
Micropayments for articles, research, and analysis. No subscriptions, just pay per piece.
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.
Pricing
/ Open source. Free forever.
Open Source
- Full x402 & Agent Kit access
- All protocol integrations
- Local Observatory dashboard
- Testnet support
- Community support
Observatory Cloud
- Hosted analytics dashboard
- 30-day data retention
- Payment & DeFi alerts
- Team access
- Priority support
Enterprise
- 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.