Algorand Testnet — test tokens, $0 real-money cost

Run a real Testnet x402 payment

This walks you through a genuine x402 payment on Algorand Testnet using free test tokens. Nothing here is simulated: the HTTP 402, the payment, the GoPlausible verification and settlement, the transaction id and the verification result are all real. Every check below reads the public Algorand indexer live — if something is missing it says exactly what to fix instead of falling back to sample data.

Loading the wallet checks…

After Testnet: the Mainnet checklist

Only start this once a Testnet payment has actually settled and returned a paid result. Mainnet spends real money. The smallest practical qualifying payment is one verification at the configured price ($0.03 USDC) plus a fraction of an ALGO in fees.

  1. 01Set ALGORAND_NETWORK=mainnet. Leave ALGORAND_CAIP2 and USDC_ASSET_ID unset so the Mainnet defaults (USDC asset 31566704) apply. No code changes are needed.
  2. 02Confirm PAY_TO_ADDRESS is an address you control on Mainnet and opt it in to USDC asset 31566704. The status page must show it confirmed on chain.
  3. 03Keep X402_CHALLENGE_TAG=x402-global-challenge and BAZAAR_DISCOVERY=true, or the payment can settle without counting toward the challenge.
  4. 04Publish the site so the endpoint has a public URL, then submit that URL for Bazaar listing.
  5. 05Fund a Mainnet payer wallet with a little ALGO and slightly more than the price in USDC, then run one real verification from the console.
  6. 06Record the settled transaction id in X402_TESTNET_TXID / X402_MAINNET_TXID (and the Bazaar and leaderboard URLs once they exist). Only recorded evidence advances the state on the status page.

Nothing here claims Mainnet qualification. That state only changes once a real Mainnet payment has settled through GoPlausible, the paid response has returned, the USDC has reached the receiving address, and the endpoint appears in the Bazaar and the leaderboard.