Skip to content

About

AI-ready FLOP Testnet validator host check: keyless, pinned to FLOP's prep kit

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

flop-validator

Prepare a FLOP Testnet validator host with your AI, in three steps:

  1. Get a VPS (Linux x86_64, Ubuntu 24.04, public IPv4).
  2. Ask your AI to set up the validator with this repository. It runs FLOP's keyless host check and gives you a receipt.
  3. Once your node is running, follow FLOP's instructions to apply as a validator: post the receipt on your FLOP operator application, then wait for FLOP to confirm a seat.

This tool automates section 3 of FLOP's validator prep kit, "Run the Testnet host check". FLOP's docs are the authority: when they differ from this repository, follow FLOP.

What it does on the VPS, with no keys, no wallet, no stake and no signature:

  • checks the machine (CPU, RAM, disk, OS, ports, public IPv4) and that its pins are still FLOP's current release;
  • installs Docker Engine 28+ from Docker's apt repository;
  • downloads FLOP's chain spec and checks its SHA-256 against the pin and the release's .sha256 file;
  • starts FLOP's keyless observer node with the exact docker run of the prep kit (image pulled by its digest, RPC on 127.0.0.1 only, P2P on public TCP 30333);
  • checks the node like FLOP's guide: same genesis, same finalized block hashes as FLOP's public RPC, a second observation at least 60 s later, a restart with the same volume, a third observation, an unchanged Peer ID;
  • writes the receipt, in the lines of FLOP's application form, with public values only.

It never creates, imports or reads an account key or a session key, and never registers anything on chain.

Which VPS

FLOP's production reference: 8 physical cores at 3.4 GHz or faster, 32 GB ECC RAM (64 GB recommended), 4 TB NVMe, 1 Gbps symmetric. FLOP asks you to "record the capacity you actually have".

On EasyNode, take Enterprise (16 vCPU, 64 GB RAM), or Advanced (12 vCPU, 48 GB) at least, NVMe if offered. Order it without the "Flop Validator" add-on: that add-on runs another FLOP node on the same ports (30333 and 9944), and the check refuses to start next to it. Choose Ubuntu 24.04.

Before you start: SSH by key

Your AI connects to the VPS as root over SSH, with your SSH key, never with a password. Add your public key to the VPS once (for example ssh-copy-id root@<VPS_IPV4> from your computer, or in your provider's panel). Check it: the command ssh -o BatchMode=yes root@<VPS_IPV4> true must return without asking anything.

Give it to your AI

Copy this to your AI assistant (Claude Code, Codex, Cursor or any agent that can run shell commands):

Set up a FLOP Testnet validator host check on my VPS with https://github.com/Syphiliis/flop-validator
(tag v0.1.3). Read its AGENTS.md first and follow it exactly.
VPS: ssh root@<VPS_IPV4>    Provider: <provider>    Region: <region>
When it is done, give me the receipt, the reachability result and what I still have to do.

Your AI connects to the VPS over SSH, clones the repository there and runs:

sudo ./flop-validator setup --public-ip <VPS_IPV4> --provider '<provider>' --region '<region>'

again, one call at a time, until it exits 0. Exit code 3 means "not finished yet, run it again"; each call returns within 90 seconds and shows the sync progress (best block, network head, percentage). FLOP's prep kit says a full sync takes a few minutes; it can take longer: the run of 27 November 2026 took about 70 minutes of sync on a small VPS. Plan an hour or more. If the sync sticks, the tool restarts the observer once by itself, and stops with a report for FLOP if it sticks again.

Once setup exits 0, your AI checks from its own machine that TCP 30333 answers (nc -vz -w 10 <VPS_IPV4> 30333) and records the result with sudo ./flop-validator receipt --reachability ok. A test made before the observer's last restart no longer counts: the tool asks for it again.

No AI? Run the same commands yourself on the VPS (see AGENTS.md for the sequence).

Then apply

  1. Open FLOP's operator application: network testnet, role validator candidate. One application per team per network.
  2. Paste the receipt (sudo ./flop-validator receipt prints it; also in /var/lib/flop-validator/receipt.md). Each block's heading names the form field it goes into ("Sync and restart evidence", "Planned capacity and host", and the lists "Network", "Requested role", "Preparation stage"). Fill the lines marked TO FILL, your Team ID first, and tick the form's three "Before submitting" boxes. Post only the receipt: the issue is public.
  3. Wait for FLOP to confirm your seat. Do not create session keys or register before that.
  4. After the seat confirmation, follow FLOP's join procedure: docs/after-seat-confirmation.md lists FLOP's sources, in order, and the traps (FLOP CLI 0.10.3 or later; never validators.register yourself).

FLOP also publishes an agent skill, setup-validator: it describes FLOP's assisted Devnet validator flow (Tailscale, operator.mjs, paths in FLOP's repository) and says a public, reproducible release bundle is still in preparation. This repository covers only the keyless Testnet host check of the prep kit, section 3.

Commands

sudo ./flop-validator setup      preflight, install, start, check, in order
sudo ./flop-validator preflight  read-only checks
sudo ./flop-validator install    packages and Docker Engine 28+
sudo ./flop-validator start      chain spec, image, keyless observer
sudo ./flop-validator check      observations, restart, receipt
sudo ./flop-validator status     where it stands
sudo ./flop-validator receipt    print the receipt to post
sudo ./flop-validator stop       remove the observer container, keep its volume
./flop-validator help

Exit codes: 0 done, 1 failed (read the FIX: line), 2 wrong usage, 3 run the same command again.

Security

  • Keyless: the observer holds no account or session key. The receipt holds only public values (image digest, spec SHA-256, genesis, block hashes, IPv4, Peer ID).
  • Node RPC stays on 127.0.0.1:9944; the tool checks it with docker port and removes the container otherwise.
  • No firewall is turned on (it could cut your SSH). If ufw is already active, 30333/tcp is allowed in it.
  • Every download is checked: Docker's key by its fingerprint, FLOP's spec by its SHA-256, FLOP's image by its digest. No curl | bash.
  • Never post a seed, a keystore, account.json, a .env or a node key file anywhere.

Limits

  • FLOP Testnet is very early and unscored. Expect outages, upgrades and resets. Test FLOP has no monetary value.
  • Passing this check and applying grant no seat, no funding and no reward. FLOP admits validators one at a time.
  • Pinned to FLOP's release testnet/v0.1.0-early.1 and node image v0.1.486. When FLOP publishes a newer Testnet release, the tool stops with "out of date" until this repository is updated; FLOP's prep kit stays usable directly.
  • Linux x86_64 only (Ubuntu 22.04 or 24.04, Debian 12).

Disclosure: maintained by BreizhNode, co-founder of EasyNode. MIT licence.

About

AI-ready FLOP Testnet validator host check: keyless, pinned to FLOP's prep kit

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages