Run a FLOP validator
First select your network and release using the operator guide. The devnet instructions below do not configure testnet or mainnet.
Existing validators should use the upgrade manual for rolling image updates, quorum, data preservation and rollback. Do not repeat new-validator registration or change genesis during an upgrade.
FLOP validators author blocks with BABE, vote on finality with AlephBFT, and serve assigned data through a DA worker. No GPU or TEE is needed.
Join the current devnet
Use 0.4.1-devnet.1 for the current administrator-assisted devnet: package and checksum. The archive SHA-256 is 715abad72f3a8c658de5f929c6fe01b03d4204b5954925331766053610f3c967. The validator page carries the matching release. Coordinate enrollment in your existing direct conversation with the FLOP team member handling your invitation. If you have no operations contact, request an introduction in public issue #10 (duplicate download report #15). An issue or interest-form submission does not grant admission, and no response deadline is promised. The standalone raw-spec download below is for checking network identity; it does not replace the onboarding package or authorize registration.
Verify the archive checksum and follow its README on a dedicated Linux amd64 host. The administrator-assisted sequence is:
- Prepare and send public host details. Verify the package checksums, install its dependencies with
pnpm install --frozen-lockfile --ignore-scripts, then runpnpm onboard prepare. Send the printed hostname and public SS58 address to your operations contact, plus the host's SSH public key fromcat /etc/ssh/ssh_host_ed25519_key.pub. Confirm itsSHA256:fingerprint fromssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pubon a second channel. The public host key encrypts the enrollment key; it does not grant FLOP SSH access. Private account files and keys stay on your host. - Receive access and funding, then join. Operations provides private-network enrollment instructions and funds the account above the live minimum with surplus for fees and DA deposits. It also supplies the approved private DA peer directory as
da-peers.json; save it beside the extracted package README. The package mounts it read-only and refuses missing or invalid private routes before starting or signing. Do not substitute public gateway URLs for worker repair traffic. After both and the agreed network-access checks are confirmed, runpnpm onboard joinand tell operations ready. The command waits for sync, registers with owner-bound keys, and restores safe loopback RPC before reporting ready. Registration locks stake. Stop and contact operations after a failed/partial submission; do not blindly rerun signed actions. - Operations checks and activates. Operations reads registration, public session keys, queue position and DA endpoint from finalized chain state and checks the named host's connectivity before promotion. You do not send keys, transaction hashes or configuration. After activation is confirmed, run
pnpm onboard verifyagainst your own node. “Ready” does not mean active: session/BABE/Aleph keys and advancing finality must be verified.
pnpm onboard join waits for your node to sync, which from genesis takes about 3 hours. To start from a snapshot instead, seed the node after prepare and before join. FLOP publishes a daily archive database snapshot at https://snapshots.flop.network/devnet-ts/archive/, with each part's size and sha256 in latest.json. The package's validator runs STATE_PRUNING=archive, which this snapshot requires. Fetch and check it, then swap it in with the validator stopped, following the snapshot steps in the Devnet RPC replica guide. Use the package's validator service and its .env in place of the RPC project. Replace only chains/flop_devnet_ts/db/full. The node key, network/ and keystore/ stay. Your node checks blocks only from the snapshot's height on.
The frozen legacy base template uses host DA TCP 7000, mapped to container TCP 7000. The 0.3.0 package uses P2P TCP 30333 and host DA TCP 7001, mapped to container TCP 7000. Its DA_PORT=7001 and DA_PUBLIC_ENDPOINT=http://<TAILNET_IPV4>:7001 must agree. Existing multi-validator hosts use DA host ports 7001–7004: v01 uses 7001 and v06 uses 7003; both map to container 7000. Use the release's own mapping rather than mixing these profiles. RPC 9944 and metrics 9615 remain on loopback. The existing devnet still needs operations approval, funding and promotion. Self-service public testnet onboarding (public P2P and DA, self-service sponsorship, activation without administrator promotion) is still in progress; it is not available merely by selecting testnet in a command.
Check the current devnet identity
The live network uses raw spec ID flop_devnet_ts, protocol ID flop-devnet-ts, and genesis 0x99c172c095340ace980631f9123544c6bebd4839f3437e463533422d8be2d631. The built-in flop-devnet-6 preset is a disposable network, not this live chain.
The raw chain spec and its SHA-256 checksum are public, read-only downloads. The exact file SHA-256 is 3b213c38e7678285bc38fbdfded5dbe3d6acbd16e836b14aaaeef2f6ae1cd16e. The chain metadata API reports the connected node's live genesis. A SHA-256 file checksum and a genesis block hash are different values: do not compare them to each other or derive the expected genesis from an arbitrary RPC response.
Check the downloaded bytes against the independently pinned checksum, then compare the API and public RPC genesis to the expected genesis above:
set -euo pipefail
spec=flop_devnet_ts-99c172c095340ace.raw.json
curl -fsSLo "$spec" "https://explorer.devnet.flop.network/validator-downloads/$spec"
printf '%s %s\n' 3b213c38e7678285bc38fbdfded5dbe3d6acbd16e836b14aaaeef2f6ae1cd16e "$spec" | sha256sum -c -
expected_genesis=0x99c172c095340ace980631f9123544c6bebd4839f3437e463533422d8be2d631
api_genesis=$(curl -fsS https://faucet.flop.network/chain | jq -er .genesisHash)
rpc_genesis=$(curl -fsS -H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"chain_getBlockHash","params":[0]}' \
https://rpc.devnet.flop.network | jq -er .result)
test "$api_genesis" = "$expected_genesis"
test "$rpc_genesis" = "$expected_genesis"
After starting the approved node, repeat chain_getBlockHash with [0] against http://127.0.0.1:9944 and require that same expected genesis before signed registration. Operations must check the destination network before funding. The package join helper also enforces the local genesis check before signing. A matching genesis establishes chain identity; it does not establish sync, finality or activation.
The two bootnodes are reachable only after approved tailnet enrollment:
/ip4/100.75.48.27/tcp/30333/p2p/12D3KooWHsKGPLJaQzpmQhJfFVYpmMwYR2acbsjphrhCe8dFFtsg
/ip4/100.111.153.34/tcp/30333/p2p/12D3KooWJMkBjp83s222dDm2hsjWSuADXfGs6i4pFjccddDh3nNw
Images and signatures
The node and DA images verified on the running devnet on 5 November 2026 are:
FLOP_NODE_IMAGE=ghcr.io/flop-labs/flop-core/node-devnet:sha-13ff7e2@sha256:84498fd73db2464eb13088ab34d369ddf7cddd22a45c810d140c9ff8ec16c91d
FLOP_DA_VALIDATOR_IMAGE=ghcr.io/flop-labs/flop-core/da-validator:v0.1.273@sha256:c6709bb5bba04978a7800daccd87bb2bf916edd34d7dbf09f84aba5be9aca949
Both signatures verify with the following GitHub Actions workflow identity and issuer. The identity is a certificate subject formed from the GitHub URL and workflow reference below; it is not a source-code download link. Replace <IMAGE@sha256:DIGEST> with each full image reference above. Use the published release's pins; do not select latest or silently substitute another image when verification fails.
workflow_ref=flop-labs/flop-core/.github/workflows/build-services.yml@refs/heads/main
cosign verify '<IMAGE@sha256:DIGEST>' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity "https://github.com/$workflow_ref"
Tailnet access without SSH
The existing tag:devnet policy permits P2P TCP 30333/30341–30344, DA TCP 7001–7004 and tailnet DNS, and grants FLOP operations/GPU sources broader administrative access. It also permits infrastructure sources to reach RPC/metrics ports. It is not a P2P/DA-only policy.
If you require P2P and DA only, agree that requirement with operations before enrollment. Keep Tailscale SSH disabled (sudo tailscale set --ssh=false) and enforce the agreed inbound allowlist on the host's tailnet interface for both IPv4 and IPv6, including Docker-forwarded traffic. Disabling Tailscale SSH does not block a separate SSH daemon listening on TCP 22. Preserve your own management access outside that interface.
Before pnpm onboard join, operations must confirm from its administrative and GPU source devices that SSH and other unintended services are unreachable. Confirm the new host can reach the existing P2P/DA peers. The join helper starts the new node's listeners; operations checks inbound P2P/DA after that startup and before activation. Do not proceed on a README statement or a firewall configuration alone. RPC and metrics must remain on loopback. A separately reviewed restricted tailnet policy can replace the host restriction only after its effective access has been verified.
Select the prepared public-testnet profile
The validator package retains administrator-assisted-devnet as its default. For example, pnpm onboard prepare --profile administrator-assisted-devnet uses the existing operations-assisted flow. For read-only preflight, run pnpm onboard preflight --profile public-testnet.
This fails closed while public identity, supported image digests, peer endpoints and launch receipts are unset. It starts no service, generates no key and submits no transaction. The package's PUBLIC-TESTNET.md describes versioned network inputs, the standalone public P2P/filtered DA Compose profile and the exact remaining operator handoff. The public-testnet profile remains unavailable for deployment or registration.
Signed validator sponsorship requests may auto-admit within the chain-backed sponsored count/stake caps; validators no longer need the former sponsorship allowlist. Devnet miners are admitted automatically too, within a cap on uncalibrated ones; testnet miners still need review. Other launch gates for outside validators remain open, among them committee-eligibility hardening and authenticated finality gossip. The network operator must still authorize public exposure and publish the reviewed network identity. Its clean external host must sync without VPN credentials, see advancing finality, serve assigned DA custody/audit or repair work to existing validators, and show that private RPC, unsafe methods, metrics and internal services are inaccessible. Local fixtures and HTTP health checks cannot establish that acceptance.
Other networks and disposable rehearsals
The remainder is the engineering reference for new disposable networks, not instructions to create a new genesis or use //Alice on the existing live devnet. Public testnet/mainnet operators need their own reviewed network inputs and admission policy.
| Input from network operator | Public placeholder | Devnet rehearsal |
|---|---|---|
| Chain and genesis | <CHAIN_SPEC_URL_OR_FILE> and published genesis hash | Common flop-devnet-N preset or reviewed raw spec |
| Software | <PINNED_NODE_IMAGE> and <PINNED_DA_IMAGE> | Two pinned images from one release |
| Peer discovery | <BOOTNODE_MULTIADDRESS> | Reachable multiaddress from an existing host |
| Admission | Published funding, stake, queue, and promotion policy | Devnet root funds and promotes |
| Monitoring | <PUBLIC_EXPLORER_URL> and <TELEMETRY_URL> | Local RPC and metrics |
The bracketed values are placeholders, not live addresses. Stop if a required input is missing or if chain spec, genesis, and software release do not agree. Current devnet admission is administrator controlled. It is not an open public onboarding service.
Prepare the host
Use Linux with Docker Engine, the Docker Compose plugin, curl, and jq installed. The join helper also needs Node.js and pnpm matching the repository's pinned toolchain. Give each validator its own persistent volumes and session keys. Protect the host and backups with encrypted storage and key-only SSH. Keep node RPC on loopback, metrics on loopback or a private network, and permit P2P and DA traffic only along the required peer routes. Never run two active processes with the same session keys: simultaneous voting can equivocate. For production planning, the current FLOP profile is 8 dedicated cores, 32 GB RAM, 4 TB NVMe including DA custody, and a reliable low-latency 1 Gbps link. These are planning estimates, not measured devnet minimums. Aleph Zero's hardware reference emphasizes fast I/O and reliable networking, but its storage sizes omit FLOP's DA custody.
From a FLOP repository checkout, make an untracked env file on each host:
cp infra/devnet/.env.example infra/devnet/.env
chmod 600 infra/devnet/.env
Set the fields in that host's infra/devnet/.env:
CHAIN=flop-devnet-6
FLOP_NODE_IMAGE=<PINNED_NODE_IMAGE>
FLOP_DA_VALIDATOR_IMAGE=<PINNED_DA_IMAGE>
HOST_IP=<REACHABLE_HOST_IP>
P2P_PORT=30333
PUBLIC_ADDR=/ip4/<REACHABLE_HOST_IP>/tcp/30333
BOOTNODES=<BOOTNODE_MULTIADDRESS>
DA_PORT=7000
DA_PUBLIC_ENDPOINT=http://<REACHABLE_HOST_IP>:7000
RPC_BIND_IP=127.0.0.1
RPC_METHODS=safe
Use the same chain preset or raw spec and pinned images on all hosts. For a raw spec, such as the one in an operator release bundle, set CHAIN_SPEC_FILE to its host path and CHAIN=/chainspec/chain.raw.json; any other CHAIN boots a built-in preset. Leave BOOTNODES empty for the first genesis host. For a disposable genesis host, set GENESIS_SEED to its distinct //Validator1 through //ValidatorN preset and set DA_VALIDATOR_SEED to the matching secretSeed derived with that same pinned node image. Later joiners leave GENESIS_SEED empty and use a fresh private 32-byte sr25519 seed for DA_VALIDATOR_SEED and their account. Never commit filled env files or send seeds in public tickets. An existing five-authority chain cannot simply switch to the six-authority preset; that requires a new genesis. For a genesis host only, derive its matching DA seed from the pinned image without printing it to the terminal (run from the repository root, after filling .env):
(
set -euo pipefail
cd infra/devnet
set -a; . ./.env; set +a
test -n "$GENESIS_SEED"
install -d -m 700 "$HOME/.local/share/flop"
umask 077
docker run --rm --entrypoint zkv-relay "$FLOP_NODE_IMAGE" \
key inspect "$GENESIS_SEED" --output-type json \
| jq -er .secretSeed > "$HOME/.local/share/flop/genesis-da-seed"
)
Put the saved secret in this host's private DA_VALIDATOR_SEED field using a local editor. Protect or remove the extra seed file after its backup policy is settled. The repository's docs/runbooks/devnet-add-validator.md has more chain-specific rehearsal detail.
Start the first host and get its peer ID from its local RPC:
cd infra/devnet
docker compose config --quiet
docker compose up -d
docker compose ps
curl -fsS -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"system_localPeerId","params":[]}' \
http://127.0.0.1:9944 | jq -r .result
On every host, compare the local genesis hash with the network operator's independently supplied EXPECTED_GENESIS_HASH (a public value). Do this before funding or registering. A new devnet's administrator must first review the raw chain spec and publish that expected hash; copying an unreviewed host's result as the expectation does not establish chain identity.
# Still in infra/devnet; supply the published public hash first.
(
set -euo pipefail
: "${EXPECTED_GENESIS_HASH:?set the independently published genesis hash}"
actual_genesis_hash=$(curl -fsS -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"chain_getBlockHash","params":[0]}' \
http://127.0.0.1:9944 | jq -er .result)
test "$actual_genesis_hash" = "$EXPECTED_GENESIS_HASH" || {
echo 'Genesis mismatch; stop before funding or joining' >&2
exit 1
}
)
Continue only when this check exits successfully on that host.
Set each later host's BOOTNODES to a reachable /ip4/<host>/tcp/<port>/p2p/<peer-id> address, then start its Compose project. Open P2P and DA ports to the relevant hosts. A Docker container name is not a cross-host bootnode. The DA worker connects to its own node inside Compose; the advertised DA endpoint must be reachable by other validators. Bring up all genesis authorities promptly: an incomplete genesis committee may leave the finalized head stationary.
Join after genesis
The applicant keeps the account/DA seed, node session keys and node key on their own host. Before initial devnet funding, give the administrator the hostname and public account address. Operations checks the reviewed network inputs and enrolled host identity before funding. After the applicant's local join generates session keys and registers the account, say ready; operations reads public session-key and admission evidence from finalized chain state. fund, promote, and optional refresh use the administrator's root signer and OPERATOR_ADDRESS; read-only verify uses the address alone. Only the applicant's local join needs OPERATOR_SEED. A public deployment still needs its own published admission policy and release inputs.
For an independently held applicant account on the disposable devnet, follow this order:
- Generate a fresh private account seed on the joining host and set it as
DA_VALIDATOR_SEED. LeaveGENESIS_SEEDempty. Start the node and DA worker with the same chain and pinned images as the existing hosts. - Fund the account above the live greater of
minimumValidatorStakeandvalueCoupledStakeFloor, with extra for fees. The devnet helper'sfundaction usessudo(balances.forceSetBalance); the faucet cannot cover this floor. - Temporarily recreate the joining validator with
RPC_METHODS=unsafewhile its host RPC remains bound to127.0.0.1. Run the helper'sjoinaction locally. It callsauthor_rotateKeysWithOwner, checks the keystore, submitssession.setKeyswith the ownership proof, and callsvalidators.register. RestoreRPC_METHODS=safeimmediately; do not putunsafein.env. - Registration freezes exactly the effective minimum; surplus remains spendable for fees and DA endpoint deposits. Fund again only if that surplus is insufficient. Root reviews the generated public session-key and admission evidence, queue order and the current floor before its
promoteaction submitssudo(validators.rotate(0, 1)). Registration alone only queues the account; candidates below the current floor remain queued. - Run the helper's
verifyaction after promotion. It waits for session activation, checks live BABE and Aleph keys, peers, and advancing finalized height.
The exact executable helper commands are in docs/runbooks/devnet-add-validator.md in the devnet operator checkout. That path is part of the devnet operator checkout; access to private images and network inputs still requires the network operator. The helper runs from sdk/miner-worker after pnpm install --frozen-lockfile at repo root. Never put a private account or root seed into an issue, chat, command log, or shared shell history.
Install the helper's dependencies once on each host that runs it. On the administrator host, set APPLICANT_PUBLIC_ADDRESS to the reviewed SS58 address and fund it with the authorized disposable devnet root:
pnpm install --frozen-lockfile
cd sdk/miner-worker
: "${APPLICANT_PUBLIC_ADDRESS:?set the reviewed public SS58 address}"
OPERATOR_ADDRESS="$APPLICANT_PUBLIC_ADDRESS" SUDO_SEED=//Alice DEVNET_ACTION=fund \
node --input-type=module < ../../infra/devnet/operator.mjs
On the applicant host, set OPERATOR_SEED privately from the local account/DA seed. Run join with local key-generation RPC enabled only for this step. The exit trap restores safe methods and checks the running process even if join fails:
pnpm install --frozen-lockfile
cd sdk/miner-worker
(
set -e
set +x
. ../../infra/devnet/.env
export OPERATOR_SEED="${DA_VALIDATOR_SEED:?set the applicant seed in the private local .env}"
restore_safe_rpc() {
(cd ../../infra/devnet && RPC_METHODS=safe docker compose up -d --no-deps --force-recreate validator) || return 1
(cd ../../infra/devnet && docker compose exec -T validator sh -c "tr '\000' ' ' </proc/1/cmdline") \
| grep -q -- '--rpc-methods safe'
}
trap 'join_status=$?; trap - EXIT; restore_safe_rpc || { echo "Safe RPC restoration failed; isolate port 9944 and repair the validator before continuing" >&2; exit 1; }; exit "$join_status"' EXIT
(cd ../../infra/devnet && RPC_METHODS=unsafe docker compose up -d --no-deps validator)
DEVNET_ACTION=join node --input-type=module < ../../infra/devnet/operator.mjs
)
# Stop here if the subshell failed; resolve join or safe-RPC restoration first.
Back on the administrator host, review the queue and promote the applicant. Fund again only if the applicant's spendable surplus cannot cover fees and DA deposits:
# Optional: replenish only if the spendable surplus is insufficient.
# OPERATOR_ADDRESS="$APPLICANT_PUBLIC_ADDRESS" SUDO_SEED=//Alice DEVNET_ACTION=fund \
# node --input-type=module < ../../infra/devnet/operator.mjs
OPERATOR_ADDRESS="$APPLICANT_PUBLIC_ADDRESS" SUDO_SEED=//Alice DEVNET_ACTION=promote \
node --input-type=module < ../../infra/devnet/operator.mjs
Then run verify on the applicant host, against its own node. The peer and finalized-head checks read only the node at WS_URL, so a run from the administrator host would report that host's node and could pass while the applicant's node is down:
: "${APPLICANT_PUBLIC_ADDRESS:?set this host's public SS58 address, as given to the administrator}"
OPERATOR_ADDRESS="$APPLICANT_PUBLIC_ADDRESS" WS_URL=ws://127.0.0.1:9944 DEVNET_ACTION=verify \
node --input-type=module < ../../infra/devnet/operator.mjs
Only the trusted devnet root can run fund, promote, or refresh. The helper checks the root key and that the joining account is the next queued candidate. The applicant's seed stays on their host. A public, reproducible validator release bundle is still in preparation.
FLOP session keys are babe (sr25519 block authoring), audi (sr25519 authority discovery), and alp0 (ed25519 AlephBFT). Aleph Zero's operator guides use an Aura key and a separate validator port; those are not FLOP settings. The FLOP Aleph transport uses the node's libp2p peer port.
Verify and operate
The helper's verify action waits up to two BABE session boundaries after promotion. It confirms session.validators, the registered BABE authority key, and the matching Aleph runtime authority key. aleph.currentCommittee alone is an account snapshot, not proof that a finality key is live. Read local health and finality twice:
curl -fsS -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"system_health","params":[]}' \
http://127.0.0.1:9944 | jq .result
curl -fsS -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":2,"method":"chain_getFinalizedHead","params":[]}' \
http://127.0.0.1:9944 | jq -r .result
(cd ../../infra/devnet && docker compose logs --tail=100 validator da-validator)
The log command above assumes the shell is still in sdk/miner-worker after the join block. If starting a fresh shell at the repository root, use (cd infra/devnet && docker compose logs --tail=100 validator da-validator).
Healthy peers, no ongoing sync, and a finalized-head change over a short interval show the node is connected and the network is finalizing. The helper checks account membership and key activation. Monitor free disk space, DA availability, peer count, best and finalized heights, and logs; keep metrics private.
Back up the account seed, node keystore and persistent volume, libp2p node key, and DA worker data with controlled access. Test restoration offline. A chain database snapshot alone does not restore signing or DA custody. Pin images during upgrades, move one validator at a time, and re-check peers and finality after each restart. A standby must stay keyless until the original has stopped and cannot sign. Follow the network's published exit and unbonding policy before retiring an active validator.
| Symptom | Check |
|---|---|
| No peers | Reachable PUBLIC_ADDR, BOOTNODES, P2P firewall, matching chain and genesis |
| Registered but idle | Promotion, two session boundaries, babe/audi/alp0 keys on the local node |
| Best height rises, finality does not | Committee key activation and peers on independent nodes; shared provider outage |
| DA worker fails | Private seed, connection to its local node, advertised DA endpoint, persistent volume |
| Join RPC fails | Local unsafe-method window for key generation only, then safe mode restored |
For the role's stake and committee rules, see Staking and slashing.