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.

This article examines EIP-85, a proposal for assigning a unique HD wallet path to each Ethereum token using its contract address.

The following proposal discussion is the basis for this explanation.

For more articles about Ethereum improvement proposals, see the following page.

Overview

Standardizing hierarchical address derivation in wallets that handle Ethereum and its tokens is important for consistency and interoperability.

EIP-85 proposes BIP-44-based HD paths for Ether and Ethereum tokens.

What Is BIP-44?

BIP-44 defines a standardized hierarchy for hierarchical deterministic (HD) wallets.

It enables addresses to be derived hierarchically according to a particular format, organizing multiple currencies, accounts, receiving addresses, and change addresses.

The standard BIP-44 path is as follows.

text
m / purpose' / coin_type' / account' / change / address_index

The purpose field is always 44 to indicate BIP-44. The coin_type identifies a currency, such as 0 for Bitcoin or 60 for Ether. The account distinguishes accounts, change is 0 for receiving or 1 for change, and address_index identifies the address within the chain.

HD Paths for Ethereum

BIP-44-compatible HD wallets are already widely used in Ethereum. The standard Ethereum path takes the following form.

text
m / 44' / 60' / a' / 0 / n

Here, 60 is the coin type assigned to Ether in SLIP-0044, a is the account number, and n is the index of the derived address.

How Should Ethereum Token Paths Be Managed?

Ethereum has numerous ERC-20 tokens. Assigning a unique HD path to each token, as with Ether, could make token-specific address management easier.

However, registering a separate SLIP-0044 coin type for every Ethereum token would be impractical given the number of tokens.

The proposal therefore suggests reserving 61 as a common coin type for Ethereum tokens and building a token-specific path beneath it. This is a proposal described in the source, rather than a statement that this allocation is in current use.

Converting a Token Address into an HD Path

Each token has a unique 160-bit (20-byte) contract address. BIP-32 hierarchical derivation permits an index of up to 31 bits at each level, excluding the hardened derivation flag.

The proposal divides the 160-bit address into six segments as follows.

text
x = x0 || x1 || x2 || x3 || x4 || x5
  • x0 through x4: 28 bits each.
  • x5: The remaining 20 bits.

Each segment then fits within the index range available for BIP-32 hardened derivation, indicated by an apostrophe.

Token-Specific HD Path Structure

The resulting path takes the following form.

text
m / 44' / 61' / x0' / x1' / x2' / x3' / x4' / x5' / a' / 0 / n

The common coin type is fixed at 61, while the token address provides the information needed to construct a unique HD path.

This creates distinct address spaces for individual tokens, which the article identifies as beneficial for security and management.

Example: Unicorn Token

Suppose the Unicorn token has the following contract address.

text
0x89205A3A3b2A69De6Dbf7f01ED13B2108B2c43e7

The original article gives the following segmentation and conversion example.

text
x0 = 0x89205A3  = 143787427
x1 = 0xA3b2A69  = 171649641
x2 = 0xDe6Dbf7  = 233233399
x3 = 0xf01ED13  = 251784467
x4 = 0xB2108B2  = 186714290
x5 = 0xc43e7    = 803815

It then gives the following complete HD path.

text
m/44'/61'/143787427'/171649641'/233233399'/251784467'/186714290'/803815'/a'/0/n

The numerical example is reproduced from the original article. The listed segments and decimal conversions require verification against the original address before being used for wallet derivation.

Benefits and Limitations

The benefit of EIP-85 is that each token can have a clearly defined, collision-free derivation path under the proposed encoding. This organizes token-specific addresses and could simplify importing and restoring wallets that implement the same convention.

On the other hand, BIP-44 originally defines coin_type as a single integer. Inserting the token address as multiple levels below that field departs from the strict BIP-44 structure.

The proposed format is therefore best understood as an unofficial extension.

Conclusion

EIP-85 proposes deriving distinct HD wallet paths from Ethereum token addresses to support token-specific address management. Its proposed format and numerical examples should be distinguished from established wallet conventions.