useLoginWithEmail
hook. Then, call sendCode
and loginWithCode
with the desired email address.SMS
useLoginWithSms
hook. Then, call sendCode
and loginWithCode
with the desired phone number.Social logins
Passkeys
useLoginWithPasskey
hook and call loginWithPasskey
.Telegram
useLoginWithTelegram
hook and calling login
.MFA
PrivyProvider
config, or selectively for specific flows at runtime.
Provider config (globally)
PrivyProvider
config you can control the default wallet UI for all flows in your app.Create a wallet
Signing a message
useSignMessage
hook and call signMessage
with your desired message.Sending a transaction
useSendTransaction
hook and call sendTransaction
with your desired transaction.Linking a social account
Unlinking an account
usePrivy
hook and call unlink<Provider>
.
useLoginWithSocial
hook and callinitOAuth
with your desired social login provider.