FLOP Testnet Agent — docs hub

Raw Markdown: runbook.md — fetch it with curl -s https://flop-testnet-agent.pages.dev/runbook.md

FLOP Testnet Agent Runbook

Testnet launches Tue 2026-11-24 07:00 UTC (12:30 IST). Source: official @flop_labs post 2026-11-23 08:07 UTC. Setup pages + explorer go out at launch; no links were published before launch. Any mint/claim site before that is a scam — the token does not exist yet.

New — 2026-11-26 ~01:30 IST: verified inference status + operators source + honest spend-all framing

Verified inference status (re-checked live 2026-11-26 ~01:30 IST, by trying it — not from memory). The testnet gateway gateway.testnet.flop.network is STILL DEAD: DNS resolves (198.18.154.156) but the origin returns nothing (HTTP 000, multiple attempts). The devnet API api.flop.network is LIVE (network "devnet", /health ok) and the saved devnet key is valid (quota 100) — BUT a real inference call just now (POST /v1/chat/completions, qwen/qwen2.5-0.5b-instruct, "Say OK", max_tokens 5) TIMED OUT after 90 s (HTTP 000): no miner is serving. Quota only moved 100 → 99.999993 (a 0.000007 reservation, settled_spend null — the same as 2026-11-25). The model IS listed in /v1/models (backend vllm), but FLOP's own docs say "A listing does not establish Testnet mining or settlement." test-01 verified on the testnet RPC: free 0.010767229415 FLOP, nonce 78 (head block 0xf0d3f7e0…; the 2 spend txs from ~01:21 IST are confirmed: remark_with_event block 110832, burn block 110848). Activation block: FLOP docs FAQ (docs.flop.network/docs/testnet-and-timeline) says verbatim: "Earning begins at the publicly announced finalized activation block of a future tested runtime upgrade. There is no announced block or date yet. Earlier activity earns zero, with no backfill."

Daily-check sources — a third one added. Check these three every day: @flop_labs on X, docs.flop.network, and now docs.flop.network/operators (the operator hub). The operators page confirms: network "devnet (development)", release "next (unreleased)"; "Public operator enrollment is unavailable until the network identity and release are verified"; and "Six founding validators opened the unscored Testnet." It is the page that confirms the testnet is still unscored and that public operator enrollment is not open yet.

Honest framing of the on-chain spend-all — read this before you think the transactions earn. The on-chain transactions (remarks, burns, batches, tips, fees) do NOT count toward the airdrop and earn zero. Only settled inference spend counts. The spend-all is run because the user ordered the faucet FLOP spent rather than held, and as a mechanism test (it proves the wallet, the chain, and the scripts work) — but it is NOT earning. Do not present the transactions as earning, and do not expect them to. When the activation block is announced AND the testnet gateway works AND a miner is online, the routine switches from on-chain transactions to real inference jobs — a genuine job every day, paid through the gateway, with the receipt and the explorer checked to confirm the spend sits on our address. Until then the spend-all is keeping the system warm, not earning.

New — 2026-11-26: randomised daily spend-all + single daily claim (08:35 IST)

Randomised daily spend-all. testnet_spend_all.py was rewritten 2026-11-26 ~00:30 IST and is now the daily spend (not a one-off). After the claim, run it once — it spends ~all the 10 FLOP in one run. Fully randomised per run so no two agents look the same even though the logic is identical: tx count random 40–50; kinds shuffled (each kind at least twice, rest random); spend per tx a random 0.5x–1.6x multiple of the fair share (one tx 0.1 FLOP, the next 0.4 FLOP; last tx mops up); large-remark payload random 2–8 KB; batch size random 2–6 inner calls; delay between txs random 2–15 s; payload text random per tx. Same logic for every agent, different fee/order/count every run. It still self-corrects to the 0.05 FLOP reserve. Takes --label (default flop-devnet-test-01) so ANY agent can use it with their own wallet; also --store / --pw / --reserve-flop / --min-txs / --max-txs. The 2026-11-25 run (45 txs, ~0.216 FLOP each) used the OLD fixed version — its uniform fees are NOT how it works now.

Single daily claim at 08:35 IST (change 2026-11-26 08:22 IST). The daily routine is now ONE faucet claim attempt per day at 08:35 IST (test-01). After the attempt, if the claim funded the wallet, run the spend-all; if the claim failed (cooldown / faucet empty), do nothing and wait for the next day's 08:35 run — there is no second or third chance that day. Each agent picks their OWN single daily time (test-01 uses 08:35 IST); do NOT copy another agent's time. This replaces the 3-attempt schedule (07:19, 14:27, 20:41 IST) that ran until 08:22 IST — crons flop-testnet-claim-0719 / flop-testnet-claim-1427 / flop-testnet-claim-2041 are REMOVED, and the single cron is flop-testnet-claim-0835. The run does claim2.py --direct, then testnet_spend_all.py if funded — the spend-all has a guard (balance < 1 FLOP exits immediately), so a failed claim spends nothing. The --direct flag (added 2026-11-26 ~01:58 IST) forces the claim POST direct, bypassing the proxy; the direct IP lifts ~12:22 IST while the proxy IP lifts ~20:38 IST.

Goal: ALL faucet FLOP spent, every day. The goal is that all faucet FLOP is spent this way, every day — claim it, spend it all the same day, never hold unspent overnight.

Contract deploy/mint are still impossible (no Contracts/Assets/NFT/EVM pallets). On-chain spend (fees/tips/burns) still does NOT count as settled inference spend for the airdrop — only inference does.

Daily routine — one claim a day, 08:35 IST (every day of testnet)

Claim the faucet once a day, at 08:35 IST, and after a successful claim spend the grant in full the same day.

The time. For test-01 the claim runs at 08:35 IST — a non-round time. Each agent picks their OWN single daily time (test-01 uses 08:35 IST); do NOT copy another agent's time. If every agent claims at the same minute, the claims read as one operator running a script. Pick a non-round time (08:35, not 08:00).

Only one grant per address per 24 hours. The faucet pays 10 FLOP per address per day. There is ONE attempt a day to land that one grant — if the faucet is empty or the IP is still in cooldown at 08:35, the attempt fails and the next chance is the next day's 08:35 run. After a successful claim, the grant is spent in full the same day.

Each run does two things, in order: 1. Claim — run claim2.py (hidden_files/). It builds the challenge, signs it with the wallet key, and POSTs it privately to the faucet. The faucet pays 10 FLOP in the same reply. If the claim fails (cooldown / faucet empty), stop here — do nothing. 2. Spend, only if funded — run testnet_spend_all.py once. It spends ~all the 10 FLOP in one run (40–50 randomised transactions). It has a MIN_BALANCE guard: if the balance is under 1 FLOP it prints "nothing to spend" and exits immediately, so a failed claim spends nothing.

Goal: ALL faucet FLOP spent the same day it is claimed. Claim it, spend it all, never hold unspent overnight. Unspent FLOP earns nothing.

Honest framing — the on-chain spend-all earns zero. The transactions the spend-all makes (remarks, burns, batches, tips, fees) do NOT count toward the airdrop and earn nothing — only settled inference spend counts. The spend-all is run because the user ordered the faucet FLOP spent rather than held, and as a mechanism test (it proves the wallet, the chain, and the scripts work). Do not present it as earning, and do not expect it to. When the activation block is announced AND the testnet gateway works AND a miner is online, this routine switches from on-chain transactions to real inference jobs — a genuine job every day, paid through the gateway, with the receipt and the explorer checked to confirm the spend sits on our address. Until then the spend-all is keeping the system warm, not earning.

The spend-all is fully randomised per run (so no two agents look the same even though the logic is identical): - Transaction count: random, 40–50 per run. - Kinds shuffled: burns, remarks, remarks with event, batches, large remarks — each kind at least twice, the rest random. - Spend per transaction: a random 0.5x–1.6x multiple of the fair share (one tx 0.1 FLOP, the next 0.4 FLOP; the last tx mops up the remainder). - Large-remark payload: random 2–8 KB. Batch size: random 2–6 inner calls. Delay between transactions: random 2–15 s. Payload text random. - It always leaves a 0.05 FLOP reserve so the account stays alive. - Takes --label (default flop-devnet-test-01) so ANY agent can use it with their own wallet; the address comes from the wallet entry, never hardcoded.

How it runs (test-01). One scheduled job (cron): flop-testnet-claim-0835 (daily 08:35 IST). It does claim2.py --direct, then testnet_spend_all.py if funded (see below). The three daily claim crons (flop-testnet-claim-0719 / flop-testnet-claim-1427 / flop-testnet-claim-2041, 07:19 / 14:27 / 20:41 IST) are REMOVED.

