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
SolanaWallet does not support signing transactions from the new @solana/web3.js SDK.
As a recommendation to support any Solana transaction in general, it would be great if the SolanaWallet.signTransaction method and its related methods take in a transaction (or multiple transactions) as a Uint8Array rather than a web3.js' Transaction | VersionedTransaction type.
This would also be another step forward in avoiding having @solana/web3.js as a dependency on any of the web3auth packages.
The text was updated successfully, but these errors were encountered:
lithdew
changed the title
Solana wallet adapter does not support signing transactions from new @solana/web3.js SDK
SolanaWallet does not support signing transactions from new @solana/web3.js SDK
Jan 3, 2024
SolanaWallet
does not support signing transactions from the new @solana/web3.js SDK.As a recommendation to support any Solana transaction in general, it would be great if the
SolanaWallet.signTransaction
method and its related methods take in a transaction (or multiple transactions) as a Uint8Array rather than a web3.js'Transaction | VersionedTransaction
type.This would also be another step forward in avoiding having @solana/web3.js as a dependency on any of the web3auth packages.
The new SDK and its documentation can be found here: https://github.com/solana-labs/solana-web3.js/tree/master/packages/library
Here is a snippet of how I would expect the whole transaction creation + signing flow with the new web3js SDK look like:
The text was updated successfully, but these errors were encountered: