MetaMask / MetaMask/metamask-extension
Changing the metamask display decimal of native token
Open
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
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