This is a guide to signing transactions in the browser context. While these snippets leverage Ethers, it can be swapped out for other signers in the Viem or Solana contexts. See here for an example with both Ethers and Viem in the passkey + browser context, and here for a similar example with Solana.
@turnkey/sdk-react
Initialize the React Provider
Initialize an Ethers Provider and Turnkey Signer using the Passkey Client
Call `sendTransaction` with the Turnkey Signer
Initialize the Passkey Client
Initialize an Ethers Provider and Turnkey Signer
Call sendTransaction with the Turnkey Signer