AlphaWallet / AlphaWallet/alpha-wallet-android

EIP1155 display support

Offen
#1,778 4 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @justindg Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
646
Forks
579
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.