Content
@
0 reply
20 recasts
20 reactions
KMac🍌 ⏩ ツ
@kmacb.eth
Need help will pay for information leading to a working code. DC if interested. Up to 100 USDC & an obnoxious number of recasts for the rest of the year. half kidn Turn this example that sends a Cast into an example that updates the FC profile eg bio or url https://github.com/farcasterxyz/hub-monorepo/blob/main/packages/hub-web/examples/submit-message/index.ts MUST run client side. eg using @farcaster/hub-web not some nodejs or neynar or extra thing. Can assume I have a signer already ty @privy Several sdks including standard-crypot/farcaster-js do not implement this & I think it could be due to a lack of a protobuff or something lower level. The path forward 'I think' is to use submitmessage() but I do not know how to hash or encode this for userdata nor do I have any interest in learning this at this time. WAY too much time on what should be one of the easiest things to do. Devs please do something. @v
3 replies
3 recasts
9 reactions
Harris
@harris-
Can give you an example when I wake up tomorrow using https://github.com/0x330a-public/fatline-rs if you'd like to use rust. I use it against my own hub, can probably simplify the setting user methods as that was something I promised in my grant application 😂 There's already a function for getting full user profile from the hub here: https://github.com/0x330a-public/fatline-rs/blob/master/src%2Fusers.rs#L72 Lmk if you would like I can whip up an example code and integrate it into the library as a single function tomorrow
1 reply
0 recast
0 reaction
KMac🍌 ⏩ ツ
@kmacb.eth
Will process this later today. I don’t think it’s necessary but appreciate the offer of assistance. I know this can be done in TS it’s a matter of how
1 reply
0 recast
1 reaction
Harris
@harris-
I vaguely remember @dalechyn.eth having issues with the TS library as an inspiration for fhub (https://github.com/dalechyn/fhub) Might be some useful snippets in there
3 replies
0 recast
2 reactions
Harris
@harris-
I think this exact function does it, as long as you have a private key you just pass in the user info as an object: https://github.com/dalechyn/fhub/blob/main/src%2Ffhub%2Factions%2FUser.ts#L60 You can kind of see how it's used here: https://github.com/dalechyn/fhub/blob/main/playground%2Fsrc%2Findex.ts#L36
0 reply
0 recast
2 reactions