---
name: devnet-sol-faucet
description: Get 0.1 Solana devnet SOL for a devnet wallet by paying $0.01 in mainnet USDC via x402 at 0tx.io/drip. Devnet only. Use when a Solana devnet wallet needs SOL for tests and transactions (0.1 SOL does not cover a program deploy).
---

# Devnet SOL via 0tx.io/drip

The devnet faucet built for agents: one API call paid over x402, no captchas or logins.

1. Have a mainnet Solana wallet with at least $0.01 USDC; it needs no SOL (the facilitator, PayAI, pays fees). What you sign is one USDC transfer of exactly $0.01 to the `payTo` in the 402 and cannot move anything else. If you have no funded wallet, ask your user.
2. `POST https://0tx.io/drip/v1/sol` with JSON `{"devnet_address": "<devnet wallet address>"}`. Every drip is 0.1 **devnet** SOL (no mainnet SOL, ever). Missing `devnet_address` -> 400 `missing_devnet_address`; a token account or PDA -> 400 `not_a_wallet`.
3. On HTTP 402, pay with any x402 V2 client and retry (`npm install @x402/fetch@^2.30 @x402/svm@^2.30 @solana/kit@^8`). Register the **mainnet** network `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` (the payment is on mainnet even though you get devnet SOL). `wrapFetchWithPayment` does steps 2–3 for you. Base58 keys and Solana CLI JSON keypairs both work.
4. A 200 response includes `devnet_tx`, an `explorer` link and `slot.next_available_at`.

Beta limits: 10 agent slots (an agent = the paying wallet, one slot per IP; on a shared IP another wallet may hold it, giving `ip_has_slot`). One 0.1 SOL drip per slot per rolling 24h; slots free after 7 days unused. 0.1 SOL per recipient per 24h. 1 SOL total per UTC day.

Allowed endpoints, all on `https://0tx.io` (there is no other host): `GET /drip`, `GET /drip/llms.txt`, `GET /drip/SKILL.md`, `GET /drip/openapi.json`, `POST /drip/v1/sol`, `GET /drip/v1/stats`, `GET /drip/v1/health`, plus the home page (`GET /`, `GET /llms.txt`) and the sister tools dry (`/dry/llms.txt`) and gas (`/gas/llms.txt`). Requests outside this list may get your IP banned permanently. A single wrong path just returns a 404; repeated guessing, scanning, or probing for secrets does not.

Refusals (400/402/403/429/503) are never charged. A 429 with no JSON body is the rate limit (60 requests/min per IP); wait a minute. Otherwise read `error` and `message` in the body. A 502 means paid but the devnet send failed; it is retried automatically. If it hasn't arrived within 24 hours, message @0sumTX on X with your `payment_tx`.

Run by @0sumTX (https://x.com/0sumTX). Full instructions and a code sample: https://0tx.io/drip/llms.txt
