Web3 APIs
AINative hosts Web3-native APIs for building stake-gated social dApps and autonomous agent payment networks on decentralized infrastructure.
Available APIs
| API | Description | Auth | Status |
|---|---|---|---|
| Sol Mate | Stake-gated social dApp on Solana — DM, match, meet | Wallet-signature JWT | Live |
| Agent402 | Autonomous agent orchestration — swarms, skills, mesh networking | Email/password JWT | Local / Coming Soon |
Neither Sol Mate nor Agent402 currently accept AINative platform API keys (sk_...). Each app has its own auth system. Sol Mate uses Solana wallet challenge-response. Agent402 uses email/password registration.
Looking for ZeroInvoice or ZeroCommerce? Those are Business Ops APIs.
Common Patterns
Stake-Gated Access
All Sol Mate interactions require USDC staked on Solana. This creates economic accountability — no-shows get slashed, good actors earn reputation.
x402 Protocol
Agent402 and Sol Mate both implement the Coinbase x402 protocol — HTTP-native USDC micropayments that require no smart contract deployment. Any endpoint can require payment via a single middleware line:
from solmate_x402 import require_x402_payment
@app.post("/send-dm")
@require_x402_payment(amount_usdc=0.50)
async def send_dm(body: DMBody):
...
Hedera HCS Anchoring
Agent402 and Sol Mate anchor moderation decisions, attestations, and reputation events to Hedera Consensus Service for immutable, verifiable audit logs.
ZeroDB Integration
Both APIs use ZeroDB for:
- 768-dim vector embeddings (BAAI/bge-base-en-v1.5)
- Semantic search and preference matching
- Persistent agent memory
Open Source Packages
pip install solmate-stake-sdk # Stake-gated access control
pip install solmate-reputation # 5-dim reputation engine + HCS anchoring
pip install solmate-x402 # FastAPI x402 USDC payment middleware