You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our platform is using a standard installation of appkit, with Solana as the only network available
The in-modal wallet token display properly reflects SPL-tokens that are held by an embedded wallet (generated with email, google SSO, etc)...
However, when trying to transfer any SPL-token out of the embedded wallet via the appkit interface, it overwrites any selected SPL-Token with a native SOL transfer of the same amount input for the target token.
For example, if I want to transfer 15000 BONK from my embedded appkit wallet to an external paper, it instead attempts to send 15000 SOL even when BONK is selected.
Which is a significant fault from the expected behavior of "createSendTransaction", which should create a Solana transaction based on instructions as parameters, sign, and send it. It should probably be named "transferLamports", given that's what it does.
This looks more like test code than anything, frankly. Without providing functional SPL-token transfer logic, like the following, then the wallet should not allow users to select any tokens other than SOL, and developers should be made aware that they will need to write their own transfer logic in-site to send to the wallet provider for signing.
Link to minimal reproducible example
https://bonkbets.io/
Summary
Our platform is using a standard installation of appkit, with Solana as the only network available
The in-modal wallet token display properly reflects SPL-tokens that are held by an embedded wallet (generated with email, google SSO, etc)...
However, when trying to transfer any SPL-token out of the embedded wallet via the appkit interface, it overwrites any selected SPL-Token with a native SOL transfer of the same amount input for the target token.
For example, if I want to transfer 15000 BONK from my embedded appkit wallet to an external paper, it instead attempts to send 15000 SOL even when BONK is selected.
List of related npm package versions
"@reown/appkit": "^1.4.1",
"@reown/appkit-adapter-solana": "^1.4.1",
The text was updated successfully, but these errors were encountered: