Appearance
Documentation / react-auth / useFarcasterSigner
Function: useFarcasterSigner() ​
useFarcasterSigner():
Object
Use this hook to write to Farcaster.
Returns ​
Object
getFarcasterSignerPublicKey ​
getFarcasterSignerPublicKey: () =>
Promise
<Uint8Array
>Returns ​
Promise
<Uint8Array
>requestFarcasterSignerFromWarpcast ​
requestFarcasterSignerFromWarpcast: () =>
Promise
<void
>Returns ​
Promise
<void
>signFarcasterMessage ​
signFarcasterMessage: (
messageHash
) =>Promise
<Uint8Array
>Parameters ​
• messageHash:
Uint8Array
Returns ​
Promise
<Uint8Array
>