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

[Bug] Cannot Swap Tokens With The SDK #222

Open
Eggysgames opened this issue Apr 16, 2024 · 1 comment
Open

[Bug] Cannot Swap Tokens With The SDK #222

Eggysgames opened this issue Apr 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Eggysgames
Copy link

Describe the bug
Trying to do a swap with the SDK triggers security by Phantom and also says that no balances are changed, and they arn't when approved. It happened in my code and also on the live demo provided by this github at

https://magicblock-labs.github.io/Solana.Unity-SDK/

To Reproduce
Steps to reproduce the behavior:
Connect Phantom wallet
Do the basic Swap outlined by the docs
Swap any tokens
Wont work and get security warning as well as no token changes

Expected behavior
Code should allow swapping between tokens

Screenshots

Screenshot 2024-04-16 173622
DK/assets/113896751/93b4c452-608b-4f2e-97d9-d90a61040a7f)

Desktop (please complete the following information):

  • OS: Windows
  • Browser : Brave

Additional context
Add any other context about the problem here.
code

@Eggysgames Eggysgames added the bug Something isn't working label Apr 16, 2024
@Eggysgames
Copy link
Author

Actually the swap did eventually go through with the live demo but it still has all the warning messages attached and my code won't work though when I press approve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant