How validators work
Seats, keys, genesis and releases. What a Zero validator is, what it does, and how it joins a network.
On this page
A Zero validator runs the settlement layer. It doesn't execute transactions: it checks the work of the zones' Block Producers, confirms each block's data is available, and votes with the other validators on the settlement ledger. Blocks become final once enough of the validators have signed them.
You run your validator on infrastructure you control, with two private keys that are generated there and never leave. The validator doesn't depend on any one cloud: LayerZero provides a quickstart for AWS that sets everything up in your own AWS account, and you can run it on another cloud or your own hardware instead.
›Transcript
- A Zero validator verifies proofs and votes on the settlement ledger.
- Each network has a fixed committee of validators. Your place in it is your seat.
- The committee is written into the network’s genesis, its starting record.
- Your validator holds two keys: an identity key and a consensus key.
- Only their public halves leave, in a signed public file. Private keys never do.
- You register your keys. Once uploads close, they’re fixed for the network’s life.
- LayerZero builds the genesis, and you start your validator before the genesis time.
- Once running, it connects only to identities in the genesis, verifies proofs and votes.
- Healthy means finalized height keeps rising, peers above zero, and signing on.
- It runs on infrastructure you control: AWS, another cloud, or your own hardware.
- LayerZero’s AWS quickstart sets it all up in your own account.
- Keys are made in your account, sealed with your own KMS key, decrypted only in memory.
- Only public keys and a few facts leave. LayerZero can’t use your keys or sign in.
- There’s no backup, and keys can’t be replaced after genesis. Guard who has access.
- One seat, two keys, on infrastructure you control. That’s a Zero validator.
- You run
- One validator, on one host you control
- You hold
- Two private keys that never leave your infrastructure
- LayerZero gets
- Your public keys and validator address, never a private key
- Fixed at
- The network's genesis: after it, your seat and keys can't change
Seats and the committee
Each network has a fixed list of validators, its committee. Your place in it is your seat. LayerZero invites you to a seat by your contact email, for one specific network. The seat is how LayerZero knows the keys you send are yours: you sign in to send them with a one-time code mailed to that address.
The committee is written into the network's genesis, its starting record. After that, your seat's keys can't be replaced.
Your two keys
Your validator holds two private keys. Both are generated on your own infrastructure, and LayerZero only ever sees their public halves.
| Key | What it does | Public part |
|---|---|---|
| Identity key | Your node's identity on the network. Other nodes check it when they connect, and turn away any identity not on the network's list. | Your validator address is derived from it: it's how the network, and LayerZero, refer to your validator. |
| Consensus key | Signs your validator's votes on blocks, and its confirmations that it holds each block's data. | Sent to LayerZero with a proof that you hold the private key. |
When your keys are generated, your setup writes a small public file: both public keys and your validator address, signed with both private keys. That file is all LayerZero receives. LayerZero checks the signatures and that neither key is already in use, then accepts it, and emails you what it accepted.
Keep them safe: they can't be replaced once the network starts. The AWS quickstart keeps no backup, by design: your keys are stored only in your AWS account, sealed with your own KMS key, and losing that account or key loses your validator. See Security model.
Genesis
A network's genesis is its starting record. Among other things, it lists every validator in the committee, with their public keys. LayerZero builds it from the public files it accepted, once every seat has sent one.
Your validator only joins a network whose genesis lists it. Before it starts, your host checks that its keys and the genesis it was given match what LayerZero released. The genesis time is when the network starts producing blocks. Your LayerZero contact tells you when it is. Have your validator running before then.
A network's lifecycle
- 01Inviteyour seat
- 02Register keysuploads open
- 03Uploads closekeys fixed
- 04GenesisLayerZero builds it
- 05Prepare & startbefore genesis time
- 06Runningsigning blocks
- Invite. LayerZero adds your contact email to a seat and sends you the lines to set up your terminal.
- Register your keys. You generate your keys on your infrastructure and send your public file. Until uploads close, you can run it again: new keys replace the ones accepted before.
- Uploads close. LayerZero closes uploads once every seat has registered. From here your keys are fixed for the network's life.
- Genesis. LayerZero builds the genesis from every seat's accepted keys and releases the validator software for the network. This can take days after you register. LayerZero tells you when it's ready.
- Prepare and start. You create your validator host, it checks itself against the release, and you turn it on before the genesis time.
- Running. Your validator connects to the committee and signs blocks.
What your validator does once it's running
Your validator is a long-running node on its own host. It:
- connects to the other validators and to LayerZero's own nodes over a peer-to-peer port. It only talks to identities listed in the genesis;
- verifies the zones' validity proofs, and votes on each new block with its consensus key;
- confirms it holds its share of each block's data, so the data stays retrievable.
Three numbers tell you it's healthy. Check your validator shows them.
| Shows | Healthy when |
|---|---|
| Finalized height | It keeps rising: the network keeps finalizing blocks, and your node keeps up |
| Peers | Above 0: your node is connected to the network |
| Signing | Enabled: your validator is signing with its consensus key |
A validator that's offline doesn't sign, so it doesn't count toward the committee's agreement while it's down. Keep it running, and tell LayerZero if you plan maintenance.
Releases
LayerZero ships the validator software as a release: a fixed version of the software, together with the network's genesis. Your host only runs releases LayerZero published, pinned so they can't change under the same name. When LayerZero publishes a new release, it tells you. With the AWS quickstart, one command moves your host onto it. See New releases.
Where it runs
A validator needs one always-on host that can reach the network on its peer-to-peer port, and safe custody for its two keys. Nothing in it depends on a particular cloud: you can run it on AWS, another cloud, or your own hardware.
LayerZero provides a quickstart for AWS that does the whole setup for you, in your own AWS account:
- an onboarding tool you run from your terminal. It sets everything else up and talks to LayerZero for you;
- a short-lived key-generation machine that generates your keys, seals them with your own KMS key, then shuts down;
- your validator host: one server that runs the validator.
LayerZero can't sign in to these machines or use your keys, and your team decides who in the account may run the onboarding tool. AWS quickstart walks through it, and Security model covers what it creates.
To run on other infrastructure, talk to your LayerZero contact. The validator software and the network's genesis are the same. You supply the host and the key custody yourself, and LayerZero agrees with you how you register your public keys.