Content
@
0 reply
20 recasts
20 reactions
vrypan |--o--|
@vrypan.eth
Can I change the fname for an Fid? (Not add ens name)
1 reply
0 recast
21 reactions
Harris
@harris-
yes, by sending a signed request from a wallet claiming an fname if it is not already taken, or by sending a signed transfer request from the wallet that owns the existing account. You can also check if the name is taken by checking the transfers of that name (if the transfers are empty then no one owns it I guess) After claiming the name you have to also send a profile update message with username as the type and the claimed name as the value for it to be set at the protocol level see related links for docs and my implementation (in rust, but it's just a wallet and an HTTP client): https://docs.farcaster.xyz/developers/guides/accounts/change-fname https://github.com/0x330a-public/jesse/blob/master/src/warpcast.rs
1 reply
0 recast
3 reactions
Harris
@harris-
basically to claim a previously unused username you set the from = 0 and to = your fid for the signed data, signed by your wallet that owns [your fid] fid. For the transfer you sign it from the [from fid] wallet to verify it's a transfer. I assume that the hubs will query the fname server when validating an incoming user data / username profile data update before storing and propagating that info to the network
1 reply
0 recast
1 reaction
vrypan |--o--|
@vrypan.eth
Thanks! I was actually looking for a way to do it in Warpcast 🤪 I have an old account that I'm not using any more, and I want to use it for Fargo updates.
1 reply
0 recast
1 reaction
Harris
@harris-
maybe one could spin up a frame that uses an auth'd warpcast key to sign the transfer request or something 😆 I was about to look into some warp auth related stuff actually let me see if I can build something
1 reply
0 recast
1 reaction