Official Documentation Recommended Hardware: 8 cores (AMD64), 16 GB RAM, 128 GB SSD Version: v0.6.0-rc.3

Network

ParameterValue
NetworkTestnet Bradbury, Phase 2
Node network namebradbury-phase2
Chain ID4221
Node versionv0.6.0-rc.3 (release candidate)
HTTP RPChttps://rpc.testnet-chain.genlayer.com/
WebSocket RPC (API key required)wss://rpc.testnet-chain.genlayer.com/
Explorerhttps://scan.bradbury.genlayer.com/

Requirements

  • CPU: 8 cores / 16 threads, AMD64 only (ARM64 is not supported)
  • RAM: 16 GB (GenVM sub-VMs can use up to ~4 GB each)
  • Disk: 128 GB+ SSD or NVMe
  • Network: 100 Mbps minimum, 1 Gbps+ recommended
  • Software: 64-bit Linux, Docker with the Compose plugin, Node.js 20+ for the GenLayer CLI
PortPurposeExpose publicly?
9153Ops: /health, /metricsOnly if external monitoring polls it
9151Node JSON-RPCNo
9155AdminNo (bound to 127.0.0.1)
4444WebDriverNo, it is a controllable headless browser
12345Alloy UI (monitoring)No

A validator makes outbound connections only (chain RPC, LLM providers, monitoring push). It needs no inbound ports to take part in consensus.

Installation ๐Ÿ› ๏ธ

# install dependencies
sudo apt update && sudo apt install -y curl jq ca-certificates

# install Docker with the Compose plugin (if needed)
curl -fsSL https://get.docker.com | sh
docker compose version

# install Node.js 22 via nvm (if needed)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
source $HOME/.nvm/nvm.sh
nvm install 22

# install the GenLayer CLI release candidate (the stable CLI cannot read the Phase 2 contracts)
npm install -g genlayer@rc
genlayer --version

Download the node release

VERSION=v0.6.0-rc.3
mkdir -p $HOME/genlayer-node && cd $HOME/genlayer-node

curl -fL "https://storage.googleapis.com/gh-af/genlayer-node/bin/amd64/${VERSION}/genlayer-node-linux-amd64-${VERSION}.tar.gz" \
  -o /tmp/genlayer-node-${VERSION}.tar.gz
tar -xzf /tmp/genlayer-node-${VERSION}.tar.gz -C $HOME/genlayer-node --strip-components=1

docker pull yeagerai/genlayer-node:${VERSION}
ls

Download the protocol manifest

v0.6 refuses to start without the network's trusted protocol manifest, the release does not include it.

cd $HOME/genlayer-node
curl -fsSL https://docs.genlayer.com/validators/bradbury.protocol-manifest.json \
  -o configs/node/protocol-manifest.json

# the registry must equal the AddressManager, the chain id must be 4221
jq '{chainId, registry, version}' configs/node/protocol-manifest.json

Configure config.yaml

cd $HOME/genlayer-node
cp configs/node/config.yaml configs/node/config.yaml.orig

sed -i \
  -e 's|genlayerchainrpcurl: "FILLME"|genlayerchainrpcurl: "https://rpc.testnet-chain.genlayer.com/"|' \
  -e 's|genlayerchainwebsocketurl: "FILLME"|genlayerchainwebsocketurl: "wss://rpc.testnet-chain.genlayer.com/"|' \
  -e 's|provider: "FILLME"|provider: "conduit"|' \
  -e 's|consensusaddress: ""|consensusaddress: "0x3F71AE080BD6270A91dBcc7960d88797828538E0"|' \
  -e 's|chainid: ""|chainid: "4221"|' \
  -e 's|# genesis: 47930|genesis: 47930|' \
  configs/node/config.yaml

Result:

rollup:
  genlayerchainrpcurl: "https://rpc.testnet-chain.genlayer.com/"
  genlayerchainwebsocketurl: "wss://rpc.testnet-chain.genlayer.com/"
  provider: "conduit"
consensus:
  consensusaddress: "0x3F71AE080BD6270A91dBcc7960d88797828538E0"
  manifestpath: "configs/node/protocol-manifest.json"
  chainid: "4221"        # decimal, as a string
  genesis: 47930

Configure .env

cd $HOME/genlayer-node
cp .env.example .env
sed -i 's|^NODE_VERSION=.*|NODE_VERSION=v0.6.0-rc.3|' .env
nano .env

Set at least:

NODE_VERSION=v0.6.0-rc.3
# encrypts the operator keystore; a validator refuses to start without it
NODE_PASSWORD=<YOUR_NODE_PASSWORD>
# WebSocket RPC key
GENLAYERNODE_ROLLUP_GENLAYERCHAINRPCKEY=<CONDUIT_API_KEY>

