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.
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: