#validation #ethereum #slashing-protection #web3signer

app nklave-server

Main server binary for Nklave with TLS, metrics, and configuration

1 unstable release

0.1.0 Feb 7, 2026

#916 in Magic Beans

MIT license

565KB
9K SLoC

nklave-server

Crates.io

Main server binary for Nklave with TLS, metrics, and configuration.

Installation

cargo install nklave-server

Usage

# Start with default configuration
nklave --keys-dir ./keys --data-dir ./data

# With environment variables
NKLAVE_LISTEN_ADDR=0.0.0.0:9000 \
NKLAVE_KEYSTORE_PASSWORD=secret \
nklave

Binaries

  • nklave - Main server binary
  • generate-test-keys - Generate test validator keystores
  • slashing-protection - EIP-3076 import/export utility

Configuration

Environment Variable Default Description
NKLAVE_LISTEN_ADDR 127.0.0.1:9000 Server listen address
NKLAVE_KEYS_DIR ./keys Validator keystores directory
NKLAVE_DATA_DIR ./data State and logs directory
NKLAVE_KEYSTORE_PASSWORD - Keystore decryption password
NKLAVE_API_TOKENS - Comma-separated bearer tokens
NKLAVE_METRICS_ADDR - Prometheus metrics endpoint
NKLAVE_CHECKPOINT_INTERVAL 300 Checkpoint interval in seconds

License

MIT License - Cryptuon

Dependencies

~33–52MB
~875K SLoC