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 ENSIP-11, which proposes a consistent way to identify EVM-compatible chains within ENS by deriving dedicated coin types from chain IDs.
This explanation is based on the following specification.
For other EIPs, BIPs, SLIPs, CAIPs, and ENSIPs, see the following page.
Overview
ENSIP-11 extends ENSIP-9, the Ethereum Name Service (ENS) specification for multichain address resolution. It reserves a coin-type range for EVM-compatible chains and standardizes the conversion from EVM chain IDs to coin types.
For more information about ENSIP-9, see the following article.
ENSIP-9: Multichain Address Resolution in ENS
The range beginning at 0x80000000 (2147483648) is reserved for EVM chain identifiers, avoiding collisions with the ordinary coin-type allocation range. Some previously assigned coin types for EVM chains are consequently deprecated.
Motivation
ENSIP-9 originally relied on SLIP-0044, the registry of cryptocurrency coin types used in hierarchical deterministic wallets.
For more information about SLIP-0044, see the following article.
SLIP-0044: Separating Cryptocurrencies in HD Wallets
Many EVM-compatible chains use the same address encoding as Ethereum, making individual applications for new SLIP-0044 coin types redundant.
ENSIP-11 defines a rule for deriving coin types directly from chain IDs. This reduces registration overhead and provides a consistent approach to multichain address resolution for EVM-compatible chains.
Specification
ENSIP-11 extends ENSIP-9 by interpreting coin types with their most significant bit (MSB) set to one as encoded EVM chain IDs.
The corresponding range in SLIP-0044 is reserved for hardened key derivation rather than ordinary coin-type assignments. Using that range for ENS EVM chain identifiers avoids collisions with existing ordinary coin types.
Calculating Coin Types
The coin type for an EVM chain is calculated using a bitwise OR between the chain ID and 0x80000000.
export const convertEVMChainIdToCoinType = (chainId: number) =>{
return (0x80000000 | chainId) >>> 0
}The original chain ID can be recovered by applying a bitwise AND with 0x7fffffff.
export const convertCoinTypeToEVMChainId = (coinType: number) =>{
return (0x7fffffff & coinType) >> 0
}Implementation
An implementation is available in the ensdomains/address-encoder repository. The library provides conversion functions and access to chain information.
Examples
The following example converts the Ethereum Classic chain ID, 61, into its corresponding coin type and back again.
const encoder = require('@ensdomains/address-encoder')
// Chain IDからコインタイプへ変換
encoder.convertEVMChainIdToCoinType(61)
// 出力: 2147483709
// コインタイプからChain IDへ変換
encoder.convertCoinTypeToEVMChainId(2147483709)
// 出力: 61The Japanese comments identify the forward and reverse conversions and their output values.
The formatsByName and formatsByCoinType interfaces can also be used to retrieve details about a chain.
encoder.formatsByName['XDAI']
{
coinType: 2147483748,
decoder: [Function (anonymous)],
encoder: [Function (anonymous)],
name: 'XDAI'
}
encoder.formatsByCoinType[2147483748]
{
coinType: 2147483748,
decoder: [Function (anonymous)],
encoder: [Function (anonymous)],
name: 'XDAI'
}Exceptions
Some chains are excluded from the general convention because of their particular address formats or validation rules.
Avalanche supports multiple address formats, and only its C-Chain is EVM-compatible. RSK has additional validation requirements and continues to use its existing SLIP-0044 coin type under the convention described in the original article.
Backward Compatibility
Before ENSIP-11, some EVM-compatible chains already had assigned coin types, including NRG, POA, CELO, and ETC.
The proposal recommends retaining these older formats for read-only compatibility, using names with the _LEGACY suffix to distinguish them.
This supports migration while maintaining access to existing address records.
Conclusion
ENSIP-11 provides a systematic way to derive ENS coin types from EVM chain IDs, reducing the need for individual coin-type registrations.