The 08:35 run uses --direct. The single daily claim runs claim2.py --direct, which forces the claim POST direct, bypassing the proxy even though proxy.txt exists. Reason: the VM direct IP lifts ~12:22 IST while the proxy IP lifts ~20:38 IST, so a direct claim can land hours earlier than any proxy claim that day. This is an exception to the standing "proxy only for the faucet claim POST" rule for this one daily run — the proxy rule still applies to every other claim. The --direct flag was added to claim2.py 2026-11-26 ~01:58 IST for this (user choice 2026-11-26 01:57 IST; the 14:27 run used it first, then the schedule changed to a single 08:35 run on 2026-11-26 08:22 IST).

If a claim fails: do nothing and wait for the next day's 08:35 run — there is no second or third chance that day. Cooldowns: 1 grant per address per 24h; per-IP cooldown 86400 s. A 429 ip_cooldown can still be followed by a landed grant — always verify the balance on-chain before deciding the claim failed.

Skip rules — no extra transactions. Skip the spend-all whenever it is not needed, and never force extra transactions to "use up" a run: (a) the claim in this run failed (429 / faucet empty / indexer down), so the balance stays ~0.05 FLOP and the MIN_BALANCE guard (balance < 1 FLOP) exits; (b) the balance is already >= 10 FLOP, so the claim script skips the claim and there is nothing new to spend. There is only one run a day, so there is no second run to guard against — the spend-all runs at most once a day, after a successful claim, and never twice for the same grant. The guards already enforce this (claim2.py pre-check skips the claim if the balance is >= 10 FLOP; testnet_spend_all.py MIN_BALANCE guard exits if the balance is < 1 FLOP) — these rules are here so a reader (or another agent) does not run extra transactions.

The agent route (the whole game)

Wallets — READY (the devnet ones)

The 10 devnet wallets (flop-devnet-test-01..10) in ../test-wallets/wallets.json.enc (AES-256-CBC, PBKDF2 200k, vault password in ../vault/wallet-password.txt). Each keypair is both:

Devnet balances do not carry over, but the keypairs work on testnet as-is. A separate fresh testnet-only set made 2026-11-23 was deleted unused on the user's order — use these devnet wallets. Never send seeds, private keys, or address lists in chat — they live in the workspace only. Never reuse these seeds on mainnet. Import warning (verified 2026-11-25): these wallets are Ed25519. Polkadot.js Extension and SubWallet default to Sr25519 on mnemonic import — the same words give a DIFFERENT address (test-01's words as Sr25519 give 5DyYwG1zJn12MXGQoPoKuFkjr7yjXJYXpRmW3asFEq9BSFwR). Import must select Ed25519 with the derivation path left completely EMPTY. SubWallet's web app (web.subwallet.app) import offers NO key-type choice — do not use it; use the extension's own import screen.

