0xMiden / 0xMiden/wallet

Add and hide custom tokens

未关闭
#813 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
5
派生
28
平均合并
9 小时 50 分钟
30 天内合并 PR
123

描述

IIUC, currently all tokens are shown in the interface.

If the user receives a bunch of spam tokens, they should be able to hide them.

The other approach would be to do something like Metamask, where they have a list good, known tokens that are always shown to the user, but the user can still add a custom token by address.

---

I think the best approach would actually be the combination of the two: pre-curated list of tokens, ability to add custom tokens, AND the ability to hide tokens (e.g. if a token was added accidentally)

贡献指南

打开贡献指南

调研方向

Look at the wallet UI components that display tokens, likely in src/components or src/views. Identify where token lists are managed and rendered. You'll need to add functionality to hide tokens (maybe a toggle or filter) and to add custom tokens by address, possibly integrating with a pre-curated list. Check existing token management logic and state handling. Test by adding and hiding tokens in the UI.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。