Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-amir-tx-status-webhooks.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Package: react-wallet-kit

Overview

Logs in a user using the specified wallet provider.
  • This function logs in a user by authenticating with the provided wallet provider via a wallet-based signature.
  • If a public key is not provided, a new one will be generated for authentication.
  • Optionally accepts a custom session key and session expiration time.
  • Stores the resulting session token under the specified session key, or the default session key if not provided.
  • Throws an error if a public key cannot be found or generated, or if the login process fails.

Parameters

params
LoginWithWalletParams
required

Response

A successful response returns the following fields:
returns
WalletAuthResult
required
A promise that resolves to a WalletAuthResult, which includes:
  • sessionToken: the signed JWT session token.
  • address: the authenticated wallet address.