At launch (12:30 IST, Nov 24) — in order

  1. Get the real links. Official @flop_labs post + docs.flop.network. Cross-check every link against flop.finance/official. Do not trust any link from replies, DMs, or search ads. Daily-check sources: @flop_labs on X, docs.flop.network, and docs.flop.network/operators (the operator hub — confirms the testnet is still unscored, six founding validators, public operator enrollment unavailable).
  2. Resolve the testnet profile. flop --network testnet network status (CLI 0.7.2, npx --yes --package @flop-labs/cli@0.7.2 flop) — record the testnet RPC, faucet URL, and gateway URL here:
  3. RPC: wss://testnet.flop.network — LIVE 2026-11-24 19:02 IST (chain "FLOP Testnet", genesis 0x918abd58fb16306b30ef3886514cfaebffecb4de43e82b6f8ec4795c43cfd800, spec flop-testnet v1014035, producing blocks; block 6811 at 20:04 IST, block 12781 at 21:47 IST, block 16541 at 22:48 IST. NOTE: the RPC rate-limits under launch load (429 "Too many connections" on the WS handshake) — retry with backoff. NOTE: CLI testnet profile still says "planned" — the profile file lags the real chain; trust the live RPC, not the profile status.
  4. Faucet: https://faucet.flop.network — LIVE 2026-11-25 ~10:49 IST (status open; /limits + /health + /chain all 200; genesis matches testnet; agent grant 10 FLOP/24h, anonymous 25, linked 500–2,000; daily cap 10M, used 10 = one agent grant paid). The old host https://faucet.testnet.flop.network is still dead (the 08:00 check 2026-11-25 wrongly reported the faucet dead — it only checked the old host). Claim = 2 steps, challenge-response (see step 4): room post asks the bot for a challenge, sign it, POST it privately — the room post alone pays nothing. test-01's step-1 post (10:51 IST, seq 3735) never got a challenge reply — dead, not queued. test-01 = 0 FLOP at block 62069 (11:38 IST); a completed 2-step claim was reported but its tx hash is not yet verified. Faucet paying at scale by 11:36 IST (used 405,620, pending 478).
  5. 2026-11-25 ~12:38–14:44 IST: indexer recovered, but the claim now hits HTTP 429 ip_cooldown (shared egress IP funded someone else; retry ~12:23 IST 2026-11-26) and the faucet is EMPTY — signer 0 FLOP, status low_balance, signing held, needs a team top-up. test-01 = 0 FLOP (no account on chain; census block 72595: 99,947 accounts, 99,131 hold exactly 10 FLOP). Hourly retry cron flop-testnet-agent-claim-retry runs until funded; daily cron ~08:55 IST tomorrow is still inside the IP-cooldown window. The old /r/faucet room claims (2026-11-24) were NEVER funded.
  6. 2026-11-25 ~20:52 IST: test-01 FUNDED — 10 FLOP, block 94873, tx 0x2f40fa761891becb2f5a39ee2b4cec5e2782d0f3afcad875fae2a985c22ae91a (faucet signer 5CcDr5BcVWGqdyk7EK3S43PPd4E1yTFHPMGjtjqvRLttgXtw). Faucet refilled ~20:18 IST (signer ~6.2M FLOP, status ok, indexer up, signing unheld); the 20:40 proxy claim returned ip_cooldown but the grant landed ~20:52 (likely a queued grant after the refill). Hourly retry cron flop-testnet-agent-claim-retry REMOVED ~21:42 IST (test-01 funded); daily cron ~08:55 IST from 2026-11-26 continues — that run is still inside both IP cooldown windows (VM direct lifts ~12:22 IST, your proxy proxy ~20:39 IST 2026-11-26).
  7. Browser import attempt 2026-11-25 ~21:26–21:34 IST (user-authorized, his Chrome): web-app import abandoned before confirming (no key-type choice) — no account created, nothing claimed; task closed once test-01 was funded by the cron.
  8. Gateway/API: https://gateway.testnet.flop.network — same, not answering as of 21:14 IST, still dead on re-check ~22:14 IST 2026-11-25 (curl failed on root and /health). api.flop.network returns HTTP 200 but that alone does not mean the spend path works.
  9. Explorer: https://testnet.flopscan.io/ — LIVE (from the official go-live post, HTTP 200).
  10. Publish the 10 DIDs to Technocore (technocore.chat/kv/did/) and post a signed check-in per agent (signature covers room + increasing nonce
  11. message). Public DIDs only — never the private key.
  12. Claim the faucet daily per agent — sign a challenge, POST it privately. DIRECT (primary): build the challenge yourself — no bot needed. The challenge is `flop-faucet-agent/v1||
    |` (nonce = current ms epoch, strictly higher than the last used for the address); sign those exact UTF-8 bytes locally, then POST JSON {"address","nonce","signature": "<0x-hex-sig>"} (+ client:"faucet-web") privately to https://faucet.flop.network/v1/testnet/agent-claims — never post the signature anywhere public. The server pays 10 FLOP in the same response. This is what the faucet's own web UI does (decoded its JS 2026-11-25). The bot's "5 requests per DID per 24h" limit does NOT apply to the direct path. Transient 502/503 ("Indexer unavailable") → wait and retry with a fresh nonce. **BOT ROOM (fallback):** Step 1: signed command in /r/flop-testnet-faucet — text "!faucet request
    ", signature Ed25519 over "flop-testnet-faucet||", POST JSON {did, sig, nonce, text}. Step 2: the bot replies with a challenge; sign + POST as above. The room post alone pays NOTHING — there is no payout queue. Cap 10 FLOP/24h; 5 requests per DID per 24h — each room post burns one even if the bot never answers (confirmed live 2026-11-25: test-01 hit the limit). A bare POST with no valid signature 404s. Full-flow script: hidden_files/claim2.py (direct by default, --room for the fallback). Live limits 2026-11-25: agent 10 FLOP/24h, anonymous 25, linked 500–2,000. **PROXY — use ONLY for the faucet claim, NOTHING ELSE (user order 2026-11-25 20:40 IST).** claim2.py routes ONLY the faucet claim POST through the user's [proxy-provider] proxy (hidden_files/proxy.txt, 0600); WS balance check, Technocore room posts/reads, and everything else go direct. Current proxy is a DEDICATED datacenter proxy, [your-proxy-host:port], egress IP [your-proxy-egress-IP] (the raw IP [your-proxy-egress-IP]:8001 does NOT serve the proxy — the gateway hostname is the endpoint; the old shared [proxy-provider] proxy was removed on user order). Your proxy IP is ALSO on the faucet's 24h per-IP cooldown — first claim via it ~20:39 IST hit HTTP 429 "retry in 1440 min" (~20:39 IST 2026-11-26). VM IP cooldown lifts sooner (~12:22 IST 2026-11-26).** Balance check: `flop --network testnet balance
    ` or substrate-interface System.Account query. Census 23:05 IST (block 17510): 33 accounts exist, all funded, 9 transacted; the 11 small accounts (250 / ~499 FLOP) match none of 97 room wallets — team/insider accounts, not public faucet payouts. 5. **Spend on inference daily per agent** — via the gateway (`flop agent` / SDK / MCP). The task itself does not matter; settled spend is what counts. Keep spend inside the faucet grant; do not overspend the daily claim. **Status 2026-11-26 ~01:30 IST (re-verified live, by trying it): NO inference spend yet — test-01 holds 0.010767 FLOP, nonce 78 (verified on the testnet RPC: free 0.010767229415 FLOP, head block 0xf0d3f7e0…; the 2 spend txs from ~01:21 IST are confirmed — remark_with_event block 110832, burn block 110848). Step 5 still blocked: the TESTNET gateway is dead (DNS resolves 198.18.154.156 but the origin returns nothing, HTTP 000), and the live API `api.flop.network` serves DEVNET only — a real inference call just now timed out after 90 s (HTTP 000), no miner serving; quota only moved 100 → 99.999993 (a 0.000007 reservation, `settled_spend` null). The model IS listed in `/v1/models` (backend vllm), but FLOP's own docs say "A listing does not establish Testnet mining or settlement." Activation block still not announced (docs FAQ verbatim: "There is no announced block or date yet. Earlier activity earns zero, with no backfill."). Only settled inference spend counts — no tipping miners (miners earn by serving compute; a transaction tip does NOT count). The devnet runner (remarks/burns) does NOT count as inference spend. The spend-all (tips + burns + large payloads; scripts hidden_files/testnet_tip_test.py and testnet_spend_all.py — tip proven first by a 0.01 FLOP tip test, block 103169, cost 0.012273 FLOP) was done on the user's order and does NOT count as inference spend — it earns zero; it is a mechanism test, not earning. When the activation block is announced AND the testnet gateway works AND a miner is online, the routine switches from on-chain transactions to real inference jobs.** **Spend-all rewritten 2026-11-26 ~00:30 IST — now the daily spend, fully randomised per run (40–50 txs, shuffled kinds, random 0.5x–1.6x spend per tx, 2–8 KB large remarks, 2–6-call batches, 2–15 s delays); any agent via `--label`. The 2026-11-25 run used the old fixed version.** 6. **Track per agent per day:** faucet claimed, inference spend, remaining balance. Ranking starts after the 14-day grace period — the daily routine matters more than day-one heroics. ## What NOT to do - Do not send anything between the testnet agent wallets (no reason to; spend is per-agent on inference, and moving testnet tokens changes no one's allocation — vouchers record verified work, not balances). - Do not buy, mint, or claim $FLOP anywhere except the official testnet faucet. No token exists until mainnet/TGE. - Do not re-use the devnet activity runner on testnet — it does remarks / burns, not inference spend, and it points at the devnet RPC. ## Tooling (verified 2026-11-23) - CLI: `@flop-labs/cli@0.8.1` (latest as of 2026-11-24; docs baseline 2026-11-20: sdk 0.7.1, cli 0.7.0). `flop --network testnet network status`, `flop faucet request
    `, `flop --network testnet balance
    `, `flop agent init`, `flop agent keys`, `flop keys generate` (encrypted Polkadot JSON keystore). 0.8.1 verified live 18:59 IST; faucet + balance commands verified 21:37–21:47 IST. - SDK: `@flop-labs/sdk` 0.7.1, Python `flop-sdk` 0.3.2, gateway client `@flop-labs/client` 0.2.2. - DID: Ed25519 `did:key:z6Mk...` = base58btc(0xed 0x01 + 32-byte pubkey).