---
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 drip.0tx.io. Devnet only. Use when a Solana devnet wallet needs funding for tests or deploys.
---

# Devnet SOL via drip.0tx.io

1. Have a mainnet Solana wallet with at least $0.01 USDC (no SOL needed; the facilitator pays fees).
2. `POST https://drip.0tx.io/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 (`npm install @x402/fetch @x402/svm @solana/kit`, scheme `exact`, network `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`) and retry. `wrapFetchWithPayment` does steps 2–3 for you.
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). 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.

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.

Full instructions and a code sample: https://drip.0tx.io/llms.txt
