Content pfp
Content
@
0 reply
0 recast
0 reaction

atlasmoth pfp
atlasmoth
@osuji.eth
Trying to use the Signer Request API, seems to work until a user tries to connect their account, and then it throws "the transaction would revert with invalidmetadata". Will appreciate any help, I've also attached my code. Also in case it helps, mnemonic is my warpcast recovery phrase and app fid is set to my fid.
3 replies
0 recast
1 reaction

Manan pfp
Manan
@manan
deadline should be const deadline = Math.floor(Date.now() / 1000) + 86400; // signature is valid for 1 day from now
1 reply
0 recast
0 reaction

atlasmoth pfp
atlasmoth
@osuji.eth
Let me try that, thanks!
1 reply
0 recast
0 reaction

atlasmoth pfp
atlasmoth
@osuji.eth
Updated the code but it still says 'transaction failed'
2 replies
0 recast
0 reaction

atlasmoth pfp
atlasmoth
@osuji.eth
In case anybody else has this problem, this helped me solve it: https://docs.neynar.com/docs/write-to-farcaster-with-neynar-managed-signers
0 reply
1 recast
1 reaction

Manan pfp
Manan
@manan
maybe try the following const APP_FID = 198522; and remove the "as string"
0 reply
0 recast
0 reaction