trustwallet / trust-web3-provider

Web3 javascript wrapper provider for iOS and Android platforms.
https://trustwallet.com
761 stars 423 forks source link

Support Solana Transaction "Versioned" #407

Closed hoanganhtuan95ptit closed 1 year ago

hoanganhtuan95ptit commented 1 year ago

Some DApps (Jupiter, KyberSwap) of Solana already support Versioned. But I noticed that Jupiter seems to be checking that if logged in with Phantom wallet the Transaction will be structured as Versioned and if logged in with Trust wallet it will use Legacy. So I figured out how to be able to sign Transaction Versioned, and luckily Solana has the solution for it Here - Versioned Transaction Test. Please review and check PR. Thank you

Alkhatri77 commented 6 months ago

Hello