Skip to content

Add an instruction plan to mint to an ATA#110

Merged
mcintyre94 merged 1 commit into
mainfrom
create-ata-plan
Nov 19, 2025
Merged

Add an instruction plan to mint to an ATA#110
mcintyre94 merged 1 commit into
mainfrom
create-ata-plan

Conversation

@mcintyre94
Copy link
Copy Markdown
Member

@mcintyre94 mcintyre94 commented Nov 19, 2025

Adds a new instruction plan that combines the getCreateAssociatedTokenIdempotent and getMintToCheckedInstruction. This allows minting to an ATA, after creating it if necessary, in a single operation.

An async variant also derives the ATA address to use.

@mcintyre94 mcintyre94 force-pushed the create-ata-plan branch 2 times, most recently from 4b1f8c6 to 8b62007 Compare November 19, 2025 14:19
lorisleiva
lorisleiva previously approved these changes Nov 19, 2025
Copy link
Copy Markdown
Member

@lorisleiva lorisleiva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread clients/js/src/mintToATA.ts Outdated
Comment thread clients/js/src/mintToATA.ts Outdated
Comment thread clients/js/src/mintToATA.ts
Comment thread clients/js/src/mintToATA.ts Outdated
@mcintyre94 mcintyre94 merged commit 3e0522f into main Nov 19, 2025
17 checks passed
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