MetaMask / MetaMask/metamask-extension

Return account address in Standard Ethereum Format

Open
#7,224 1 comment 0 reactions 0 assignees View on GitHub
area-api type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

The address that MetaMask returns accounts[0] is not in the same format as stored on the blockchain.

From MM:
```
0xd034739c2ae807c70cd703092b946f62a49509d1
```

From the Blockchain:
```
0xD034739C2aE807C70Cd703092b946f62a49509D1
```

Please add the option to get the address in the Standard Ethereum Format.

Perhaps you already do this, and I missed it somehow, then I am apologize.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how accounts[0] is returned from MetaMask to determine where address formatting is selected. Compare the MetaMask address with the mixed-case blockchain example, then define and verify an option that returns the requested Standard Ethereum Format.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.