AlphaWallet / AlphaWallet/alpha-wallet-android

EIP1155 display support

未关闭
#1,778 4 条评论 0 个 reaction 已指派 1 人 已被 @justindg 认领 在 GitHub 查看
主要语言
Java
星标
646
派生
579
PR 合并指标
30 天内没有已合并 PR

描述

EIP1155 supports a collection of tokens, fungible, "semi-fungible" and non-fungible.

EG:

1 Ring to rule them all
3 Rings for Elves
7 Rings for Dwarfs
1,000,000 Gold coins
20,000,000,000 Sestertii

These would all be operating from the same contract. Each one can be associated with a graphic asset embedded within the contract.

How to support this in the wallet?

It could be similar to how we group transactions. So, all the tokens within the EIP1155 contract could be listed together in order, and there would be some kind of graphic to indicate they are all part of the same contract.

So far, the only wallet we know for sure supports EIP1155 is Engin wallet (it's their standard). It might be worth checking out how they display it.

For now, it would be good to have at least limited support to show EIP1155 tokens; they look to have a growing part to play, especially for games. The key thing is they support fully atomic DvP between tokens; you could sell the 1 Ring for however many gold tokens in the same transaction without needing 'approve' and helper contracts.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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