wen-community / wen-program-library

Apache License 2.0
90 stars 21 forks source link

fix: Token group matches necessary token group interface #31

Closed Arrowana closed 4 months ago

Arrowana commented 8 months ago

Problem: Current account does not comply with token extension design.

Use TLV helpers to setup the account, keep the anchor account shell for convenience. Technically we could have more extensions in that one single account.

https://github.com/solana-labs/solana-program-library/tree/master/token-group/interface

Aiyualive commented 8 months ago

This makes it easier to do the client-side fetching of the group fields right?

It would also be necessary to have the same setup for the Group Member Pointer Extension?

luke-truitt commented 8 months ago

Not sure this would be much of an improvement immediately, though it would make the migration from this to in-mint Group/GroupMember accounts easier for clients. Do you have an example of how this would simplify things on client side right now?