Skip to content

Commit

Permalink
docs: updated for XMTP Frames (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas authored Feb 21, 2024
1 parent e7c762a commit f106c0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion site/docs/pages/xmtpkit/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ yarn add @coinbase/onchainkit @xmtp/frames-validator
pnpm add @coinbase/onchainkit @xmtp/frames-validator
```

[XMTP](https://xmtp.org/) is a wallet to wallet messaging protocol, and many XMTP client applications are adding Frames support.

When a user interacts with a Frame inside an XMTP client application, you will need to handle the payload slightly differently from an interaction coming from Farcaster. The primary identifier for a user on Farcaster is the `fid`, while in XMTP it is the `verifiedWalletAddress`.

You can learn more about how XMTP works with frames in [their documentation here](https://xmtp.org/docs/build/frames).

:::

To assist you in engaging with XMTP, here is the XMTP Kit which includes:
To assist you in handling interactions from XMTP, and extracting the `verifiedWalletAddress` from a POST payload, here is the XMTP Kit which includes:

- [XMTP Kit](/xmtpkit/introduction)
- Utilities:
Expand Down

0 comments on commit f106c0a

Please sign in to comment.