Skip to content
E

evm-token-decimals

Prevent silent decimal mismatch bugs across EVM chains

by affaan-mFree

Launch
#252in 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

N

nodejs-keccak256

Prevent Ethereum hashing bugs in JavaScript and TypeScript

AI Skills
Launch
W

webapp-testing

Test local web applications using Playwright for UI verification and debugging

AI Skills
Launch
C

content-research-writer

Assists in writing high-quality content by conducting research

AI Skills
Launch
O

openhue

Control Philips Hue lights and scenes via the OpenHue CLI

AI Skills
Launch
B

batch-grill-me

A relentless interview that asks every frontier question at once, round by round

AI Skills
Launch
I

implement

Implement a piece of work based on a spec or set of tickets

AI Skills
Launch

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 nodejs-keccak256, webapp-testing and content-research-writer. See all evm-token-decimals alternatives

Developer Stuff

Badges