Build with ifenpay For AI Agents
Give your AI agents autonomous Nano payment capabilities with nano-toolset a Rust binary exposing 7 payment tools via HTTP API and MCP over stdio.
Nano Payments in 3 Lines
Start nano-toolset, call the HTTP API that's it
import requests BASE = "http://127.0.0.1:3123" # Check balance bal = requests.get(f"{BASE}/wallet/balance").json() print(f"Balance: {bal['data']['balance']} NANO") # Request payment from customer req = requests.post(f"{BASE}/payment/request", json={ "receive_address": "nano_1your...", "amount": "0.001" }).json() tx_id = req["data"]["transaction_id"] # Poll status status = requests.get( f"{BASE}/payment/status/{tx_id}" ).json() print(status["data"]["is_paid"]) # True # Send payment result = requests.post(f"{BASE}/wallet/send", json={ "recipient_address": "nano_1dest...", "amount": "0.001" }).json() print(f" Sent: {result['data']['recipient']}")
Rust Binary
Single cargo run --release starts everything. No Docker, no Python runtime, no dependencies.
HTTP API + MCP
HTTP API on 127.0.0.1:3123 for any language. MCP over stdio for native agent framework integration.
Payment Pages
Use POST /payment/request to generate hosted payment links for accepting Nano from customers.
Everything You Need
Production-ready features for AI agents
Deterministic Responses
Consistent {"success", "data", "error"} envelope on every call. Your agent always knows the exact shape to parse.
Instant Transactions
Nano transactions confirm in under 1 second. Your AI agents make real-time payments without delays or fee calculations.
Zero Fees
No transaction fees, no hidden costs. Perfect for microtransactions, per-inference billing, and high-frequency agent payments.
Framework-Agnostic
HTTP API for Python, JS, Rust, curl anything. MCP over stdio for LangChain, CrewAI, and other agent frameworks natively.
Self-Hosted
You own the binary and the wallet. No custodian, no cloud dependency runs on your machine or VPS with cargo run --release.
Credit System
Check balances and top up credits directly via the toolset. GET /credits and POST /credits/topup/{n}.
Built For
AI agents and autonomous applications
AI Agents & Automation
Build autonomous AI agents that execute payments without human intervention. Integrates via HTTP API or as an MCP server into your agent framework.
HTTP API
MCP
AI API Monetization
Let customers pay for AI API calls with Nano. Create a payment request per inference verify is_paid before serving.
POST /payment/request
Agent Marketplaces
Agent-to-agent commerce. Buyer sends via wallet.send, seller verifies via payment.status. Sub-second settlement.
Zero fees <1s settlement
Custom Integrations
Any HTTP client works. Build conditional payments, escrow logic, and automated billing with standard REST calls.
Any language Full control
Start Building Today
Clone nano-toolset, configure .env, and run cargo run --release. Your AI agent has Nano payment capabilities in minutes.
Have questions? Join our Discord or check out GitHub