# at least TWO working LLM providers, for example:
GEMINIKEY=<YOUR_GEMINI_KEY>
OPENROUTERKEY=<YOUR_OPENROUTER_KEY>

The HTTPS RPC works anonymously, but the WebSocket rejects connections without a key (HTTP 401/403), and the node cannot start without the WebSocket. Create a key at app.conduit.xyz/rpc-keys or ask GenLayer validator support for one. The key goes only into .env: the node sends it in the X-AccessKey header. Never put it in the RPC URLs or in config.yaml, and never post a key GenLayer shared with you.

KEY=<CONDUIT_API_KEY>
curl --http1.1 -s -o /dev/null --max-time 10 -w "%{http_code}\n" -H "X-AccessKey: $KEY" \
  -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Sec-WebSocket-Version: 13" \
  -H "Sec-WebSocket-Key: $(openssl rand -base64 16)" https://rpc.testnet-chain.genlayer.com/
# 101 = key works; 401/403 = missing or invalid key
# --http1.1 is required: over HTTP/2 the WebSocket upgrade is impossible and you always get 405

Optional hardening:

# keep RPC, WebDriver and the Alloy UI on localhost only
sed -i \
  -e 's|- "${WEBDRIVER_PORT:-4444}:4444"|- "127.0.0.1:${WEBDRIVER_PORT:-4444}:4444"|' \
  -e 's|- "${NODE_RPC_PORT:-9151}:9151"|- "127.0.0.1:${NODE_RPC_PORT:-9151}:9151"|' \
  -e 's|- "12345:12345"|- "127.0.0.1:12345:12345"|' \
  docker-compose.yaml

Create or import the operator key

The operator is the hot wallet that signs votes: it lives on the server and needs a little GEN for gas. It is separate from the owner wallet, which holds the stake and should stay off the server.

cd $HOME/genlayer-node
set -a; . ./.env; set +a

# option A: create a new operator key
./bin/genlayernode account new --setup -p "$NODE_PASSWORD"
# โ†’ Operator address: 0x...   (this is your <OPERATOR_ADDRESS>)

# option B: import an existing keystore
./bin/genlayernode account import --setup -p "$NODE_PASSWORD" \
  --path /path/to/operator-keystore.json --passphrase "<KEYSTORE_PASSPHRASE>"

# check
./bin/genlayernode account list

Give the node container ownership of data/

The v0.6 container runs as uid 10001, not root. Do this after creating the key, because the keystore is created by your user:

cd $HOME/genlayer-node
sudo chown -R 10001:10001 ./data

Create validator

Always pass --rpc explicitly: the old chain shares chain ID 4221, so a command sent to the wrong RPC can succeed silently on the wrong chain.

# the RPC key goes into the URL path: the public endpoint rate-limits anonymous CLI traffic
RPC="https://rpc.testnet-chain.genlayer.com/<CONDUIT_API_KEY>"

# import the owner wallet (better on your local machine, not on the validator server)
genlayer account import --name <OWNER_ACCOUNT> --keystore /path/to/owner-keystore.json
genlayer account show --account <OWNER_ACCOUNT> --rpc "$RPC"

# fund the operator with gas (10โ€“100 GEN is plenty)
genlayer account send <OPERATOR_ADDRESS> 100gen --account <OWNER_ACCOUNT> --rpc "$RPC"

# check the current minimum stake
genlayer staking epoch-info --rpc "$RPC"

Vesting-funded: GenLayer granted you vested GEN, locked tokens can be staked directly:

genlayer vesting list --account <OWNER_ACCOUNT> --rpc "$RPC"
genlayer vesting validator join <OPERATOR_ADDRESS> --amount 50000gen \
  --account <OWNER_ACCOUNT> --rpc "$RPC"

Liquid stake: GEN in your wallet:

# interactive; or: genlayer staking validator-join --help
genlayer staking wizard

Both print validatorWallet: 0x..., this is your <VALIDATOR_WALLET>.

Add the validator wallet to config.yaml, under the node: section, next to operatorAddress:

nano $HOME/genlayer-node/configs/node/config.yaml
#   node:
#     ...
#     validatorWalletAddress: <VALIDATOR_WALLET>
#     operatorAddress: <OPERATOR_ADDRESS>

Set the validator identity

Without an identity the validator appears as (moniker unset). The command replaces the whole identity, so pass every field each time.

