0.0.13 • Published 9 months ago
@farstack/frame-node v0.0.13
Frame Backend (Node) SDK
Provides utility methods for the backend of V2 frames:
parseWebhookEvent: parses and verifies webhook events, using aVerifyAppKeymethodverifyJsonFarcasterSignature: verifies a JSON Farcaster Signature payload, using aVerifyAppKeymethodcreateJsonFarcasterSignature: creates a JSON Farcaster Signature payload
For signature verification, you need to pass in a VerifyAppKey method that verifies that an app key is valid for an FID. You can use the included verifyAppKeyWithNeynar which uses Neynar and requires the NEYNAR_API_KEY environment variable to be defined.
Not yet stable. Learn more.
Install
Install using your favorite manager:
npm install @farstack/frame-node0.0.13
9 months ago