@farcaster/frame-node
TypeScript icon, indicating that this package has built-in type declarations

0.0.22 • Public • Published

@farcaster/frame-node

Utility methods for Mini App backends

Installation

pnpm add @farcaster/frame-node

Documentation

  • 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @farcaster/frame-node

Weekly Downloads

1,985

Version

0.0.22

License

MIT

Unpacked Size

115 kB

Total Files

39

Last publish

Collaborators

  • sds
  • ecm_merkle
  • aditiharini
  • caheart_mm
  • varunsrin
  • daddeo
  • sanjayprabhu