Skip to main content

Node Key Tools

Ethereum node key generator for secp256k1 keys with DAS support and multi-format compatibility.

Repository

Testing purposes only! - Not suitable for mainnet or production systems. Use only in development and testing environments.

Overview

nodekey-tools is a Go-based utility designed for Ethereum node operators to generate, manage, and convert network keys using the secp256k1 elliptic curve cryptography standard.

It supports conversion between multiple client-specific formats and provides network-level operations for coordinated key generation and PeerDAS column coverage analysis. The tools allows us to generate keys that target specific columns in the PeerDAS network.

Features

  • Random Key Generation: Generate random secp256k1 private keys with optional DAS column specifications
  • Key Information Extraction: Display public keys, node IDs, and custody assignments
  • Multi-Format Conversion: Convert between client-specific formats:
    • Binary format: Lighthouse, Grandine
    • libp2p JSON format: Lodestar
    • Keystore format: Nimbus
    • Hexadecimal format: Teku, Prysm
  • Network-Level Operations:
    • Generate distributed nodekey sets for DAS networks
    • Analyze column coverage across multiple nodes
    • Export/import network configurations via JSON
  • DAS Column Calculation: Automatically calculate which data columns each node should custody
  • Docker Support: Available as container image

Use Cases

  • Node Operators: Generate keys compatible with their chosen consensus client
  • Testnet Deployments: Create coordinated key sets for DAS networks with even column distribution
  • DAS Participation: Calculate and optimize data column assignments
  • Key Management: Convert existing keys between different client formats