connectOrCreateWallet
method of the usePrivy
hook:loginMethods
, to create an embedded wallet.connectOrCreate
interface currently only supports external and embedded wallets on EVM
networks.login
method, except when users connect their
external wallet, they will not automatically be prompted to authenticate that wallet by signing a
messageuseConnectOrCreateWallet
hook to run custom logic after connecting a wallet or to handle errors.onSuccess
onError