Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
EIP-2334 defines a hierarchical path convention for assigning purposes to keys derived through EIP-2333. It is intended for Ethereum's proof-of-stake system and other projects using BLS12-381 signatures.
This article translates, summarizes, and expands on the following proposal.
More EIP explainers:
Overview
EIP-2333 defines a deterministic tree of BLS12-381 keys. EIP-2334 specifies which key in that tree should be used for a particular purpose by expressing its location as a derivation path.
Given the same seed and path, an implementation can deterministically derive the corresponding key pair. This provides a common convention for managing keys assigned to different purposes.
The specification is intended to support projects beyond Ethereum's original Ethereum 2.0 initiative, including other applications of BLS signatures. The proposal also envisages moving the specification to a more neutral repository if appropriate.
For EIP-2333, see the following article.
EIP-2333: Understanding BLS key derivation
Motivation
Ethereum's proof-of-stake design and other projects use BLS signatures on the BLS12-381 curve. EIP-2333 defines a key derivation scheme for this curve that differs from the BIP-32 derivation scheme underlying BIP-44.
BIP-44's conventional path structure is not directly suited to this new derivation mechanism.
What is BIP-44?
BIP-44 defines an address derivation hierarchy for hierarchical deterministic (HD) wallets. It allows multiple keys and addresses to be derived systematically from one seed.
Background and purpose
BIP-44 builds on BIP-32, which specifies hierarchical deterministic wallets, and BIP-43, which introduces a purpose field. Its goal is to organize multiple currencies and accounts within a single deterministic wallet hierarchy.
Path structure
BIP-44 uses the following path structure:
m / purpose' / coin_type' / account' / change / address_indexpurpose- Identifies the applicable derivation convention. For BIP-44, the value is 44 with hardened derivation.
coin_type- Identifies the cryptocurrency, such as 0 for Bitcoin or 60 for Ethereum.
account- Separates accounts within the wallet.
change- Conventionally distinguishes external addresses (0) from internal or change addresses (1).
address_index- Selects an individual address within that branch.
For example, the first address in a commonly used Ethereum derivation path is:
m/44'/60'/0'/0/0Characteristics
- The hierarchy allows many addresses to be managed systematically.
- The seed can be used to recover deterministically derived keys, provided the applicable derivation convention and paths are known.
- Different currencies and accounts can be separated within the hierarchy.
Ethereum usage
Ethereum wallets, including MetaMask, commonly derive addresses using a BIP-44-style path such as m/44'/60'/0'/0/x. Here, 60 is Ethereum's coin type and x is the address index.
EIP-2333 differs from BIP-32 and the BIP-44 conventions in several respects.
- Child secret-key derivation requires the parent secret key, so there is no equivalent of BIP-32's non-hardened public-child derivation.
- The derivation scheme has different child-index constraints.
- BIP-44 includes path components designed around UTXO-based wallet conventions, such as change addresses, which are not necessarily relevant to BLS-based applications.
A new purpose-oriented path hierarchy is therefore needed for EIP-2333. EIP-2334 seeks to standardize this hierarchy and avoid fragmentation comparable to the earlier Ethereum wallet-path proposals ERC-600 and ERC-601.
For ERC-600, see the following article.
ERC-600: Applying BIP-32 to Ethereum
For ERC-601, see the following article.
ERC-601: An Ethereum wallet derivation approach inspired by Bitcoin
Specification
Path structure
EIP-2334 defines paths through the key tree generated using EIP-2333. A path consists of integer child indices separated by slashes.
The basic structure contains the master node and four subsequent levels:
m / purpose / coin_type / account / usePath notation
m- Denotes the master or root key.
/- Separates levels of the hierarchy. For example,
i/jidentifies child j of node i.
- Separates levels of the hierarchy. For example,
purpose- Fixed to 12381, referring to BLS12-381.
- This purpose requires the key derivation scheme specified by EIP-2333.
coin_type- Separates keys assigned to different cryptocurrencies or ecosystems using their designated identifiers.
account- Allows users to organize independent accounts or groups of keys within the hierarchy.
use- Separates keys intended for different purposes within an account.
- A default value of 0 can be used where no additional purpose-specific distinction is required.
- Separating keys by operation can reduce the consequences of exposing a key.
Ethereum-specific paths
Ethereum 2.0 coin_type
Ethereum's original proof-of-stake key hierarchy uses 3600 as its BLS12-381 coin type.
Validator keys
The specification defines paths for two types of validator keys.
- Withdrawal key
- Historically associated with BLS withdrawal credentials and withdrawal authority.
- Path:
m/12381/3600/i/0. - The value i denotes the validator's derivation index.
- Signing key
- Used for validator duties, including block proposals and attestations.
- Path:
m/12381/3600/i/0/0. - This key is the zeroth child of the withdrawal key.
The signing-key path therefore includes one additional level beyond the basic path structure. The derivation index is a wallet-local index, not necessarily the validator's on-chain registry index.
Special cases
Some validator arrangements, including secret-sharing and custodial services, cannot use this hierarchy for every key. Such arrangements should follow the specification where practical.
For example, a user may derive and retain a withdrawal key independently while a service provider manages the signing key through another mechanism.
Rationale
Terminology
EIP-2334 reuses the terms purpose, coin_type, and account from BIP-43 and BIP-44 so that the hierarchy remains familiar.
The purpose value 12381 distinguishes this key derivation convention from BIP-44. The value is derived from the name of the BLS12-381 curve.
The account field enables separation between groups of keys. The use field allows an application to assign independent keys to different operations within an account, such as signing or payment-related operations.
Ethereum-specific design choices
The new coin_type value 3600
The coin type 3600 distinguishes Ethereum's proof-of-stake BLS key hierarchy from the conventional Ethereum execution-account coin type 60.
This distinction is useful in systems that associate key or address formats with different coin identifiers, such as ENS multicoin resolution.
The value 3600 is also 60 squared, reflecting the historical Ethereum 2.0 naming convention.
Separating signing and withdrawal keys
Validator signing keys are used for duties such as proposing blocks and submitting attestations. They generally need to be accessible to an online validator client. If compromised, they can expose the validator to slashing risks.
Withdrawal keys in the original BLS withdrawal-credential model represent a separate, more sensitive authority and can be stored offline.
Under the EIP-2334 derivation convention, the signing key is derived as a child of the withdrawal key. A lost signing key can therefore be recovered from its parent withdrawal secret key. The reverse derivation is not provided by EIP-2333.
Modern Ethereum also supports execution-address withdrawal credentials. In that model, a separate BLS withdrawal key does not directly control ordinary withdrawals to the designated execution address. The description above concerns the historical BLS key hierarchy and should not be interpreted as the only current withdrawal configuration.
Compatibility
BIP-43 and BIP-44 have been widely used as conventions for Ethereum execution-account key management.
EIP-2333 uses a different key derivation function from BIP-32. Consequently, EIP-2334 paths must not be interpreted using BIP-32 or BIP-44 derivation algorithms, even though the notation and some field names are similar.
BIP-44 uses an apostrophe to designate hardened child derivation. EIP-2334 does not use that notation: an apostrophe is invalid in its paths.
All EIP-2333 child secret-key derivations require the parent secret key. They are therefore hardened in the relevant sense without requiring an explicit apostrophe in the path.
Citation
Carl Beekhuizen (@CarlBeek) carl@ethereum.org, "ERC-2334: BLS12-381 Deterministic Account Hierarchy [DRAFT]," Ethereum Improvement Proposals, no. 2334, September 2019. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-2334.
Conclusion
EIP-2334 standardizes purpose-specific derivation paths for BLS12-381 keys generated through EIP-2333, including the historical Ethereum validator signing and withdrawal key hierarchy.
Questions are welcome via Twitter @cardene777.
Other publications:



