Skip to content

CLI: Create ATA - #1

Merged
coachchucksol merged 1 commit into
masterfrom
ak/create_token_acc
Jan 22, 2026
Merged

CLI: Create ATA#1
coachchucksol merged 1 commit into
masterfrom
ak/create_token_acc

Conversation

@aoikurokawa

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the BAM Boost claim functionality by adding automatic creation of the Associated Token Account (ATA) for the claimant before processing the claim. This ensures that users can claim rewards even if they don't already have a JitoSOL token account.

Changes:

  • Added import for the idempotent ATA creation function from spl_associated_token_account_interface
  • Modified the claim transaction to include ATA creation instruction before the claim instruction

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coachchucksol coachchucksol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good catch

@coachchucksol
coachchucksol merged commit 01ca641 into master Jan 22, 2026
8 checks passed
@aoikurokawa
aoikurokawa deleted the ak/create_token_acc branch January 22, 2026 19:04
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.

3 participants