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 coinType | v2 chainId |
|---|---|
ETHEREUM | eip155:1/slip44:60 |
KLAYTN | eip155:8217/slip44:60 |
RSK | eip155:30/slip44:60 |
BITCOIN | bip122:000000000019d6689c085ae165831e93/slip44:0 |
RIPPLE | xrpl:0/slip44:144 |
TRON | tron:0x2b6653dc/slip44:195 |
COSMOS | cosmos:cosmoshub-4/slip44:118 |
HEDERA | hedera:mainnet/slip44:3030 |
STELLAR | stellar: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.