Content pfp
Content
@
0 reply
20 recasts
20 reactions

horsefacts ๐Ÿš‚ pfp
horsefacts ๐Ÿš‚
@horsefacts.eth
๐Ÿงต with a few small builder PSAs: 1) @woj.eth's signup demo and code are updated to use the latest contracts. This is a great reference if you're interacting with contracts directly: https://farcaster-signup-demo.vercel.app/ https://github.com/wojtekwtf/farcaster-signup-demo
1 reply
1 recast
11 reactions

horsefacts ๐Ÿš‚ pfp
horsefacts ๐Ÿš‚
@horsefacts.eth
2) We added EIP-712 helpers in the latest version of hub-web and hub-nodejs. You can use these to generate typed signatures without having to manage details like contract address/types/domain separator yourself: https://github.com/farcasterxyz/hub-monorepo/blob/main/packages/core/src/signers/eip712Signer.ts#L33
1 reply
0 recast
0 reaction

horsefacts ๐Ÿš‚ pfp
horsefacts ๐Ÿš‚
@horsefacts.eth
3) We've also added contract addresses, ABIs, and EIP-712 type related constants. If you're doing something lower level, you can import and use them in your own app: https://github.com/farcasterxyz/hub-monorepo/blob/37841880481af3d5ca70899803f6572db48a366c/packages/core/src/eth/contracts/idRegistry.ts#L53
0 reply
0 recast
5 reactions