frames-v2

/frames-v21039

There is no QR
I love you
someone should build a one line script you can include in your frame to see basic analytics like launches, adds, and actions taken

cc @neynar
Frame Auth is coming soon!

The spec has been updated with the signIn action that will let a frame request a SIWF token from the user.

Unlocks:
- apps can use SIWF as a universal auth mechanism whether the user is on web or in a frame
- providers using SIWF like Privy will be able to seamless integrate into frames
- users are full in control as SIWF is self-custodial

https://docs.farcaster.xyz/developers/frames/v2/spec#feature-auth
Frames Improvement: client side events

Users can take actions from the frame chrome like adding the frame and turning on notifications.

The SDK now fires events for these events so that frames can react to these state changes. You can try it out in Developers > Frames > Demo.

Check out the docs here:
https://docs.farcaster.xyz/developers/frames/v2/spec#feature-frame-events

See the example usage in the Demo repo:
https://github.com/farcasterxyz/frames-v2-demo/pull/17
Here's another PR with an example of converting an existing site into a frame. Adds frame tags to defiwrapped.xyz.

https://github.com/metastable-labs/defi-wrapped/pull/12
UNAUTHORIZED UNISWAP FAN EDIT: Replace the domain in any Uniswap URL with "uniframe dot org" to show Uniswap embeds as v2 frames. Some examples in the video and quoted thread below.
Frame v2 updates:
- new context.client: fid of the client, whether frame is added, notification token+url
- context.location: new type 'launcher'
- manifest: new `imageUrl` and `buttonTitle` for rendering the frame outside of casts, please add soonish

docs updated: https://docs.farcaster.xyz/developers/frames/v2/spec
if you want your Frame to show up on the Warpcast Explore tab:
- create a frame that has a verified author and users can add
- make sure your icon and splash image, as well as overall design, look good
- DC @dwr.eth with a link to a cast that can open the frame

he'll use it and give you some feedback or add it
Just published the frame connector as @farcaster/frame-wagmi-connector. No more copy-pasting, install and import into your Wagmi project and you're good to go.

Yoink and demo repos are updated.

https://www.npmjs.com/package/@farcaster/frame-wagmi-connector
pretty frame

will be awesome when you can add and get notified

also might need to let frames be put into a detached mode so you can continue using Farcaster while the media plays