Skip to main content

coinType → chainId

v1 dcent.coinType.* enums map to v2 CAIP chainId strings. The enums still exist for compatibility, but new code should use chainId.

v1 coinTypev2 chainId
ETHEREUMeip155:1/slip44:60
KLAYTNeip155:8217/slip44:60
RSKeip155:30/slip44:60
BITCOINbip122:000000000019d6689c085ae165831e93/slip44:0
RIPPLExrpl:0/slip44:144
TRONtron:0x2b6653dc/slip44:195
COSMOScosmos:cosmoshub-4/slip44:118
HEDERAhedera:mainnet/slip44:3030
STELLARstellar:pubnet/slip44:148
(none — v1 had no Solana support)solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/slip44:501

Full list: connector playground/chains.json + Support Matrix.

info

v1 coinType helpers are still exported (v2 does not use them): for backward compatibility the connector keeps the v1 coinType / coinGroup / coinName enums and the isAvaliableCoinType / isTokenType / getCzonePrifix (v1 typo preserved) validators. New v2 integrations should pass a CAIP-19 chainId instead of a coinType — these helpers are only for maintaining existing v1 code.