Skip to content

fix: Use destination wallet input when minting ABL tokens#580

Open
gitteri wants to merge 1 commit intomainfrom
fix/abl-token-mint-recipient
Open

fix: Use destination wallet input when minting ABL tokens#580
gitteri wants to merge 1 commit intomainfrom
fix/abl-token-mint-recipient

Conversation

@gitteri
Copy link
Copy Markdown

@gitteri gitteri commented May 5, 2026

The Mint New Tokens form in the ABL token manage page captured the Destination Wallet input into state but never passed it to the mint mutation, so tokens always landed in the connected wallet's ATA regardless of what was typed.

Now handleMint reads destinationWallet, parses it as a PublicKey, and uses it as the recipient. If the field is empty it falls back to the connected wallet so the previous default behavior still works.

The mint flow was ignoring the Destination Wallet field and always minting
to the connected wallet's ATA. Read the input value and fall back to the
connected wallet only when empty.
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.

1 participant