0.0.13 • Published 9 months ago

@farstack/frame-node v0.0.13

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Frame Backend (Node) SDK

Provides utility methods for the backend of V2 frames:

  • parseWebhookEvent: parses and verifies webhook events, using a VerifyAppKey method
  • verifyJsonFarcasterSignature: verifies a JSON Farcaster Signature payload, using a VerifyAppKey method
  • createJsonFarcasterSignature: 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-node
0.0.13

9 months ago