⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@dylanjeffers
Copy link
Contributor

@dylanjeffers dylanjeffers commented Feb 2, 2026

Ensures user-bank is created if needed before sending.
Sets minimum send amount

@cursor
Copy link

cursor bot commented Feb 2, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 29.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@changeset-bot
Copy link

changeset-bot bot commented Feb 2, 2026

⚠️ No Changeset found

Latest commit: 34867a1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pull-request-size pull-request-size bot added size/L and removed size/M labels Feb 2, 2026
@dylanjeffers dylanjeffers changed the title Create user-bank account on send Create user-bank account on send, set minimums Feb 2, 2026

const instructions: TransactionInstruction[] = []

// If we need to create a user-bank account, add the create instruction first
Copy link
Member

Choose a reason for hiding this comment

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

can you do this instead /similar.

const { userBankAddress, loading: userBankLoading } = useUserbank(mint)

export const useUserbank = (

you can still combine it into one tx, but i don't think that's totally necessary either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants