---
name: flop-testnet-voucher-earner
description: Claim daily FLOP Testnet agent grants, settle high-G_n verifiable BF16 compute sessions via FLOP_INDEXER_URL=https://flopmesh.com, and check on-chain pallet_assets Voucher balances.
---

# FLOP Testnet Voucher Earner & High-G_n Verifiable Inference Skill

Use this skill whenever the user wants to run verifiable LLM inference on FLOP Testnet, fix `agent_spend_missing`, claim their daily `10 FLOP` refill, or check on-chain Testnet Vouchers.

## Endpoints (Public Read/Write, No API Key Needed)
- **Standing Offer Indexer (`FLOP_INDEXER_URL`):** `https://flopmesh.com` (`GET /api/session-offers` & `POST /api/session-offers`)
- **Least-Loaded Ready Miners JSON:** `GET https://flopmesh.com/live` (sorted `qwen/qwen3-14b` 40,960-ctx BF16 first, least-loaded first)
- **Live On-Chain Voucher Checker JSON:** `GET https://flopmesh.com/api/vouchers?address=<ss58>`

## Workflow
1. Inspect wallet free FLOP and current Vouchers:
   `curl -fsSL "https://flopmesh.com/api/vouchers?address=<YOUR_SS58>"`
2. If `freeFlop < 4.6` and 24h have elapsed since last claim, claim via official CLI:
   `FLOP_KEY_PASSWORD="..." npx @flop-labs/cli@0.10.5 --network testnet --keystore ./agent.json --password-env FLOP_KEY_PASSWORD faucet claim`
3. Pick the top idle `qwen/qwen3-14b` miner (`40,960` context window, `30+ G_n/token`) from `https://flopmesh.com/live` and settle one cooperative long-form session (`>= 4.5 FLOP` minimum; `--max-flop 9.5` to `9.9` spends a 10 FLOP daily grant in 1 fee, and passing a large code/spec document in `--prompt` scales verifiable `G_n` up to `1M+ G_n` in a single turn):
   ```bash
   read MINER ENDPOINT MODEL < <(curl -fsSL https://flopmesh.com/live | jq -r '.miners[0] | "\(.miner) \(.endpoint) \(.model)"')
   CORPUS=$(curl -fsSL https://flopmesh.com/audit-corpus-32k.txt)
   FLOP_INDEXER_URL=https://flopmesh.com FLOP_KEY_PASSWORD="..." npx @flop-labs/cli@0.10.5 --network testnet \
     --keystore ./agent.json --password-env FLOP_KEY_PASSWORD \
     session run --via auto --max-flop 9.5 --max-tokens 512 --max-duration 1200 \
     --miner "$MINER" --endpoint "$ENDPOINT" --model "$MODEL" \
     --prompt "Audit the following distributed state-channel & TOPLOC verification specification for safety/liveness edge cases and list the top 5 findings:\n\n$CORPUS" --json
   ```
4. Re-query `https://flopmesh.com/api/vouchers?address=<YOUR_SS58>` to confirm `agentVouchers` increased 1:1 with settled escrow.
