frames-v2

/frames-v21685

PSA for frames devs looking to hawk their wares
15732
kompreni 🚂
@kompreni·02:39 28/02/2025
Little shy about doing this sorta post (what if nobody responds?? I ain't no @dwr.eth) but here we go:

Have you shipped a Farcaster Frame w/ a verified domain?

If so, drop the link to your frame below. I have something for you! 👀
some solid answers in this thread

good read for anyone wanting to develop a game
6841
Tony D’Addeo
@deodad·20:39 17/02/2025
any frames devs have tips on how to deal with people submitting fake scores when trying to build leaderboards?

one idea that doesn’t mitigate it directly but aligns things a bit is to require a small transaction to submit the leaderboard

that way cheaters at least have to pay you! could tie the required payment to how big high the score js

cc @vmathur @chuckstock
any frames devs have tips on how to deal with people submitting fake scores when trying to build leaderboards?

one idea that doesn’t mitigate it directly but aligns things a bit is to require a small transaction to submit the leaderboard

that way cheaters at least have to pay you! could tie the required payment to how big high the score js

cc @vmathur @chuckstock
977233
Kasra Rahjerdi
@jc4p·19:26 17/02/2025
should i keep making games just with no leaderboard? or is it fine to just let people cheat
potential frame sdk additions:
- context.isFrame
- actions.updateProfile
- actions.addSigner
- actions.share
- haptics

what else?
/frames-v2
who's working on a valentine's frame? 💌
6373
priyanka 🦉
@priyanka·23:27 23/01/2025
there’s only 21 days left until valentine’s day. may you find the force within you to ask out your crush. 🪄
it's true!
1689
Stephan
@stephancill·18:36 23/01/2025
revealed preference: people like the notifications
> notifs performing crazy well

if you’re not taking advantage of frame notifications, you should be!
1136
Josh Cornelius
@joshcrnls·14:30 16/01/2025
summary of what i'm hearing from builders about the mini-app platforms...

- farcaster: big upgrade in dev experience with frames v2, seeing strong retention w/ improved discoverability, notifs performing crazy well, but obvs limited audience.
- worldcoin: user numbers are attractive, but meaningful lift to adapt product for the platform and actual usage / engagement underwhelming.
- telegram: still king with massive audience, stars make onboarding / monetizing non-crypto audiences way easier, easy build.

anyone have anything to add or having a different experience?
@stevedylandev.eth wrote a great frame tutorial including hosting on orbiter and simple static template

https://warpcast.com/stevedylandev.eth/0x7de4788f
6023
Steve
@stevedylandev.eth·13:20 14/01/2025
Bare bones V2 Frame template/tutorial using Vite + React that can be hosted on /ipfs and /base through Orbiter:

https://github.com/orbiterhost/v2frame
https://orbiter.host/blog/how-to-deploy-a-v2-frame-on-orbiter

Tutorial breaks down V2 Frames into:

- Frames SDK
- Frame Manifest
- Frame Embed Tag

With this approach you can really apply the principles to any client side framework, which we've already done with Astro and our marketing site!
Agree, trivia from @matthewfox was fun and the same "real time elimination game show" mechanic could apply to a lot of fun crypto games!
4199
Michael Gingras (lilfrog)
@frog·16:50 13/01/2025
Realtime game frame similar to HQ trivia would be fun and would crush imo
Cool frame tricks: the SmartHome frame (see next cast) doesn't load the SDK at all, since it's not using much of it. Instead it just sends a ready message over postMessage.

https://github.com/scyclow/rpg/blob/main/docs/index.html#L2162-L2186
frame-enabled static sites from @stevedylandev.eth and orbiter.host

very cool stack for frame apps using ipcm.dev on /base to resolve dynamic content from /ipfs

https://iss.orbiter.website
6023
Steve
@stevedylandev.eth·01:47 10/01/2025
Been a lot of fun seeing ISS stuff this week, so I had to jump in.

Behold: ISS Tracker V2 Fame, hosted on /ipfs and /base through orbiter.host

https://iss.orbiter.website
I'm adding a `viewProfile` action to the frames SDK that frames can call to open a view of a user within the frame

this will unlock following without leaving a frame

https://github.com/farcasterxyz/frames/pull/90
3621
horsefacts 🚂
@horsefacts.eth·20:39 05/01/2025
v0-on-v2: a hosted frame builder that uses generative AI to create simple frame apps.
Waitlist frames are a great idea, we’ve already seen a couple. Get users to add your frame now, send a notification later that opens a swap or other action when you launch.
20384
basil
@itsbasil·16:04 05/01/2025
imagine if devs were verified & we all got a push notification that took us directly into a frame swap when veil was deployed
hot off the press: launch frames from a channel header

to set this up just set the channel link to a url that has a v2 frame embed in it

try it out on /yoink (refresh web / restart mobile once or twice to get the update)
https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/2ae09300-79f8-4a7f-f22e-23415f6df500/original
First fork from the Warpcast featured mints frame. We're gonna make this easier, but nice job getting it running, @ripe!

https://higher-self-mint-frame.netlify.app/
If frames could add an (optional) RSS feed in farcaster.json, it would enable clients to provide:

- Automatic notifications for new content
- Frame- and user- specific feeds in app
- Native in-app readers/media players
- Commenting using content URI as a FIP-2 topic
/frames-v2
Frames Polish 💅
No more notch

In version 0.0.20 of @farcaster/frame-sdk the context.client includes a safeAreaInsets property that should be used to avoid system UI elements from obscuring elements in your frame

If you are rendering elements near the bottom of your frame, please upgrade the SDK and use the safeAreaInsets to pad your views

Read more:
https://docs.farcaster.xyz/developers/frames/v2/spec#using-safeareainsets
/frames-v2
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
Loading...
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-v2
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
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.
Loading...
/frames-v2
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