When you work with digital tokens on a blockchain, getting the decimal places wrong can ruin the math. A small mistake can make a balance look ten times bigger or smaller. This skill helps you avoid that problem.
It shows you how to ask the token for its decimals at the moment you need them. You will learn to save the results by chain and token address so you do not repeat the work. This works for Python, TypeScript, and Solidity code.
You also get tips for handling tricky tokens that fail to answer. The skill covers safe math, fallback values, and normalizing numbers. It keeps your bots, dashboards, and DeFi tools accurate.
Global
mkdir -p ~/.claude/skills/evm-token-decimalsProject
mkdir -p .claude/skills/evm-token-decimalsSource Repository
Solana Devsolana-foundation/solana-dev-skill
Build Solana dapps with wallet, Anchor, testing, and security best practices
Okx Dex Swapokx/onchainos-skills
Swap tokens across over 20 blockchains using OKX's DEX aggregator
Okx Onchain Gatewayokx/onchainos-skills
Broadcast, simulate, and track transactions across 20 plus blockchain networks
Web3 Testingwshobson/agents
Test smart contracts with Hardhat Foundry unit integration and mainnet forking
Defi Protocol Templateswshobson/agents
Deploy secure DeFi protocols fast using production-ready templates for staking AMMs governance flash loans
Nft Standardswshobson/agents
Create and manage NFT collections with ERC-721 and ERC-1155 standards
Gmgn Tokengmgnai/gmgn-skills
Research crypto tokens for price, safety, holders, and smart money positions
Okx Dapp Discoveryokx/onchainos-skills
Just say the app and action to swap, stake, or borrow instantly