- installation guide
- links
- skill
FLOP Devnet: GPU miner and keyless node guide
FLOP is a verification layer for AI inference. A miner serves one pinned model on its own GPU:
- a vLLM backend produces TOPLOC proofs;
- a worker holds the miner account, answers calibration jobs, and later serves paid sessions over an HTTPS session endpoint.
Its stake is posted by a sponsor. The penalties documented so far come from jobs it leaves unanswered; FLOP has not published full slashing rules, so never run two workers on one miner account.
The first part follows the official devnet public-path miner pack and adds the checks POSTHUMAN uses. The second part, Keyless full node, covers the first steps towards a validator seat. Test FLOP has no value, and there are no earnings yet. The devnet changes often: re-verify every pinned value against the pack, https://flop.network/releases.json and the finalized chain before you use it.
Host
- Ubuntu 22.04 or 24.04.
- An NVIDIA GPU with at least 16 GB VRAM.
- Docker with Compose and the NVIDIA container toolkit:
docker info | grep -i nvidiamust print something. jq,curl,openssl.- A public DNS name for the session endpoint, served one of two ways:
- Caddy sidecar from the pack: inbound TCP 80 and 443, Let's Encrypt certificate;
- your own tunnel or TLS proxy to
http://127.0.0.1:8645, for hosts behind NAT. Then leavedocker-compose.tls.ymlout.
- Open nothing else. The session port 8645 and the model backend stay on loopback.
- Sharing the GPU. On a shared GPU, lower
GPU_MEMORY_UTILIZATION(for example0.5on a 24 GB card) and confirm in the backend log that the KV cache still fits.
Run everything as root from /opt/flop-miner (mode 0700). Verify the pack tarball's SHA256 against the value you received with it before unpacking.
Before any start or signature
Work in a root shell (sudo -i, then cd /opt/flop-miner). miner.env is root-only, and sudo resets the environment, so running pack scripts through sudo from a user shell easily loses FLOP_CLI and DRY_RUN. Load and check the pinned CLI first:
-
Genesis. Read the genesis hash with the digest-pinned CLI and compare it with the value you recorded. Stop on any mismatch: a devnet reset invalidates keys, grants and policies.
-
Images. Pin every image in
miner.envasvX.Y.Z@sha256:…, never:stable.decode-policy.sh,sponsor.shandretire.shfall back tocli:stablewhenFLOP_CLIis not in their environment, and the last two mount the miner signer into it. An empty value counts as unset, so run the scripts only from the root shell above, after theFLOP_CLI pinnedcheck. -
Account. Dry-run every signing script first and check the printed address. The dry run happens only when
DRY_RUNreaches the script as exactly1:- in the root shell, use
DRY_RUN=1 ./retire.sh(andDRY_RUN=1 ./sponsor.sh), withoutsudo; - never use
DRY_RUN=1 sudo ./retire.sh: sudo drops the variable, and the deregistration is signed for real; - no
DRY_RUN:line in the output means it did not dry-run, so stop.
- in the root shell, use
-
Model. Fetch the exact model revision the pack names with
./fetch-model.sh, check every file against a checksum list, and mount it read-only. -
Decode policy. Before every start, run
./decode-policy.sh miner.envin the root shell, after theFLOP_CLI pinnedcheck. It writes the policy hash only if the chain allowlists it. Never runsudo ./decode-policy.sh: it dropsFLOP_CLIand mountsminer.env, tokens included, into:stable.
Account and sponsorship
- Create the account and keep its files private. Create the miner account with the pack's key commands. Back up
miner-key.jsonoffline. Never send it, thesignerfile or the phrase to anyone, including FLOP. - Approved operators request an operator key once, through the access-request template at https://github.com/flop-labs/network, and grant miners with
sponsor-grant.sh. Keep the operator key off miner hosts. - Sponsorship request:
- Read https://faucet.flop.network/limits.
- In the root shell, dry-run with
DRY_RUN=1 ./sponsor.sh, then run./sponsor.shonce. Approved operators prefixGRANT_FILE=…. - Read the reply:
200/201means done;409means already sponsored;503means retry in a minute;429means a limit, so retry later;403means the wrong role or an invalid grant;422means operator review.
- Never retry in a loop, and never run
miner registerby hand.
Secrets
miner.env holds INFERENCE_API_KEY and SESSION_AUTH_TOKEN, and session-keys/enclave.seed signs sessions.
- Generate each once, on the host. Create the seed with
set -Cso a rerun cannot overwrite it. - Never regenerate them after the first start, and never pass them in command arguments.
- Never run
docker compose … configunfiltered: it prints them. - For authenticated loopback calls, give curl the bearer header through a config on stdin (
curl --config -).
Start
-
Backend. Start it first and wait for
/healthto show:model_identity: "measured";- the expected model hash and decode-policy hash.
Record the cold-start time.
-
Endpoint. Behind a tunnel, the public name must answer 502 (origin down; Cloudflare may show 530) with no redirect or bot challenge.
-
Worker. Start it. The log should show:
Image: version …;[gpu] declared;published ghost key;Endpoint ad (https://<name>): published to the mailbox.
From here the worker signs small on-chain actions and pays fees from the miner account.
-
Reachability. Through the endpoint, an unauthenticated
/session/infomust return 401.
Calibration and health
- Calibration runs automatically and can take up to a day. Watch https://explorer.devnet.flop.network/mining and
miner status <address> --jsonuntilcalibrationis non-null. Until then,is_ready: falseand three failing self-check items (local-session,chain,info-proof) are normal. sudo ./self-check.sh --json(add--no-tlsbehind your own tunnel) is read-only. Fix the first FAIL. After calibration, everything exceptgateway-listingshould pass.- The POSTHUMAN skill's
flop-miner-healthcheck.shadds:- the genesis comparison;
- container restart counts;
- GPU memory;
- the edge 401;
- the calibration record;
- a free-balance reading to compare between runs.
- Backups. After calibration, back up the worker-data volume together with
miner.envandenclave.seed, encrypted or in root-only storage.
Downtime, restarts and upgrades
- There is no pause. A calibration job left unanswered is penalised. Operators in November 2026 used a 600-block deadline, which is about 10 minutes at about 1 s per block; re-check it for your release. Keep any planned outage to at most about 5 minutes (half the deadline), including the backend cold start.
- Prefer
docker compose … restart worker. Allowed commands:stop;start;restart;up -d;downwithout-v.
- Never run:
down -v;docker volume rm|prune;docker system prune --volumes.
- Avoid unplanned outages. Keep unattended upgrades from replacing the NVIDIA driver while the miner runs. Do not restart the Docker daemon casually.
- Image upgrade:
- Record the current image pins.
- Read the release notes: older workers cannot read newer journals.
- Run the genesis check and the decode policy.
- Run
up -d. - Keep the old pins for rollback.
Permanent exit
- In the root shell, load and check
FLOP_CLI, then run the genesis check. - Run
DRY_RUN=1 ./retire.shand confirm theDRY_RUN:line shows your address. - Stop the worker.
- Immediately run
./retire.sh, then confirmregistered: falseinminer status.
An open session, a dispute or native delegated stake refuses the exit until it is resolved. Sponsored stake unbonds over 7 days and returns to the sponsor. A retired miner still counts toward the operator's quota.
Keyless full node: first step to a validator seat
FLOP's validator page and its Devnet RPC guide (setup files pinned to revision 21adaa99c601003278d1682bf937696f21d31432) describe this path:
- one operator application per team (you may apply before the node is synced and add the evidence later);
- a keyless full node that syncs over public P2P and survives a restart;
- a signing handoff, by FLOP's invitation only.
This part covers the first two steps. It adds what POSTHUMAN learned while qualifying its candidate in November 2026.
- No account, session or validator key. The node never signs and holds no stake. Its only key is the libp2p node key on its volume, which fixes its Peer ID. Do not set
NODE_ROLE=validatoror run anyjoincommand on it. - A host of its own. Run it on a different host from the miner: it needs inbound TCP 30333, and the miner host opens nothing beyond its session endpoint. Never copy miner or account files into it.
Host
-
Machine. A dedicated Linux x86-64 host or isolated VM with:
- Docker Engine and Compose v2 (2.24.4 or later for the hardening below; our node runs 2.40, and we checked the merge with 2.35);
curl,jqandsha256sum;- a stable public IPv4.
No GPU is needed. FLOP's pilot reference is 4 vCPU, 16 GiB RAM and 300 GB SSD, an observed starting point rather than a requirement. The archive database keeps growing (57 GB on 2026-11-21), so watch free disk.
-
Shared hosts: check disk I/O first. The initial sync writes heavily.
- Our first attempt ran on a host with signing validators, and it tripped another validator's I/O-pressure guard. CPU and memory limits did not help, and I/O throttling raised the pressure further.
- We stopped it and moved the node to a host where its data sits on a separate NVMe disk.
- Before you place the node next to a signer: list the host's existing I/O, thermal and disk guards and sample their margins. Count the initial sync in the load budget, and have a way to stop only this node.
-
Ports.
- Open inbound TCP 30333 and allow outbound P2P.
- RPC 9944, metrics 9615 and readiness 9619 stay on
127.0.0.1. From another host, check that they are refused, for example withcurl -m 5 http://<public IPv4>:9944, then 9615 and 9619. A refusal or a timeout are both fine; an answer is not.
Install and sync
-
Follow step 1 of FLOP's guide:
- download the five setup files and the raw chain spec;
- check every SHA256 it lists;
- create
rpc-pool.env.
The env template pins the node image by digest (
node-devnet@sha256:84498fd7…) and uses archive pruning. -
In
rpc-pool.env:- set
HOST_IPto the host's own interface andPUBLIC_ADDRto/ip4/<public IPv4>/tcp/30333. Behind NAT (AWS, for example) the two differ; - keep
RPC_BIND_IP=127.0.0.1andPROMETHEUS_BIND_IP=127.0.0.1.
- set
-
Keep the project and the volume. The node key and the database live on the volume.
- Use the same Compose project name and volume on every start.
- Never run
down -v,docker volume rmor a volume prune on it. - A new volume means a new Peer ID, which breaks the restart proof and the Peer ID in your application, and then a full resync.
-
Bootnode. In November 2026 the pinned bootnode accepted TCP and then closed or reset the connection during the libp2p handshake (flop-labs/network#522, #571).
- If your node finds no peers through it, put a community peer from another team's public application first in
BOOTNODES(space-separated) and keep the official one second. We used one from flop-labs/network#429. - A community peer is a third party you choose to trust. The hash comparison against FLOP's reference below still decides whether you follow the right chain.
- Never edit the chain spec or genesis to fix peering.
- If your node finds no peers through it, put a community peer from another team's public application first in
-
Start and wait.
curl http://127.0.0.1:9619/readyreturns 503 while syncing and 200 once caught up.- Our sync from genesis took 1 h 44 min. FLOP quotes about 3 hours.
- FLOP also publishes a daily archive snapshot. Read the caveats in its guide first: blocks before the snapshot height are not re-executed, and it only fits an archive node.
- A running container or a peer count alone is not success.
Optional hardening (what POSTHUMAN runs)
This is an excerpt, not a complete file, used as an override on top of FLOP's file. Add it (-f <override>.yml) to every FLOP Compose command and to the systemd unit, or a plain up -d recreates the containers without the hardening. Everything else stays as in FLOP's docker-compose.rpc.yml, including:
NODE_ROLE: rpcandRPC_METHODS: safe;PUBLIC_ADDR;CHAIN: /chainspec/chain.raw.json;- the loopback bindings of 9944, 9615 and 9619.
Without NODE_ROLE: rpc, the entrypoint defaults to the validator role.
- Data directory. In our build the node runs as UID 1001 (check with
docker run --rm --entrypoint id <image> user), so its data directory must be writable by that user. - systemd unit.
- On start, it checks free disk space, then runs
docker compose up -d --no-build. - On stop, it sets this project's containers to
restart=no, stops them, and confirms that they really stopped.
- On start, it checks free disk space, then runs
- Disk guard. A timer checks free space every five minutes and stops only this node below a set threshold.
- Monitoring. With
restart: "no", a crashed node stays down, so alert on readiness and on the container state.
Prove sync and restart recovery
Run the observe checks from step 2 of FLOP's guide:
- two observations at least 60 s apart;
- one restart of this project only;
- a third observation after readiness returns.
Keep all three receipts:
- UTC time;
- local and reference finalized heights;
- the common height and its hash;
- the Peer ID.
The heights must rise, the hashes must match, and the Peer ID must not change across the restart. If finality stalls or a hash differs, stop and report it in your application. Never delete the database to "fix" sync. If you restart through systemd, check that both containers actually stopped before you start them again.
Apply once per team
- Which form. Use FLOP's operator application: one per team per network, updated as you progress, never duplicated. The fields are listed in step 3 of FLOP's guide.
- Earlier contacts. Link any earlier introduction, for example a comment in flop-labs/network#10. Because the rule is one application per network, we filed Testnet interest as a separate issue.
- Approval. The issue is a public record, not approval. Maintainers add
intake:sync-qualifiedand later labels only after they verify the evidence. - Secrets. Never post any of these:
- seeds or session secret keys;
account.jsonor.envfiles;- keystores, enrollment tokens or TLS private keys.
What comes next
- Signing. Self-service signing is not open. FLOP has published a signing release and handoff, but the coordinated committee deployment and complete public DA reachability are still pending, and signing needs FLOP's explicit invitation. Until then, keep the node keyless and synced.
- When invited:
- use the checksummed package for your invitation, on a separate validator host or isolated deployment;
- never run two processes with the same validator keys;
- per FLOP, copying a volume into another Compose project is not an approved migration.
- Testnet will have its own image, chain spec, genesis and admission steps. Start it with a fresh database.
Sources
- FLOP devnet public-path miner pack, README and scripts (
devnet-ts-20261110) - FLOP Devnet RPC guide (setup files at revision
21adaa99…) and the validator page - Operator documentation
- Mining explorer
- POSTHUMAN FLOP miner skill