Open
Conversation
added 4 commits
March 20, 2026 00:50
- Document delegate-transfer, create-ata-explicit-rent-sponsor, create-spl-mint, create-t22-mint, create-spl-interface in root README - Add delegate-transfer, create-ata-explicit-rent-sponsor, create-token-pool to typescript-client README - Add delegate-transfer action (transferDelegatedInterface) - Update delegate-approve and delegate-revoke Entire-Checkpoint: 4afa49be1970
…olkit
- Update delegate-transfer to use transferInterface + { owner } option
(replaces transferDelegatedInterface)
- Add instruction-level delegate-approve and delegate-revoke examples
using createApproveInterfaceInstructions / createRevokeInterfaceInstructions
- Add delegate-transfer example to payments spend-permissions
- Remove stale create-token-pool instruction example
- Update READMEs and package.json scripts
Entire-Checkpoint: 4afa49be1970
…ments toolkit" This reverts commit d871e48. Entire-Checkpoint: 4afa49be1970
…olkit
- Update delegate-transfer to use transferInterface + { owner } option
(replaces transferDelegatedInterface)
- Add instruction-level delegate-approve and delegate-revoke examples
using createApproveInterfaceInstructions / createRevokeInterfaceInstructions
- Add delegate-transfer example to payments spend-permissions
- Remove stale create-token-pool instruction example
- Update READMEs and package.json scripts
Entire-Checkpoint: 4afa49be1970
Mint 1_000_000 tokens instead of 1000 so the 500_000 approve allowance and 200_000 delegated transfer don't exceed the minted balance. Entire-Checkpoint: 4afa49be1970
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates examples to use the approve/revoke delegation API from light-protocol#2351. Do not merge until that PR lands and the SDK is published.
typescript-client/
delegate-transferto usetransferInterface+{ owner }option (replacestransferDelegatedInterface)delegate-approveanddelegate-revokeexamples usingcreateApproveInterfaceInstructions/createRevokeInterfaceInstructionscreate-token-poolinstruction exampletoolkits/payments/
delegate-transferexample to spend-permissionsTest plan
npm run delegate:approve && npm run delegate:revoke && npm run delegate:transfernpm run delegate-approve:instruction && npm run delegate-revoke:instructioncd toolkits/payments && npm run delegate-transfer