Looking for the legacy
postfiatdtestnet chain? See the Legacy Testnet Validator Setup (/validator-setup/). This page is the single canonical guide forpostfiatl1v2validators and read-replica RPC nodes.
Overview & Rewards
Running an active Post Fiat L1v2 validator requires no stake and no financial bond. Approved outside operators who keep their validator online and voting earn three things per operator:
- Finance Hub access — the full GoodAlexander company/crypto model desk, daily Today feed, Goodbrief macro roundup, and GoodAlexander Library.
- GoodAlexander Research API keys — programmatic research access reserved exclusively for active validators.
- $20/month in Task Node USD credit — usable directly on Task Node (including Deep Research), granted once per operator (not per node) across old and new chains during migration.
Single Binary Invariant (postfiat-node)
There is no separate RPC codebase. Validators, private loopback RPC nodes, and public TLS read-replica RPC nodes all run the exact same postfiat-node binary (linux-x86_64 or linux-aarch64), installed and upgraded from the exact same 2-of-3 offline ML-DSA-65 signed release channel.
1. Requirements, Measured Hardware Sizing & Firewall
Recommended Hardware
| Resource | Minimum (Validator Only) | Recommended (Validator + Read-Replica RPC) | Notes |
|---|---|---|---|
| OS | Ubuntu 22.04 LTS / 24.04 LTS (x86_64 or aarch64) | Ubuntu 24.04 LTS (x86_64 or aarch64) | Native systemd with cgroup v2 required for consensus/RPC isolation |
| CPU | 4 vCPU (dedicated or low-steal) | 8 vCPU | ML-DSA-65 signature verification + isolated RPC cgroup |
| RAM | 8 GB | 16 GB | Consensus + redb page cache; RPC replica capped at MemoryHigh=3G / MemoryMax=4G |
| Disk | 250 GB NVMe SSD | 500 GB NVMe SSD | postfiat-node upgrade enforces >= 2× chain-data free space + binary + 512 MiB before every upgrade |
| Network | 100 Mbps symmetric, 1 TB/mo | 1 Gbps symmetric, 2+ TB/mo | Low-jitter connectivity; latency-fair uptime scoring does not penalize distant regions |
| Est. Monthly Cost | ~$25–$40/mo | ~$45–$75/mo | Bare-metal or non-crowded cloud VPS (distinct provider/region improves set diversity) |
Ports & Firewall Posture
| Port / Surface | Exposure | Purpose |
|---|---|---|
SSH (default 22/tcp) | Operator IP / key-only | Administration and postfiat-node top SSH dashboard (no web dashboard port) |
Consensus P2P (26656/tcp or network-assigned peer port) | Public inbound/outbound | Validator consensus gossip and block replication |
Private RPC (127.0.0.1:27650) | Loopback only | Local postfiat-node top, rpc-probe, and private read-replica queries |
Public RPC (127.0.0.1:27651 → TLS edge :443/tcp) | Opt-in public :443 via postfiat-edge | Optional public TLS 1.3 read-replica RPC; node itself never binds 0.0.0.0 |
Signer socket (/run/postfiat-signer/signer.sock) | Local Unix socket (0600) | Isolated postfiat-signer UID only; never TCP, never network-exposed |
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow 22/tcp comment 'SSH'
sudo ufw allow 26656/tcp comment 'Post Fiat L1v2 P2P'
# Only open 443/tcp if opting into a public TLS read-replica RPC edge:
# sudo ufw allow 443/tcp comment 'Post Fiat Public RPC TLS'
sudo ufw --force enable
sudo ufw status verbose
2. Keys, Two-User Signer Isolation & Custody
Post Fiat L1v2 separates long-lived validator identity from live consensus signing using two distinct OS users and an immutable double-sign guard directory:
- Offline Master Key: Held offline by the operator. Used only for initial registration, manifest updates, and hot consensus key rotation. Never stays on the live validator host.
- Hot Consensus Key (
validator-signer-serve): Runs inside a dedicated signer process under OS userpostfiat-signer(distinct from consensus node userpostfiatand RPC replica userpostfiat-rpc). Communicates over a local permission-scoped Unix socket. - Immutable Double-Sign Guard Directory (
/var/lib/postfiat/signer-guard/): Stores monotonic round-floor state preventing equivocation. This directory MUST be disjoint from--data-dirand--backup-dirand is NEVER copied, backed up, or rolled back during upgrades. - Custody boundary note: Hardware Security Module (HSM) custody is not yet implemented in
postfiat-nodev1; software key isolation via the separatepostfiat-signerUID and offline master key is the supported production boundary.
Create Dedicated OS Users and Directories
sudo useradd --system --home-dir /nonexistent --shell /usr/sbin/nologin postfiat
sudo useradd --system --home-dir /nonexistent --shell /usr/sbin/nologin postfiat-signer
sudo useradd --system --home-dir /nonexistent --shell /usr/sbin/nologin postfiat-rpc
sudo mkdir -p /etc/postfiat \
/var/lib/postfiat/validator-0 \
/var/lib/postfiat/signer-guard \
/var/lib/postfiat/backups \
/var/lib/postfiat-rpc/replica \
/var/log/postfiat-rpc
sudo chown postfiat:postfiat /var/lib/postfiat/validator-0 /var/lib/postfiat/backups
sudo chown postfiat-signer:postfiat-signer /var/lib/postfiat/signer-guard
sudo chmod 0700 /var/lib/postfiat/signer-guard
sudo chown postfiat-rpc:postfiat-rpc /var/lib/postfiat-rpc/replica /var/log/postfiat-rpc
3. Install from the 2-of-3 Signed Release Channel
Every tagged public release (linux-x86_64 and linux-aarch64) publishes:
postfiat-node-linux-x86_64andpostfiat-node-linux-aarch64binaries;- Packaged
systemdunit templates (validator, two-user signer, private RPC replica, public RPC replica) and Docker Compose profiles; - Deterministic CycloneDX SBOM (
postfiat-cargo-sbom.cdx.json) andSHA256SUMS; - Pinned finalized catch-up checkpoint (
height,block_hash,state_root,certificate_id,committee_epoch); release-manifest.json(postfiat.release_manifest.v3) co-signed by 2-of-3 offline ML-DSA-65 release keys (release_lead,independent_builder,security_custodian) under signing contextpostfiat-l1-v2/release-manifest/v3.
Pin the Release Keyset and Verify the Binary
- Install the pinned 2-of-3 release keyset (
postfiat.release_keyset.v1) at/etc/postfiat/release-keyset.json(0644,root:root) and the 3-observer trust keyset at/etc/postfiat/observer-keyset.json(0644,root:root). Verify keyset fingerprints out-of-band against the signed release announcement. - Fetch the release manifest and architecture-matched binary:
ARCH="$(uname -m)"
case "$ARCH" in
x86_64) PF_ARCH="linux-x86_64" ;;
aarch64) PF_ARCH="linux-aarch64" ;;
*) echo "Unsupported architecture: $ARCH" >&2; exit 1 ;;
esac
RELEASE_BASE="https://releases.postfiat.org/latest"
curl -fsSL "$RELEASE_BASE/release-manifest.json" -o /tmp/release-manifest.json
curl -fsSL "$RELEASE_BASE/postfiat-node-${PF_ARCH}" -o /tmp/postfiat-node
chmod 0755 /tmp/postfiat-node
# Fail-closed 2-of-3 ML-DSA-65 signature + SHA-256 verification before installing:
/tmp/postfiat-node deployment-manifest-verify \
--manifest-file /tmp/release-manifest.json \
--trusted-publisher-key-file /etc/postfiat/release-keyset.json \
--runtime-binary-file /tmp/postfiat-node
sudo install -m 0755 -o root -g root /tmp/postfiat-node /usr/local/bin/postfiat-node
sudo install -m 0644 -o root -g root /tmp/release-manifest.json /etc/postfiat/release-manifest.json
rm -f /tmp/postfiat-node /tmp/release-manifest.json
4. Join the Validator Set (No Stake / No Bond)
Post Fiat L1v2 validator admission is stake-free. The launch minimum set size is 12 validators with at most 2 seats per correlated operator group (the Foundation scales down from 6 devnet nodes to at most 2 correlated seats as outside validators join).
Path A — Genesis Cohort (G0, Old-Chain Dynamic UNL Validators)
Approved validators from the old-chain Dynamic UNL round join G0 by signing an IdentityReceiptV1 binding their legacy validator key to their new post-quantum ML-DSA-65 validator key:
postfiat-node identity-receipt \
--legacy-key-file /secure/offline/validator-keys.json \
--new-validator-pubkey-file /etc/postfiat/validator-master.pub \
--chain-id postfiat-testnet-1 \
--out /tmp/identity-receipt.json
Path B — Open Admission (Admission Policy V1 + Ratification)
Subsequent outside operators apply with zero stake:
- Generate your node manifest, infrastructure attestation, and ML-DSA-65 key proof.
- Submit your admission packet for deterministic Admission Policy V1 evaluation (
admit/hold/reject). Verified Task Node standing counts as positive evidence. - Current active validators explicitly ratify admitted operators via the on-chain Cobalt validator registry transition.
Hot Consensus Key Rotation
Rotate your hot consensus key without exposing your offline master key using validator-key-stage followed by the signed on-chain registry transition:
# 1. Stage a fresh hot key inside the isolated signer directory
sudo -u postfiat-signer postfiat-node validator-key-stage \
--signer-guard-dir /var/lib/postfiat/signer-guard
# 2. Sign the key-rotation registry transition with your offline master key and submit
# 3. Verify `signer_key_matches_registry = true` in `postfiat-node top`
5. Safe Manual Upgrades (postfiat-node upgrade)
Upgrades are always manual. A validator never auto-reboots mid-consensus.
Read-Only Preflight Check
Run --check first to inspect whether the latest verified release is a rolling upgrade or an activation-height upgrade (activation_height H, advance warning window, and halt_if_missed behavior) and verify free disk headroom:
postfiat-node upgrade --check \
--keyset-file /etc/postfiat/release-keyset.json \
--data-dir /var/lib/postfiat/validator-0 \
--signer-guard-dir /var/lib/postfiat/signer-guard \
--backup-dir /var/lib/postfiat/backups
Apply a Verified Upgrade
sudo postfiat-node upgrade \
--keyset-file /etc/postfiat/release-keyset.json \
--data-dir /var/lib/postfiat/validator-0 \
--signer-guard-dir /var/lib/postfiat/signer-guard \
--binary-path /usr/local/bin/postfiat-node \
--backup-dir /var/lib/postfiat/backups \
--service-units postfiat-validator-0.service,postfiat-validator-0-rpc.service \
--rpc-host 127.0.0.1 \
--rpc-port 27650 \
--health-timeout-ms 60000
What postfiat-node upgrade enforces in strict order:
- Verifies 2-of-3 ML-DSA-65 signatures on
postfiat.release_manifest.v3, checkschain_idandgenesis_hash, downloads the candidate binary, and verifiesbinary_sha256andbinary_size_bytes. - Verifies
--signer-guard-dir(/var/lib/postfiat/signer-guard/) is strictly disjoint from--data-dirand--backup-dir(hard refusalexit 3on overlap). Signer guard state is never copied, backed up, or rolled back. - Confirms free disk space satisfies
free_bytes >= 2 * data_dir_bytes + binary_bytes + 512 MiBbefore stopping any service. - Stops systemd units cleanly, backs up chain state only plus the previous binary with SHA-256 checksums, swaps the binary via atomic
rename(2)+fsync, and restarts services. - Verifies
rpc-probe, matchinggit_revision, monotonicblock_height, andsigner_double_sign_protection = true. If any check fails within--health-timeout-ms, it automatically rolls back both the prior binary and pre-upgrade chain state together while leaving/var/lib/postfiat/signer-guard/untouched.
postfiat-node upgrade Exit Codes
| Exit Code | Meaning |
|---|---|
0 | Upgrade applied and healthy (or already up-to-date in --check mode) |
2 | Invalid CLI arguments or configuration error |
3 | Security refusal: invalid 2-of-3 signature, checksum mismatch, chain mismatch, or signer-guard path overlap |
4 | Preflight failure: insufficient free disk space (< 2× chain data) or unhealthy pre-upgrade state |
5 | Post-upgrade health check failed; automatic binary + chain-state rollback succeeded |
6 | Critical: post-upgrade health check failed AND rollback verification failed (operator intervention required) |
10 | --check mode: newer verified rolling or non-urgent upgrade available |
11 | --check mode: activation_height upgrade inside advance warning window (action required before halt height) |
6. Run a Read-Replica RPC Node (Same postfiat-node Binary)
Running a public RPC or --allow-private-action-admission endpoint is opt-in for outside validators at launch (the Foundation operates the first 2 public RPC + private-admission endpoints; outside operators can opt in and optionally monetize public RPC via Pillar 2 x402).
Consensus Isolation (Anti-DoS)
Public RPC traffic must never contend with consensus voting or the consensus node’s exclusive redb writer lock. Run one of two supported topologies:
- Topology A (Same host, cgroup-isolated):
postfiat-rpc-public.serviceruns as unprivileged userpostfiat-rpcwith strict systemd cgroups (CPUQuota=200%,CPUWeight=25,MemoryHigh=3G,MemoryMax=4G,IOWeight=50,TasksMax=512) while consensus runs atCPUWeight=200,IOWeight=500. - Topology B (Dedicated follower host): A separate server runs
postfiat-nodein non-voting follower mode, catching up from release-pinned checkpoints viapostfiat-node rpc-catch-up-certified-delta.
Non-Voting Follower Invariants
Both private-replica and public-replica profiles enforce at startup:
node_role = "rpc_follower",voting_enabled = false,validator_signer = "none";- Passing any signer key or socket flag fails closed immediately (
rpc_replica_signer_forbidden); - Plaintext RPC binds strictly to loopback (
127.0.0.1:27650private,127.0.0.1:27651public behind a TLS 1.3:443postfiat-edgeproxy withMAX_RPC_REQUEST_BYTES=65536and per-IP rate limits).
Catch Up from a Release-Pinned Checkpoint
sudo -u postfiat-rpc postfiat-node rpc-catch-up-certified-delta \
--data-dir /var/lib/postfiat-rpc/replica \
--manifest-file /etc/postfiat/release-manifest.json \
--keyset-file /etc/postfiat/release-keyset.json
Canonical Public Read-Replica Systemd Unit (/etc/systemd/system/postfiat-rpc-public.service)
[Unit]
Description=PostFiat Public Read-Replica RPC (non-voting follower)
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=300
StartLimitBurst=5
[Service]
Type=simple
User=postfiat-rpc
Group=postfiat-rpc
ExecStartPre=/usr/local/bin/postfiat-node deployment-manifest-verify \
--manifest-file /etc/postfiat/release-manifest.json \
--trusted-publisher-key-file /etc/postfiat/release-keyset.json \
--runtime-binary-file /usr/local/bin/postfiat-node
ExecStart=/usr/local/bin/postfiat-node rpc-serve \
--rpc-profile public-replica \
--data-dir /var/lib/postfiat-rpc/replica \
--spool-dir /run/postfiat-rpc-public/spool \
--ready-file /run/postfiat-rpc-public/ready.json \
--bind-host 127.0.0.1 \
--port 27651 \
--max-requests 100000 \
--timeout-ms 15000 \
--child-timeout-ms 15000 \
--max-child-dispatch-concurrent 8 \
--max-child-dispatch-per-peer 4 \
--max-replica-lag-blocks 5 \
--event-log /var/log/postfiat-rpc/rpc-events.ndjson \
--keep-alive
RuntimeDirectory=postfiat-rpc-public
RuntimeDirectoryMode=0700
Restart=always
RestartSec=1
TimeoutStopSec=30s
KillMode=control-group
CPUQuota=200%
CPUWeight=25
MemoryHigh=3G
MemoryMax=4G
IOWeight=50
TasksMax=512
LimitNOFILE=65536
LimitCORE=0
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ProtectControlGroups=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
RestrictSUIDSGID=true
LockPersonality=true
RestrictRealtime=true
SystemCallArchitectures=native
CapabilityBoundingSet=
AmbientCapabilities=
ReadWritePaths=/var/lib/postfiat-rpc/replica /var/log/postfiat-rpc /run/postfiat-rpc-public
UMask=0077
[Install]
WantedBy=multi-user.target
(Matching Docker Compose profiles docker-compose.rpc-private.yml and docker-compose.rpc-public.yml ship inside every signed release bundle.)
Published < 250ms Read-Path SLO Targets
| Method Class | Example Methods | p50 | p95 (SLA) | p99 |
|---|---|---|---|---|
| Status & readiness | status, server_info, metrics, private_readiness | <= 10 ms | <= 25 ms | <= 50 ms |
| Account, registry & fee reads | account, account_lines, validators, fee, fastpay_fee_quote | <= 25 ms | <= 100 ms | <= 200 ms |
| Keyed history reads | blocks (limit <= 8), receipts, tx | <= 35 ms | <= 150 ms | <= 250 ms |
| Bridge & route reads | vault_bridge_route, vault_bridge_status, bridge_status | <= 50 ms | <= 200 ms | <= 350 ms |
| Keyed egress witness | pfusdc_egress_witness, shield_turnstile, shield_disclose | <= 100 ms | <= 250 ms | <= 500 ms |
| Global Standard Read SLA | Combined 50 req/s steady read workload | <= 50 ms | < 250 ms | <= 500 ms |
Replica freshness lag target is <= 1 block p95; exceeding 5 blocks lag flips ready = false so the TLS edge drains traffic cleanly.
7. Monitor Over SSH (postfiat-node top)
postfiat-node top is a strictly read-only terminal UI over SSH. It binds no web port, issues no write RPCs, and never reads private keys or signer guard files.
# Live interactive SSH dashboard (default 2s refresh)
postfiat-node top \
--rpc-host 127.0.0.1 \
--rpc-port 27650 \
--data-dir /var/lib/postfiat/validator-0 \
--uptime-feed-url https://uptime.postfiat.org/v1/feed.json \
--observer-keyset-file /etc/postfiat/observer-keyset.json \
--release-manifest-url https://releases.postfiat.org/latest/release-manifest.json \
--release-keyset-file /etc/postfiat/release-keyset.json
# One-shot JSON snapshot (schema: postfiat-node-top-snapshot-v1) for scripts/alerts:
postfiat-node top --once --json
Interactive controls: q / Ctrl-C quit · r refresh now · p pause/resume · j/k scroll warnings.
Seven dashboard panels:
- Node & Release Banner —
node_id,role,chain_id,git_revision, uptime, and verified upgrade/activation-height countdown. - Height & Sync Lag —
finalized_height, tip hash, state root prefix,committee_epoch, and height lag vs observers. - Peers & Vote Signing — connected peers, quorum size, last-100-height vote rate, latest height-day bps, and 30-day mean bps.
- Signer Guard Health —
signer_mode(socket),signer_double_sign_protection,signer_key_matches_registry,separate_uid_enforced. - Disk & RPC Latency —
data_dir_bytes,fs_free_bytes,upgrade_headroom_ok(>= 2×),rpc_read_p95_ms, RSS, and retention mode. - Task Node Reward Eligibility — locally verified 2-of-3 observer quorum,
access_state(pending/active/lapsed/revoked), observed height-days (X/30), grace countdown & 3-day recovery streak,finance_hub_access, andreward_eligible. - Active Warnings —
FEED_STALE,FEED_UNAVAILABLE,LOW_DISK_FOR_UPGRADE,ACTIVATION_IMMINENT,PARTICIPATION_BELOW_95,SIGNER_SAME_USER,HEIGHT_LAG_HIGH.
8. Connect to Task Node (postfiat-node tasknode-bind)
To unlock Finance Hub, GoodAlexander Research API keys, and the $20/mo Task Node USD credit:
- Open Task Node → Research → Validator Settings (
postfiatl1v2tab) and copy your single-use binding challenge containing(account_id, chain_id, node_id, nonce, expiry). - Sign the challenge offline or on your validator host using the bundled
tasknode-bindcommand (uses the signer allow-list under FIPS 204 contextpostfiat-l1-v2/tasknode-validator-binding/v1and emits the optional Pillar 6 Hive identity validator-link co-signature underpostfiat-l1-v2/identity-link/v1):
postfiat-node tasknode-bind \
--challenge-file /tmp/tasknode-challenge.json \
--signer-socket /run/postfiat-signer/signer.sock \
--out /tmp/tasknode-binding-response.json
- Submit
/tmp/tasknode-binding-response.jsonin Task Node. Per-operator deduplication: rewards are capped at one grant per operator across old and new chains (bound to your Pillar 6 on-chain identity once live — running multiple nodes does not multiply the$20/mocredit).
9. Active-Liveness Rules, 3-Observer Feed & 14-Day Grace
Connecting once does not unlock Finance Hub forever. Active liveness is measured by 3 independent, geographically distributed read-only observers publishing the ML-DSA-65 signed postfiat-validator-uptime-v1 feed (postfiat-l1-v2/validator-uptime-feed/v1). Task Node and postfiat-node top require 2-of-3 verified observer agreement.
Latency-Fair Participation Metric
Rather than counting only precommit_qc.votes (which penalizes geographically distant validators when fast peers reach quorum first), observers credit any valid ML-DSA-65 signed consensus message submitted within each block-height round window:
prepare_voteprecommit_vote(whether or not included in the finalizedprecommit_qc.votes)timeout_voteconsensus_heartbeat
Scoring runs over deterministic block-height windows (height-days) with zero wall-clock drift using exact integer basis points (9500 bps = 95.00%). Steady-state requirement: >= 95% mean daily participation across at least 25 of the trailing 30 completed height-days while remaining active in the on-chain validator registry.
Access Lifecycle State Machine
| State | Registry Active | Finance Hub | Research API Keys | $20/mo Credit | Notes |
|---|---|---|---|---|---|
pending | No | Locked | Locked | Paused | Applicant not yet ratified into on-chain registry |
active | Yes | Unlocked | Active | Eligible | Immediate Day-0 ramp-in on ratification (exempt from 25-day history check for first 30 height-days while >= 95%) |
lapsed (14d grace) | Yes or No | Unlocked (grace) | Active (grace) | Paused | Operator warning triggered; fast recovery back to active after 3 consecutive height-days >= 95% |
revoked | Yes or No | Disabled | Invalidated | Paused | Triggered when 14-day grace expires; eligible for explicit validator-ratified removal proposal if still in registry |
Stale-Feed Safety Invariant
If the observer feed is stale (> 3600 seconds old) or fewer than 2 pinned observers agree:
- New validator bindings and new
$20/mocredit grants are paused; - Existing Finance Hub access and active Research API keys are NEVER revoked. An observer outage can never punish healthy validators.
10. Troubleshooting
upgradeexits3(guard_path_overlap): Move/var/lib/postfiat/signer-guardoutside--data-dirand--backup-dir. Never nest signer guard files inside chain data.upgradeexits4(insufficient_disk_space): Free disk space or prune old backups in/var/lib/postfiat/backups/until free space exceeds2 × data_dir + binary + 512 MiB.rpc-servefails withrpc_replica_signer_forbidden: Remove all--finality-key-file/--finality-signer-socketflags from read-replica systemd units. Replicas are strictly non-voting.topdisplaysFEED_STALEorFEED_UNAVAILABLE: Verify outbound HTTPS to the observer feed URL and/etc/postfiat/observer-keyset.json. Local node metrics continue operating unaffected.- Lapsed into 14-day grace after a multi-day outage: Bring the node back online cleanly; sustaining
>= 95%for 3 consecutive completed height-days immediately restoresactivestatus (reseting the trailing evaluation floor so a 6-day outage does not trap you for 25 days).