# vesting-funded validators
genlayer vesting validator set-identity <VALIDATOR_WALLET> \
  --moniker "<NAME>" --website "<URL>" --description "<TEXT>" \
  --email "<EMAIL>" --twitter "<HANDLE>" --telegram "<HANDLE>" --github "<HANDLE>" \
  --logo-uri "<LOGO_URL>" --account <OWNER_ACCOUNT> --rpc "$RPC"

# liquid-stake validators: same flags with
# genlayer staking set-identity <VALIDATOR_WALLET> ...

LLM providers

Validators execute AI-powered contracts, so the node needs working LLM providers. Configure at least two: if your only provider goes down, the node votes Timeout on every LLM transaction, and Timeout votes are penalized.

v0.6 builds one priority chain over all enabled models and moves to the next model on any failure. Backends are ordered by meta.priority (higher first, missing counts as 0), ties by backend name in reverse alphabetical order. With the defaults a dead or keyless backend can go first on every prompt, so set priorities explicitly and disable backends you have no key for.

cd $HOME/genlayer-node
docker run --rm --entrypoint cat yeagerai/genlayer-node:v0.6.0-rc.3 \
  /app/opt/genvm/current/config/genvm-module-llm.yaml > genvm-module-llm-docker.yaml
nano genvm-module-llm-docker.yaml

In the backends: section set enabled: false on every backend you have no key for and add meta: { priority: N } to the ones you use. An OpenAI-compatible provider:

  my-provider:
    enabled: true
    host: https://api.example.com          # base URL, without /v1/chat/completions
    provider: openai-compatible
    key: ${ENV[MY_PROVIDER_KEY]}           # and add MY_PROVIDER_KEY=... to .env
    models:
      some-org/some-model:
        supports_json: true
        supports_image: false
    meta:
      priority: 20

Mount the file in docker-compose.yaml: add a line to the volumes: of the genlayer-node service, next to the genvm-module-web-docker.yaml mount:

      - ./genvm-module-llm-docker.yaml:/app/opt/genvm/current/config/genvm-module-llm.yaml:ro

Start node

cd $HOME/genlayer-node
# node + WebDriver
docker compose --profile node up -d
# with telemetry: docker compose --profile node --profile monitoring up -d

docker logs -f genlayer-node

The first start takes 2โ€“3 minutes, GenVM is precompiled for your CPU. Look for:

GenLayer Chain WebSocket mux connected
deployment admission verified chain=4221 ... entries=97
Node is synced!!!
Primed for epoch ...

Verify

# health (v0.6 format: "status": "healthy", details in "conditions")
curl -s --max-time 30 http://127.0.0.1:9153/health | jq '{status, validator_moniker, conditions: (.conditions | map_values(.state))}'

# full diagnostics: every line should be โœ“
docker exec genlayer-node /app/bin/genlayernode doctor

# on-chain state
genlayer staking validator-info <VALIDATOR_WALLET> --rpc "$RPC"
genlayer staking epoch-info --rpc "$RPC"
genlayer staking active-validators --rpc "$RPC" | grep -i <VALIDATOR_WALLET>
genlayer staking validator-history <VALIDATOR_WALLET> --rpc "$RPC"

doctor should report, among other things:

โœ“ GenLayer Chain WebSocket: Connected to wss://rpc.testnet-chain.genlayer.com
โœ“ chain 4221, 97 contracts match the trusted manifest
โœ“ Validator: "<NAME>" (<VALIDATOR_WALLET>)
โœ“ Self-stake / Operator balance / Sync: healthy / Primed: healthy
โœ“ LLM Providers: 2 of 2 enabled backends usable
โœ“ WebDriver: Successfully rendered test page

Monitoring

The release ships a Grafana Alloy service that pushes metrics and logs to the GenLayer Foundation. Ask for credentials in the #bradbury Discord channel, then fill in .env:

CENTRAL_MONITORING_URL=...
CENTRAL_MONITORING_USERNAME=...
CENTRAL_MONITORING_PASSWORD=...
CENTRAL_LOKI_URL=...
CENTRAL_LOKI_USERNAME=...
CENTRAL_LOKI_PASSWORD=...
NODE_ID=<NAME>
VALIDATOR_NAME=<NAME>
NETWORK_NAME=bradbury-phase2
LOG_FILE_PATTERN=/var/log/genlayer/node.log
  • All CENTRAL_* values are required, Alloy refuses to start if any is empty.
  • Use LOG_FILE_PATTERN=/var/log/genlayer/node.log, not the default node*.log: logs rotate every few minutes and the wildcard makes Alloy latch onto a rotated file that then disappears.

Start with docker compose --profile node --profile monitoring up -d.

Grafana Cloud rejects log entries over 256 KB and Alloy then drops the whole batch. Some debug GenVM dumps exceed that size, so route the file source through a drop stage in alloy-config.river:

