MetaMask / MetaMask/metamask-extension

Investigate replacing `idna-uts46-hx` in `eth-ens-namehash`

Open
#16,569 0 comments 0 reactions 0 assignees View on GitHub
MV3 team-extension-platform
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Can we get `toUnicode` without this bulky package (150kb)
https://github.com/Arachnid/eth-ens-namehash/blob/master/index.js#L26

Contributor guide

Open the contributing guide

Research direction

Start with the referenced eth-ens-namehash index.js line and trace how toUnicode is used in MetaMask. Investigate whether the dependency can be replaced while preserving ENS name conversion behavior, then verify that the resulting dependency footprint is smaller and the relevant tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
blockchain
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.