If you've ever shipped a dashboard where USDC balances looked fine on Ethereum but were off by a factor of a million on Solana-bridged versions, this is for you. It walks through runtime decimal lookups, chain-aware caching, and safe normalization patterns in Python, TypeScript, and Solidity. The examples cover defensive fallbacks for non-standard tokens, normalization to 18-decimal WAD, and the critical rule of caching by chain ID plus address instead of symbol. It's a narrow skill but solves a class of bug that's silent until users notice their portfolio tracker is wildly wrong.
npx -y skills add affaan-m/ecc --skill evm-token-decimals --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.