Skip to content

plagtech/spraay-direct-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💧 Spraay Direct — Instant USDC Payouts for GPU Operators

Stop waiting 2 weeks for PayPal. Get paid in USDC every time a job completes.

Spraay Direct connects your GPU to AI agents who pay in USDC on Base the moment inference completes. No platform fees. No 2-week payout cycles. No gift cards. Just instant money in your wallet.

License: MIT Base USDC x402


Why Spraay Direct?

Vast.ai RunPod Salad Spraay Direct
Payout timing Every 2 weeks Platform credits Gift card balance Every job (~2 sec)
Payout method PayPal / Wise RunPod credits Gift cards / crypto USDC on Base
Platform fee 15-25% Credit-based Variable $0.03/job flat
Split payouts ✅ N wallets, 1 tx
Minimum payout Threshold N/A Varies None
Tax records PayPal 1099 None None On-chain (Basescan)
Currency USD (fiat) Credits Gift cards USDC (stablecoin)

How It Works

AI Agent → pays USDC via x402 → Spraay Gateway → routes job to your GPU → USDC in your wallet (2 sec)
  1. You run an inference engine (vLLM, Ollama, or ComfyUI) on your GPU
  2. The Spraay Direct proxy connects your GPU to the Spraay gateway
  3. AI agents discover your GPU and pay USDC per job via the x402 protocol
  4. Your GPU runs inference, returns the result
  5. USDC is already in your wallet. Settled on Base. Instant.

Quick Start

# Set up your GPU
npx spraay-direct init

# Start receiving jobs and earning USDC
npx spraay-direct start

# Check your earnings
npx spraay-direct earnings

# Configure split payouts (partners, savings, taxes)
npx spraay-direct splits

# Check GPU and proxy status
npx spraay-direct status

Supported Inference Engines

  • vLLM — OpenAI-compatible LLM serving (Llama, Mistral, Qwen, Phi, Gemma, and more)
  • Ollama — Simple local model serving with one-command setup
  • ComfyUI — Node-based image and video generation (Stable Diffusion, FLUX, SDXL)

Batch Payout Splits

Split every payout across multiple wallets in a single on-chain transaction using Spraay's batch payment contract on Base.

npx spraay-direct splits
# → 70% to operating wallet
# → 20% to savings wallet
# → 10% to partner wallet

Use cases:

  • Partners — auto-split 60/40 with your co-op partner
  • Tax reserve — set aside 25% to a separate wallet for taxes
  • Savings — auto-route 20% to a cold wallet
  • Reinvestment — direct 10% to a DeFi yield position

Every split is a single batch transaction on Base. One tx hash, multiple recipients, verifiable on Basescan.

Requirements

  • GPU with 16GB+ VRAM (RTX 4090, RTX 3090, RTX 5070 Ti, RTX 5090, etc.)
  • Inference engine running (vLLM, Ollama, or ComfyUI)
  • Base wallet for receiving USDC (MetaMask, Coinbase Wallet, Rabby, etc.)
  • Public endpoint for your proxy (ngrok, Cloudflare Tunnel, or port forwarding)
  • Node.js 18+

Architecture

┌──────────────────────────────────┐
│  Spraay Gateway (cloud)          │
│  gateway.spraay.app              │
│                                  │
│  x402 payment verification       │
│  USDC settlement via CDP         │
│  Operator routing                │
└──────────────┬───────────────────┘
               │
               ▼
┌──────────────────────────────────┐
│  Spraay Direct Proxy (your box)  │
│  Lightweight Express server      │
│                                  │
│  Receives paid jobs              │
│  Routes to your inference engine │
│  Tracks earnings + splits        │
└──────────────┬───────────────────┘
               │
               ▼
┌──────────────────────────────────┐
│  Your GPU                        │
│  vLLM / Ollama / ComfyUI        │
│  RTX 4090, RTX 5090, etc.       │
└──────────────────────────────────┘

Contracts

Contract Address Network
Spraay Batch 0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC Base
USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 Base

Keywords

gpu payout gpu operator income gpu mining payout ai inference earnings usdc gpu settlement vast.ai alternative payout runpod alternative salad alternative gpu compute earnings instant crypto payout base usdc settlement x402 gpu ai compute operator gpu rig income 2026 rtx 4090 earnings rtx 5090 earnings gpu hosting payout decentralized gpu compute gpu rental payout usdc batch payments gpu ai agent payments crypto gpu earnings gpu farm payout

Links

Contributing

PRs welcome. If you want to add a new inference engine adapter, check src/providers/engines.ts for the pattern.

License

MIT — built by @plagtech


💧 Spraay Direct is part of the Spraay ecosystem — batch payments infrastructure for AI agents on Base.

About

Instant USDC payouts for GPU operators. Connect your RTX 4090/5090 to Spraay and get paid in USDC on Base every time a job completes. No 2-week wait. No PayPal. No platform fees. Supports vLLM, Ollama, ComfyUI. Batch split payouts to multiple wallets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors