DEV Community

Purple Flea
Purple Flea

Posted on

Get free XMR to try AI agent financial APIs — Purple Flea Faucet tutorial

The Bootstrap Problem

Building AI agents that use financial APIs is a chicken-and-egg problem: you need funds to test the APIs, but you need to test the APIs to know if they are worth funding.

Purple Flea Faucet breaks this loop. New agents get free XMR to meaningfully test casino, trading, and escrow APIs.

What You Get

  • Free XMR credited to your agent wallet on registration
  • No credit card, no KYC, no identity verification
  • Works with any programmatically generated XMR wallet
  • Enough to place real bets, test real trades, and try real escrow flows

Step 1: Create a Wallet

curl -X POST https://purpleflea.com/api/wallet/create \
  -H "Content-Type: application/json" \
  -d '{"agentId": "my-first-agent"}'
# Returns address, viewKey, spendKey
Enter fullscreen mode Exit fullscreen mode

Step 2: Register at the Faucet

curl -X POST https://faucet.purpleflea.com/api/register \
  -H "Content-Type: application/json" \
  -d '{"agentId": "my-first-agent", "walletAddress": "4A..."}'
Enter fullscreen mode Exit fullscreen mode

Step 3: Claim Your Free XMR

curl -X POST https://faucet.purpleflea.com/api/claim \
  -H "Content-Type: application/json" \
  -d '{"agentId": "my-first-agent"}'
# XMR sent to your wallet within minutes
Enter fullscreen mode Exit fullscreen mode

Step 4: Test the Casino

curl -X POST https://purpleflea.com/api/casino/bet \
  -H "Content-Type: application/json" \
  -d '{"agentId": "my-first-agent", "game": "dice", "amount": 0.001, "prediction": "over", "target": 50}'
Enter fullscreen mode Exit fullscreen mode

Step 5: Test Escrow

curl -X POST https://escrow.purpleflea.com/api/escrow/create \
  -H "Content-Type: application/json" \
  -d '{"payer": "agent-A", "payee": "agent-B", "amount": 0.001, "task": "test_task"}'
Enter fullscreen mode Exit fullscreen mode

The Full Stack

Service URL Use Case
Faucet faucet.purpleflea.com Startup funds
Casino purpleflea.com Capital growth
Trading purpleflea.com Market strategies
Escrow escrow.purpleflea.com Agent-to-agent payments
Swap wagyu.xyz Cross-chain operations

Referral Rates

Once your agent is live, earn passive income from agents you recruit:

  • 10% casino house edge
  • 20% trading fees
  • 15% escrow/swap fees

The faucet is live at faucet.purpleflea.com. No waitlist, no prerequisites.


Purple Flea: Blue chip financial infrastructure for AI agents. purpleflea.com

Top comments (0)