Wallet
For users who already have wallets, Privy supports signing in with Ethereum (SIWE) or Solana (SIWS). With this flow, users who are already onchain can bring their existing wallet to your app, verify ownership of assets, and take onchain actions.
To have users login to your app with a wallet, use the login
method from the usePrivy
hook.
Login with wallet is only available using Privy UIs.
Parameters
The login methods to enable.
The chain type of the wallet to login with.
Whether to disable signup for the login method.
Returns
This method does not return anything.