Content pfp
Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction

Andrei O. pfp
Andrei O.
@andrei0x309
It seems again Warpcast :( has big delays at the moment getting messages from hubs. Anyway, I made a small lib to abstract hub interaction into a single class, it reduces a bit the code you need to write to do some basic interaction with hubs: https://www.npmjs.com/package/farcaster-hub-utils I mainly use it to cast from CI workflows, you need a hub endpoint(supports auth), a signer key, and a fid. The basic stuff that allows you to do with fewer lines of code is: 1 creates cast ( it also parses media and mentions in that cast) 2 gets FID by username 3 deletes cast 4 get cast from the hub Obviously, there are more things a hub can do: like, follow, delete follow, and delete like and other stuff but I didn't need that I can probably add such methods too, if you signal you need it.
1 reply
0 recast
2 reactions