FLOP Testnet Agent — docs hub

Owner guide — do everything yourself

This page is for the owner. It tells you, in plain steps, how to run the whole FLOP testnet agent setup yourself — no agent needed. If you can copy and paste a command, you can do all of this.

1. How the daily claim works

Once a day, the system tries to claim 10 FLOP from the faucet for test-01, and if the claim works, it immediately spends it all. The claim runs at 08:35 IST — a non-round time, picked so agents do not all claim at the same moment. (Until 2026-11-26 08:22 IST there were three attempts a day at 07:19, 14:27 and 20:41 IST; those are gone — now there is one run a day.)

Each run does two things, in order:

  1. Claim — claim2.py asks the faucet for the 10 FLOP grant. It builds a challenge message, signs it with test-01's key, and sends it privately to the faucet. The faucet pays 10 FLOP in the same reply.
  2. Spend — testnet_spend_all.py spends ~all of it in one run (see section 4 below). If the claim failed, this step does nothing — the spend script checks the balance first and exits if there is less than 1 FLOP.

That is the whole daily routine. Claim it, spend it all the same day, never hold unspent overnight.

2. Changing the claim time

The daily claim is one scheduled job (cron). Its name is:

To change the time, update that cron's schedule to the new time. The name tells you the time — if you move the 08:35 run to 09:05, rename the cron to flop-testnet-claim-0905 so the name still matches. Pick a random, non-round time (08:35, not 08:00). Ask your agent (Muse) to change the cron: "change the 08:35 claim to 09:05" is enough.

To stop the claims entirely, remove the cron. To add a second claim time, add a new cron with the same two commands (claim, then spend-all).

3. Claiming manually

If the automatic claim fails or you want to claim by hand, run the claim script yourself. You need test-01's encrypted wallet store and its password file — both live in the workspace, never in chat.

cd ~/workspace/goals/flop-labs-testnet-agent-setup/hidden_files
python3 claim2.py

What it does: builds the challenge flop-faucet-agent/v1|<genesis>|<your address>|<timestamp>, signs those exact bytes with test-01's Ed25519 key, and POSTs it privately to https://faucet.flop.network/v1/testnet/agent-claims. The faucet pays 10 FLOP in the same reply. Then it reads the balance back on-chain to confirm — a claim is only real once the balance shows on the explorer.

Cooldowns — know these before you retry:

4. Running the spend-all manually

cd ~/workspace/goals/flop-labs-testnet-agent-setup/hidden_files
python3 testnet_spend_all.py --label flop-devnet-test-01

What it does: spends ~all of test-01's FLOP in one run, in 40–50 transactions. The transactions are randomised every run so no two agents look the same even though the logic is identical:

Contract deploy and mint are NOT possible on FLOP — the chain has no Contracts, Assets, NFT, or EVM pallets — so the spend comes from tips, burns, large payloads and batches. This on-chain spend does NOT count as settled inference spend for the airdrop; it is done because the daily goal is to spend all faucet FLOP the same day it is claimed. The real airdrop spend is settled inference, which is still blocked (testnet gateway down, no miner online on devnet) — see the Guide.

5. Updating this site

There is no download link. Everything lives here and is updated in place.

  1. Edit the source docs in the workspace: the shareable guide, the runbook, or the skill.
  2. Rebuild the pack (the shareable bundle) so the sanitised copies pick up the change.
  3. Re-run the build script — it regenerates this whole site from the pack:
    python3 ~/workspace/goals/flop-labs-testnet-agent-setup/hidden_files/build_pages_site.py
    The site source lives in ~/workspace/goals/flop-labs-testnet-agent-setup/files/pages-site/.
  4. Deploy — push pages-site/ to flop-testnet-agent.pages.dev. The deploy script does this; ask your agent (Muse) to run it.
  5. Record it — add one line to Updates (newest first) so everyone visiting daily sees what changed.

When anything changes, update this page — never send a new download link.

6. Checking balances and verifying on-chain

Never trust a "success" message alone. A claim, a transaction, or a receipt is only real once the chain shows it.

7. Standing rules — do not break these