Skip to content
E

evm-token-decimals

Prevent silent decimal mismatch bugs across EVM chains

by affaan-mFree

#253in AI Skills
0In stores

Description

evm-token-decimals is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It prevents a specific class of bug in code t…

Highlights

  • Reads decimals at runtime, not by assumption
  • Chain-aware cache by chain and token address
  • Decimal-safe value math
  • Handles bridged token precision drift

Ratings & Reviews

No ratings yet

Be the first to rate evm-token-decimals.

People also visit

M

mcpdotdirect/evm-mcp-server

Blockchain services for many EVM networks: native tokens, ERC-20, NFTs

AI Skills
Get
V

viem-integration

Integrate EVM blockchains using viem

AI Skills
Get
T

token-integration-analyzer

Token integration

AI Skills
Get
W

wallet

Multi-chain wallet: EVM and Solana balances, transfers, signing, and policy

AI Skills
Get
E

ethskills

A request involves Ethereum, the EVM, or blockchain systems

AI Skills
Get
E

emblem-ai-agent-wallet

Connect to EmblemVault and manage crypto wallets via EmblemAI

AI Skills
Get

evm-token-decimals FAQ

What does the evm-token-decimals skill prevent?

Silent decimal mismatch bugs, where a token balance or USD value is off by orders of magnitude without an error.

Why not hardcode decimals?

The skill says not to assume stablecoins use the same decimals everywhere, and to query decimals() on each chain.

Which languages does it cover?

Python, TypeScript and Solidity.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill evm-token-decimals

Is it free?

Yes. It is free and open source.

What are the best evm-token-decimals alternatives?

Popular alternatives to evm-token-decimals include mcpdotdirect/evm-mcp-server, viem-integration and token-integration-analyzer. See all evm-token-decimals alternatives

Developer Stuff

Badges