AlphaWallet / AlphaWallet/alpha-wallet-android

EIP1155 display support

Đang mở
#1,778 4 bình luận 0 reaction 1 người được giao Được @justindg nhận Xem trên GitHub
Ngôn ngữ chính
Java
Star
646
Fork
579
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.