loki.source.file "genlayer" {
  targets    = discovery.relabel.add_labels.output
  forward_to = [loki.process.trim.receiver]      // was: loki.write.central.receiver
  tail_from_end = true
}

loki.process "trim" {
  forward_to = [loki.write.central.receiver]
  stage.drop {
    longer_than         = "256KB"
    drop_counter_reason = "line_too_long"
  }
}

Then recreate the container: docker compose --profile monitoring up -d --force-recreate alloy. The config is mounted read-only, a plain restart does not pick it up.

Maintenance

Reload the LLM config without restarting the node. Edit genvm-module-llm-docker.yaml in place: editors that write a new file and rename it leave the container reading the old copy.

docker exec genlayer-node sh -c '
wget -q -O - --post-data="{\"module_type\": \"Llm\"}" --header="Content-Type: application/json" http://127.0.0.1:3999/module/stop
wget -q -O - --post-data="{\"module_type\": \"Llm\", \"config\": null}" --header="Content-Type: application/json" http://127.0.0.1:3999/module/start'
docker exec genlayer-node /app/bin/genlayernode doctor | grep -A4 "LLM Providers"

A new or changed key in .env is only read at container start: docker compose --profile node up -d --force-recreate genlayer-node.

docker logs genlayer-node shows INFO and above, DEBUG goes to data/node/logs/node.log (rotated and gzipped, about 3 hours retained). Save the logs before restarting when diagnosing: a recreate wipes docker logs.

Upgrade

Currently documented: v0.6.0-rc.3. Always diff against the official changelog before upgrading:

Changelog ยท Upgrade guide

Before you upgrade to v0.6.0-rc.3

Upgrade steps

cd $HOME/genlayer-node

# download the new release
curl -fL "https://storage.googleapis.com/gh-af/genlayer-node/bin/amd64/v0.6.0-rc.3/genlayer-node-linux-amd64-v0.6.0-rc.3.tar.gz" \
  -o /tmp/genlayer-node-v0.6.0-rc.3.tar.gz
tar -xzf /tmp/genlayer-node-v0.6.0-rc.3.tar.gz -C $HOME/genlayer-node --strip-components=1

docker pull yeagerai/genlayer-node:v0.6.0-rc.3

# point .env at the new image and restart
sed -i 's|^NODE_VERSION=.*|NODE_VERSION=v0.6.0-rc.3|' .env
docker compose --profile node up -d --force-recreate genlayer-node
# with monitoring: docker compose --profile node --profile monitoring up -d --force-recreate genlayer-node alloy

docker logs -f genlayer-node

Verify with the same commands as after a fresh install, plus the new JSON doctor output:

docker exec genlayer-node /app/bin/genlayernode doctor --output json | jq .

What's new in v0.6.0-rc.3

  • doctor --output json gives one JSON document with a stable code and action per finding, for scripts and monitoring.
  • doctor checks that the operator key unlocks when NODE_PASSWORD is set; without it, it only warns.
  • The RPC key can be rotated without a restart: put it in a file and set rollup.genlayerchainrpckeyfile in config.yaml, the node re-reads it within 30 s.
  • genlayernode snapshot restore installs a genvm snapshot into an empty data directory, the node then syncs on from there.
  • Fewer chain RPC calls: repeated transaction reads are cached, and reorg checks are skipped below the finalized block.
  • A leader no longer gets a strike for a missed reveal when the commit phase ends on a timeout with enough commits.
  • A new validator whose stake is still a pending deposit gets a warning in doctor and /health, not a failure.
  • A chain read error no longer risks running a contract on stale state: the read fails instead.
  • The record of transactions your node signed now lives in ops.db, so deleting genvm.db to force a resync keeps it.
  • Security: Go 1.26.10 (fixes GO-2026-6809) and echo v4.16.3 (fixes GHSA-246p-cpwv-v3jq, a rate-limit bypass via a spoofed X-Forwarded-For header).

Optional, only if restoring from a snapshot into a fresh data directory:

# into an EMPTY data directory only
docker exec genlayer-node /app/bin/genlayernode snapshot restore <SNAPSHOT_PATH>

Rotate the RPC key without downtime:

# in config.yaml: rollup.genlayerchainrpckeyfile: "/app/configs/node/rpc.key"
echo -n "<CONDUIT_API_KEY>" > $HOME/genlayer-node/configs/node/rpc.key
# the node re-reads this file within 30 s, no restart needed

Delete node

cd $HOME/genlayer-node
docker compose --profile node --profile monitoring down
sudo rm -rf $HOME/genlayer-node
Copyright ยฉ 2026 ITRocket LLC. All Rights Reserved.