FrostBit

Quick Node Deployment

Updated 2026-11-22Open in Explorer

Run the Docker image from the FrostBit mainnet release on Linux / Ubuntu. Prepare the mainnet configuration and keys, start synchronization, then register the node.

ItemValue
PrepareUbuntu host, frostbit-node from the release, the published image digest and five configuration files, and separately stored key files
Open ports19000/TCP and 19000/UDP
Minimum total stakeCurrently 32 FB by default
AutomatedPinned-image pull, strict configuration checks, address derivation, unique public-IP selection, secret installation, node startup, and duplicate-safe registration

Prepare once

From the FrostBit mainnet release, obtain frostbit-node, the image reference including its sha256 digest, and the matching config.json, genesis.json, frost_default.json, witness_default.json, and peers.json. Put the five public files in one directory and keep the node secp256k1 private key outside the release directory. When FROST is enabled, retain the original independent 32-byte wrap key: the tool never derives, generates, or overwrites it. Use an independent long-lived 0x reward address.

  • The private-key file must contain exactly one 64-character hexadecimal token, must not be a symlink, and must not be group/world-writable. Never put the key in argv, environment variables, the repository, or an image.
  • Fund the derived hot address with at least 32 FB plus fees. 3200000000 raw units equals 32 FB.
  • Set FROSTBIT_NODE_IMAGE to the complete image reference from the mainnet release, including @sha256: and its digest. Start only once you have the image reference and matching mainnet configuration.
  • Verify that the configuration specifies mainnet chain ID 51025 and uses the trust root published with that release.
Bash
sudo apt-get update
sudo apt-get install -y docker.io
sudo systemctl enable --now docker
cd /path/to/extracted/frostbit-release

1. Pull the image and start synchronization with one command

frostbit-node pulls the release image by digest, validates all five public files, chain ID, and trust manifest inside that image, and passes the private key through a read-only file descriptor to derive the miner address. A single usable public IPv4 is selected automatically; NAT, multiple public addresses, or ambiguous detection require an explicit inbound-mapped endpoint. No source checkout, Git installation, or Go toolchain is required.

  • Omit --frost-wrap-key-file when FROST is disabled. Existing FROST data must keep its original wrap key; a database backup cannot decrypt signing shares without it.
  • For NAT, multiple public IPs, or failed automatic selection, append --advertise-endpoint YOUR_PUBLIC_IPV4:19000. The script never calls a third-party “what is my IP” service.
  • Image ID, configuration digest, identity, and endpoint are bound to the container and data volume. A mismatched rerun fails instead of silently replacing them or creating another identity.
Bash
sudo ./frostbit-node up \
  --image "${FROSTBIT_NODE_IMAGE:?}" \
  --network-dir /secure-import/network-release/config/runtime \
  --private-key-file /secure-import/miner/private_key \
  --frost-wrap-key-file /secure-import/miner/frost_wrap_key \
  --reward-address REPLACE_WITH_FIXED_0X_REWARD_ADDRESS

2. Register after synchronization

Inspect the logs first. After synchronization, same-height block-ID agreement, and public TCP/UDP reachability are verified, run registration. --confirm-ready acknowledges those external checks; registration is the only phase that signs and submits the 32 FB stake transaction.

  • The container is running and the node is not syncing; finalized height advances and its block ID matches several trusted nodes at the same height.
  • From another host, verify inbound TCP and UDP reachability for the advertised endpoint and check that peer, signature, state-root, and storage errors are not persistent.
  • The hot address can fund 32 FB plus fees, and you verified the reward address, mainnet configuration, and chain ID 51025. Commands read the node-generated configuration without Explorer.
  • A dynamic one- or two-block lag is display state, not a permanent registration lock. What matters is that synchronization is inactive and the common-height block ID matches.
  • Registration first queries current miner state. An exact identity, reward, and endpoint match is a no-op; any mismatch stops before MinerTx ADD can become an unintended top-up.
  • Submitted only means submitted. Save tx_id and use local status to check miner registration and locked stake; query the receipt with miner-register status --tx-id=<tx_id>. The webpage can provide an independent view.
  • After a timeout or disconnect, normal register refuses to create a new nonce. Only for an unresolved result, append --resubmit-unresolved; it sends the identical raw transaction from the state file.
  • Successful first registration starts in Probation. Stay synchronized and publicly reachable until protocol conditions promote it to Active; immediate block production is not guaranteed.
  • An already registered node does not register again on restart. Repeating the same command is a no-op only when the on-chain identity matches exactly.
Bash
sudo docker logs -f --tail 100 frostbit-node

# After acceptance, run this in another terminal:
sudo ./frostbit-node register --confirm-ready

Operations and security boundary

The tool installs configuration and keys at fixed read-only mount locations and uses a volume bound to the miner address, chain ID, image, and configuration digest. Use a trusted secret-fetch workflow when keys must not persist on the VPS. Never delete the state directory to bypass unresolved-transaction protection. For the native Linux binary, see Miner Key Encryption and Manual Unlock.

Bash
sudo docker stop frostbit-node
sudo docker start frostbit-node
sudo docker restart frostbit-node