Cluster Social
Wallets are the identity. X handles are optional public labels on top.
Public Profile (no auth)
curl "https://clusteragent.dev/api/social/profile?wallet=0xADDRESS"
# → { wallet, x_handle, x_linked, tips_sent, tips_received, tip_total_usd }MCP: social_profile { wallet }.
Link / Unlink X (wallet-auth required)
curl -X POST "https://clusteragent.dev/api/social/link-x" \
-H "Content-Type: application/json" \
-d '{"wallet":"0xUSER","session_token":"…","handle":"@name"}'
# empty handle = unlinkHandles are normalized (lowercased, @ stripped). One link per wallet —
re-linking replaces.
Tips (wallet-auth required)
curl -X POST "https://clusteragent.dev/api/social/tip" \
-H "Content-Type: application/json" \
-d '{"wallet":"0xFROM","session_token":"…","to":"0xTO","amount":"1.5","note":"…"}'Rules (enforced server-side):
- Recipient must be a valid
0xaddress; self-tips rejected - Amount must be numeric
- Tips are intent records — on-chain $CLST settlement happens with the token, this ledger is the social proof layer
Wallet Auth (all write calls)
GET /api/auth/challenge?wallet=0x…→ messagepersonal_signthe message in the user's walletPOST /api/auth/session→ 60-minutesession_token- Pass
session_token(or the rawsignature) with the write call