You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A significant drawback of the current onboarding flow is that migrating an existing account from Warpcast is really painful. Users need to export the seed phrase from Warpcast, find the private key of the fid custody account (derived from that seed phrase), and then import the private key into a browser wallet like metamask. This is high friction and also introduces bad op sec practices for users.
This issue describes an alternative and much improved flow that utilizes the Farcaster protocol's recovery functionality. Every fid has a recovery address, which is authorized to transfer the fid but nothing else. The key point is that Warpcast allows users to set the recovery address for their fid to any arbitrary address. For a user, this is much easier and more secure than exporting a seed phrase.
Below is what the new flow could look like. It has several key improvements:
The flow includes guidance for what the user needs to do in Warpcast
The Warpcast-related step is much simpler and more secure, as discussed above
No need to switch connected wallets between steps (this is a really big point of friction in the current flow)
Recommended Flow
User connect wallets to herocast. This should be the wallet that wears or will wear the adminHat.
Guide user to set their wallet address as the fid's recovery address in Warpcast. Optionally, herocast could listen for the ChangeRecoveryAddress event before guiding the user to the next step.
Back in herocast, the user signs the receive signature on behalf of FD. Alternatively, the user could call HFD.prepareToReceive(). Note that only one of these (ECDSA signature or prepareToReceive) needs to be done.
User executes the transfer by calling IdRegister.recover() with the signature from (6) as payload
The text was updated successfully, but these errors were encountered:
A significant drawback of the current onboarding flow is that migrating an existing account from Warpcast is really painful. Users need to export the seed phrase from Warpcast, find the private key of the fid custody account (derived from that seed phrase), and then import the private key into a browser wallet like metamask. This is high friction and also introduces bad op sec practices for users.
This issue describes an alternative and much improved flow that utilizes the Farcaster protocol's recovery functionality. Every fid has a recovery address, which is authorized to transfer the fid but nothing else. The key point is that Warpcast allows users to set the recovery address for their fid to any arbitrary address. For a user, this is much easier and more secure than exporting a seed phrase.
Below is what the new flow could look like. It has several key improvements:
Recommended Flow
HFD.prepareToReceive()
. Note that only one of these (ECDSA signature or prepareToReceive) needs to be done.IdRegister.recover()
with the signature from (6) as payloadThe text was updated successfully, but these errors were encountered: