eth2-key-manager icon indicating copy to clipboard operation
eth2-key-manager copied to clipboard

Blox KeyVault is a library wrapping all major functionality an eth 2.0 validator needs

Blox Eth Key Manager

Blox Eth Key Manager is a library wrapping all major functionality an eth 2.0 validator will need:

Installation

go get github.com/bloxapp/eth2-key-manager

Security and Architecture

eth2keymanager is the entry point to manage all operations, in it sits a unique wallet and accounts.
eth2keymanager <- Wallet <- [Accounts]

An account is the entity that ultimately signs transactions.
Wallets and accounts are derived according to EIP-2334:

  1. Withdrawal key: m/12381/3600/account_index/0
  2. Validation key: m/12381/3600/account_index/0/0

The seed is needed just to execute specific operations like creating new accounts or signing with the withdrawal key.

Examples:

  • Basic Use