AiFinPay gives any AI agent a wallet so it can pay — and get paid — for services on-chain. Built on the open x402 protocol and the AIFP standards, it enables autonomous machine-to-machine commerce with per-call settlement across multiple blockchains.
- Pay-per-call — agents settle each invocation exactly, no subscriptions, no pre-funding.
- Non-custodial — payments flow directly wallet-to-wallet; no intermediary holds funds.
- Multi-chain — Polygon, Solana, Avalanche, Casper, Stellar (and growing).
- Agent-first — MCP server + SDK so any agent framework can plug in minutes.
| Repo | Description |
|---|---|
| AIFP-1 | Open protocol for AI-native payments, paywalls, agent identity, and autonomous M2M commerce. |
| AIFP-4 | Open organization / corporation protocol. |
| Repo | Chain | Language | Highlights |
|---|---|---|---|
| evm-contract | Polygon | Solidity | AiFinPayCore v1.1 with Pyth Pull Oracle. |
| aifinpay-avalanche | Avalanche C-Chain | Solidity | Live & verified on mainnet (43114). Per-call settlement via Pyth + on-chain splitter. |
| solana-contract | Solana | Rust | Anchor program — Seat PDAs, b2b_pay, b2b_pay_with_split. Live on mainnet. |
| casper-contract | Casper | Rust | x402 protocol settled on Casper. Live testnet contract + bridge + MCP server. |
| Repo | Description |
|---|---|
| sdk | TypeScript SDK for embedding AiFinPay into agents and services. |
| aifinpay-cli | Agent-first CLI (Go). Pay-per-call x402 + on-chain settlement; wraps @aifinpay/mcp. |
| aifinpay-agent-integration | Official integration guide — give any AI agent a wallet (MCP + SDK). |
| stellar-x402-facilitator | Open-source x402 facilitator & Bazaar discovery layer for Stellar. |
- docs — AiFinPay developer documentation (Mintlify).
Settlement contracts deployed across 12 mainnet networks (+Casper as a 13th deploy):
Polygon |
Solana |
Avalanche |
Arbitrum |
BNB Chain |
Base |
Unichain |
Optimism |
BOT Chain |
XRPL EVM |
NEAR |
Aptos |
Live state varies per chain — see the network source-of-truth for the per-layer status matrix.
Install the package(s) you need and give your agent a funded wallet:
# MCP server — plug any agent framework into AiFinPay
npm install @aifinpay/mcp
# Opinionated agent runtime (optional)
npm install @aifinpay/agents
# Or scaffold a full integration
npx @aifinpay/cli initThen point your agent at the MCP server and give it a funded wallet. See the integration guide for details.
Building the rails for autonomous machine-to-machine commerce.
