program-examples
program-examples copied to clipboard
token-2022/group: add a Pinocchio version
tokens/token-2022/group ships only an Anchor version. This proposes a Pinocchio version, matching the Token-2022 examples that already have one.
Like the Anchor example, it would create a Token-2022 mint at the [b"group"] PDA with the GroupPointer extension pointing at itself, and leave out TokenGroupInitialize the same way. A LiteSVM test would check the mint's size and decode the GroupPointer authority and group address.
This was #704, closed under the 3-open-PR limit; I'd refresh it against current main (#800 cleanup, current JS dependencies, explicit deploy artifact) before reopening it as a new PR.