program-examples icon indicating copy to clipboard operation
program-examples copied to clipboard

token-2022/memo-transfer: add a Pinocchio version

Open MarkFeder opened this issue 4 weeks ago • 3 comments

tokens/token-2022/memo-transfer ships only an Anchor version. This proposes a Pinocchio version, matching the other Token-2022 extension examples that already have one (immutable-owner, default-account-state, transfer-fee, …).

The program creates a Token-2022 token account and enables the MemoTransfer extension on it. The test checks the extension is set, that an incoming transfer without a memo is rejected, and that the same transfer succeeds when preceded by a memo.

Implementation is ready in #700.

MarkFeder avatar Nov 04 '26 18:11 MarkFeder

@dev-jodee could you label this, #786 and #787 accepted if they look good? They back #700, #701 and #702, which are rebased, green and now link these issues; I'll reopen them once accepted.

MarkFeder avatar Nov 04 '26 18:11 MarkFeder

Hi! I'd like to work on the Pinocchio version of the token-2022 memo-transfer example, following the existing Pinocchio examples' structure and tests. Could you assign it to me?

charvelchedraui avatar Nov 13 '26 03:11 charvelchedraui

Hi @charvelchedraui, thanks for the interest! This one is already implemented in #792 (waiting on review), so it isn't free to take. #786 (cpi-guard) is covered by #793 too.

MarkFeder avatar Nov 18 '26 20:11 MarkFeder