Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create token accounts if they don't already exist #8

Closed
armaniferrante opened this issue May 16, 2021 · 2 comments
Closed

Create token accounts if they don't already exist #8

armaniferrante opened this issue May 16, 2021 · 2 comments

Comments

@armaniferrante
Copy link
Contributor

armaniferrante commented May 16, 2021

Swapping to a token should create an associated token account, if it doesnt already exist. This includes intermediary accounts (udsc, usdt) for transitive swaps. This should happen in the transactions constructed from the @project-serum/swap package.

@armaniferrante
Copy link
Contributor Author

This shouldn't block the first release. Removing p1 tag.

@secretshardul
Copy link
Contributor

secretshardul commented Aug 17, 2021

This issue is resolved, just tested. Required associated token accounts are auto created now. Can close the issue

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

No branches or pull requests

2 participants