Solana.Unity-SDK icon indicating copy to clipboard operation
Solana.Unity-SDK copied to clipboard

[Bug] Cannot Swap Tokens With The SDK

Open Eggysgames opened this issue 4 months ago • 1 comments

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 avatar Apr 16 '24 09:04 Eggysgames