Skip to content

Documentation / react-auth / useLinkWithSiwe

Function: useLinkWithSiwe()

useLinkWithSiwe(): UseLinkWithSiwe

Use this hook to link an ethereum wallet to a user, without using any Privy UIs.



generateSiweMessage - [generateSiweMessage]([object Object]) generates a SIWE message for a given EIP-55 wallet address and eip-155 chain ID.

linkWithSiwe - [linkWithSiwe]([object Object]) - Links a wallet to a user via the signature created for the SIWE message.