Overview
The Embedded Wallet Kit provides a simple way to sign messages and transactions in your React Native application using Turnkey’s Embedded Wallets.Signing messages
To sign messages, use thesignMessage function from the useTurnkey hook. First pick a wallet account from wallets (for example, the first wallet’s first account), then sign your message.
Signing transactions
To sign transactions, use thesignTransaction function. Select a wallet account, prepare an unsigned transaction, and specify a transaction type (for example, TRANSACTION_TYPE_ETHEREUM).
Sign and send transactions
If you want Turnkey to submit the transaction on your behalf, usesignAndSendTransaction. Provide an RPC URL if needed.