Skip to content

ts: setup associated token program idl#1939

Merged
armaniferrante merged 3 commits into
otter-sec:masterfrom
heavy-duty:danmt/setup-associated-token-program-coder
Jun 1, 2022
Merged

ts: setup associated token program idl#1939
armaniferrante merged 3 commits into
otter-sec:masterfrom
heavy-duty:danmt/setup-associated-token-program-coder

Conversation

@danmt

@danmt danmt commented Jun 1, 2022

Copy link
Copy Markdown
Contributor

The intention of this PR is to implement a coder for the SPL Associated Token Program, this work is a follow-up on #1920.

The SPL Associated Token Program consists of the instructions:

  • create
  • createIdempotent
  • recoverNested

This PR involves the creation of the coder, a dummy program, and e2e tests for the create instruction. I couldn't find examples of how you use createIdempotent/recoverNested, if they're needed, they can be added in a separate PR.

Comment thread ts/src/coder/spl-associated-token/instruction.ts
@danmt danmt marked this pull request as ready for review June 1, 2022 16:59
@danmt

danmt commented Jun 1, 2022

Copy link
Copy Markdown
Contributor Author

This PR is ready for review.

@armaniferrante armaniferrante merged commit a5dbc7b into otter-sec:master Jun 1, 2022
@danmt danmt deleted the danmt/setup-associated-token-program-coder branch June 1, 2022 18:53
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants