what was the process for you to setup a signer that i used to write in the app now?
first i got a new fid from dwr and v for farcord: https://warpcast.com/farcord
then, whenever a new user wants to connect their wallet you need to: 1. create a signer, which is basically creating a keypair: private and public key (using js package @noble/ed25519 for this)
2. you need to create and sign (using your app's wallet) a SignedKeyRequest (more on this soon) stating a connection between the signer created on step 1 and your app.
here's a few resources i found useful: - https://warpcast.notion.site/Signer-Request-API-Migration-Guide-Public-9e74827f9070442fb6f2a7ffe7226b3c - https://gist.github.com/manan19/367a34980e12b9de13ab4afafb3d05d2-
2nd link is broken. now: https://gist.github.com/manan19/367a34980e12b9de13ab4afafb3d05d2
I got stuck for a while between steps 2 and 3. took me some time to fully understand the signing had to be done by the app's wallet (not the user) and that created some odd errors when trying to submit on-chain
oh also testing was a pain.. had to submit a bunch of transactions on-chain to fully test the flow. it's only a few cents here and there, but it was quite annoying. also had to clean that all up afterwards
I think good docs and a start to end tutorial would go a long way for other devs to do the same. warpcast and neynar have partial docs if you wanna use their APIs, but otherwise, very little info out there