MetaMask / MetaMask/metamask-extension

Changing the metamask display decimal of native token

Open
#11,262 3 comments 0 reactions 0 assignees View on GitHub
developerQuestion devrel-support-needed
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

In order to support evm like transactions, we have implemented the RPC interface of Ethereum. But our gas token’s decimal is 9, which leads to the display error of metamask (ETH’s decimal is 18). Anyone can help me solve the problem? txs

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reading the Ethereum RPC implementation and tracing how the native gas token decimal is used for MetaMask display; done means a gas token with 9 decimals is displayed correctly rather than treated like ETH with 18.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.