Farcaster Devs
/fc-devs15642
A channel for builders on Farcaster to ask questions and get support
Reminder that Farcaster dev calls are held every other Thu 1pm ET and cover latest changes in the ecosystem. Here is the calendar invite for it!
https://calendar.google.com/calendar/u/0?cid=NjA5ZWM4Y2IwMmZiMWM2ZDYyMTkzNWM1YWNkZTRlNWExN2YxOWQ2NDU3NTA3MjQwMTk3YmJlZGFjYTQ3MjZlOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t
https://calendar.google.com/calendar/u/0?cid=NjA5ZWM4Y2IwMmZiMWM2ZDYyMTkzNWM1YWNkZTRlNWExN2YxOWQ2NDU3NTA3MjQwMTk3YmJlZGFjYTQ3MjZlOEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t
Congrats to all Developer Rewards winner for the last round.
Note that there is a bug in the in-app notification due to some reward batching we did. It should be fixed for next cycle.
Note that there is a bug in the in-app notification due to some reward batching we did. It should be fixed for next cycle.
gm us-based devs
if anyone is looking for a project, i'd love to chat w you about joining myself and few other really talented ppl in building the coolest crypto + social + gaming ecosystem w an ai agent at the center
pls recast if you love @atlas
https://appliedagency.org
if anyone is looking for a project, i'd love to chat w you about joining myself and few other really talented ppl in building the coolest crypto + social + gaming ecosystem w an ai agent at the center
pls recast if you love @atlas
https://appliedagency.org
testing agent deployment on @nosocial.
will be looking for testers soon.
nosocial :
- social network for ai agents built on farcaster protocol
- incentive mechanism for agent discovery and performance
- trading framework
Core components :
- direct integration with Farcaster Hubs
- native support for Farcaster message types
- compatible with Farcaster's cryptographic systems
Extensions :
- agent Registry built on top of Farcaster's user system
- storage extensions for agent-specific content
- communication protocols using native Farcaster messages
will be looking for testers soon.
nosocial :
- social network for ai agents built on farcaster protocol
- incentive mechanism for agent discovery and performance
- trading framework
Core components :
- direct integration with Farcaster Hubs
- native support for Farcaster message types
- compatible with Farcaster's cryptographic systems
Extensions :
- agent Registry built on top of Farcaster's user system
- storage extensions for agent-specific content
- communication protocols using native Farcaster messages
I want to make a simple mint frame that accepts erc20 payments for mints. Aiming for one click.
IMO the approval step adds confusion for first timers.
Is there an elegant way to transfer an erc20 to a contract and then check that msg.sender has sent the appropriate amount before minting?
All roads I've thought through so far lead to the check offchain. I'm ok with that but wondering if someone has done something similar and can help me out!
IMO the approval step adds confusion for first timers.
Is there an elegant way to transfer an erc20 to a contract and then check that msg.sender has sent the appropriate amount before minting?
All roads I've thought through so far lead to the check offchain. I'm ok with that but wondering if someone has done something similar and can help me out!
Which MCPs are you using?
Heard a lot of good words about it, but didn't find a compelling reason to use them while coding.
Heard a lot of good words about it, but didn't find a compelling reason to use them while coding.
will it be possible to pay for channels onchain like with storage?
few people asking already if it can be supported in @payflow!
few people asking already if it can be supported in @payflow!
12152
Daniel - Bountycaster
@pirosb3.eth·5 days ago
Warpcast feature: Cashing out warps ✨
Now 40% of select users can cash out warps for USDC directly to their warplet! Eligible users who received a notification can also access this limited offer through the Warps screen
I'll be sharing more updates soon - feel free to share feedback!
Now 40% of select users can cash out warps for USDC directly to their warplet! Eligible users who received a notification can also access this limited offer through the Warps screen
I'll be sharing more updates soon - feel free to share feedback!
I think the main issue currently is the navigation back and forth between Warpcast <-> Frames, and maybe eventually between Frames
Long-term, If sdk supported Warpcast action with return callback to the frame it was originated, that would be super awesome!
This would also allow more integrations between frames.
But for now though probably easier to include simple cast thread in the pop up.
Long-term, If sdk supported Warpcast action with return callback to the frame it was originated, that would be super awesome!
This would also allow more integrations between frames.
But for now though probably easier to include simple cast thread in the pop up.
204173
Alex
@asenderling.eth·5 days ago
It would be nice if clicking here took you to their profile so you could look at their content before deciding to follow
977233
Kasra Rahjerdi
@jc4p·6 days ago
Hi, here is every like/recast on Farcaster (ever) -- all 291 million of them
Possible uses:
1. Identify people who amplify others the most
2. Identify top lurkers (cast least + like most)
3. Create a model to predict how likely a cast is to go viral
https://huggingface.co/datasets/jc4p/farcaster-reactions
Possible uses:
1. Identify people who amplify others the most
2. Identify top lurkers (cast least + like most)
3. Create a model to predict how likely a cast is to go viral
https://huggingface.co/datasets/jc4p/farcaster-reactions
i just created my first pull request
big day
big day
I'm debugging this frames on browser because it doesn't require any frame-contex/user details
Who here is interested in easily generating frames from sets of functions across contracts/protocols? :)
Looking for some early users, pls dm me
Looking for some early users, pls dm me
Very confused by Warplet just showing up on my mobile app tbh
No clue how to back up or secure this address/account and my initial search of settings/etc gives no info 🫤
No clue how to back up or secure this address/account and my initial search of settings/etc gives no info 🫤
Are there any tools that can help us quickly search for our past casts with a keyword filter?
Is it possible to get active state for a profile? Eg know when somebody is active on FC/in a channel?
can anyone tell me why frame embeds are expected to use a text/plain response with embedded JSON data inside HTML meta, instead of a simple application/json response with the same JSON data?
asking for a friend
asking for a friend
psa: coding is still really hard
sorry, champ, need to feed the algo
sorry, champ, need to feed the algo
4407
keccers
@keccers.eth·03:41 04/03/2025
It is so easy to code stuff now I think every tech employee should be expected to have a certain level of baseline knowledge of how to do it and be able to do it as well
How to build Frames
1) dTech docs to setup the frame https://dtech.vision/farcaster/frames/howtobuildonchainfarcasterframes/
2) use the frames sdk with what it provides directly and update the version with new features coming
Looking at repos, samples & docs versus just frames sdk source code and the Spec ( https://github.com/farcasterxyz/protocol/discussions/205 ) will cost you too much time. Keep it simple.
This is the way I personally do it and recommend it internally at dTech
For debugging we have docs too ;)
1) dTech docs to setup the frame https://dtech.vision/farcaster/frames/howtobuildonchainfarcasterframes/
2) use the frames sdk with what it provides directly and update the version with new features coming
Looking at repos, samples & docs versus just frames sdk source code and the Spec ( https://github.com/farcasterxyz/protocol/discussions/205 ) will cost you too much time. Keep it simple.
This is the way I personally do it and recommend it internally at dTech
For debugging we have docs too ;)
are most people building framesv2 in separate webpages or using conditional checks inline for frames context?
is there a suggested way of handling web vs frame views (auth, handling txns, opening URLs) ?
is there a suggested way of handling web vs frame views (auth, handling txns, opening URLs) ?
okay I'm caught up, it's much easier to follow than frames v1 (I think knowing frames v1 made it harder to shift mentally)
does context still come with a signature/verification of some sort? And are there some /neynar frames v2 specific APIs or SDK functions I should know about?
does context still come with a signature/verification of some sort? And are there some /neynar frames v2 specific APIs or SDK functions I should know about?
16522
ilemi
@ilemi·18:12 03/03/2025
what's the best doc/quickstart for frames v2?
what's the best doc/quickstart for frames v2?
i love getting back into building fun ephemeral social apps
not every project needs to be about building rome
sometimes, build burning man
ofc, @atlas is my roman empire
not every project needs to be about building rome
sometimes, build burning man
ofc, @atlas is my roman empire
Does anyone know how to write tests for sse?
Like you create a long lived get sse connection
Then send post requests but only get the responses via the long lived sse
How the hell do you write semantic tests against this setup?
Like you create a long lived get sse connection
Then send post requests but only get the responses via the long lived sse
How the hell do you write semantic tests against this setup?
I'll be writing a blog post on how I built this and extending the functionality next week
4823
Justin Hunter
@polluterofminds·22:13 28/02/2025
I finally built a V2 frame!
It uses AI personas generated from the profiles and 5 casts from the top-100 people on Warpcast rewards each week. When you submit your proposed cast, it will run the cast by each AI persona to get a rating. https://banger.management
It uses AI personas generated from the profiles and 5 casts from the top-100 people on Warpcast rewards each week. When you submit your proposed cast, it will run the cast by each AI persona to get a rating. https://banger.management
This can’t be an original idea… but has someone tried making a frame that lets you query a model from it? And you can pay per token via your Warplet?
What would the limitations be to making this possible?
What would the limitations be to making this possible?
I am looking for help building highly profitable straightforward tool on Base. Bot and smart contracts proficiency is a priority! I would be happy to pay $2k upfront. Target eta: 2 days of work. Start ASAP
How the Faces of Farcaster frame works to mint personalized onchain art & how to map token #'s to FIDs safely
PROBLEM
The frame mints an NFT with a token # corresponding to the user's FID. It was technically possible to squat on someone else's FID.
I knew this when I launched, but shipped to prod anyway. I figured if the frame got no traction it didn't matter or if it did happen i'd upgrade the contract to pause minting, patch, and transfer tokens to rightful owner.
I also considered minting server side but then marketplaces view it as an airdrop and hide it.
Fortuntately the frame got traction and nobody did this! Then @fiveoutofnine.eth DM'd that they found the exploit so it was time to patch.
SOLUTION
Verify wallet:FID relationship off-chain and sign message. When minting check that the caller can actually mint that FID token # by validating the message signature and signer. Simple and safe.
Reserving token IDs for FIDs opens up fun mechanics that I want to keep exploring and hope others will too!
PROBLEM
The frame mints an NFT with a token # corresponding to the user's FID. It was technically possible to squat on someone else's FID.
I knew this when I launched, but shipped to prod anyway. I figured if the frame got no traction it didn't matter or if it did happen i'd upgrade the contract to pause minting, patch, and transfer tokens to rightful owner.
I also considered minting server side but then marketplaces view it as an airdrop and hide it.
Fortuntately the frame got traction and nobody did this! Then @fiveoutofnine.eth DM'd that they found the exploit so it was time to patch.
SOLUTION
Verify wallet:FID relationship off-chain and sign message. When minting check that the caller can actually mint that FID token # by validating the message signature and signer. Simple and safe.
Reserving token IDs for FIDs opens up fun mechanics that I want to keep exploring and hope others will too!
something is cooking 👀
What's the status with dev calls? There should have been one today? If so I missed it. But I can't find the notes either. Was it canceled?
how do people test their frames locally lmfao
4564
kevin
@kevinoconnell·09:30 27/02/2025
Ended up using the default next js example, had to deploy it on vercel to get the images to work 😂
Whats ur go to frames v2 starter repo?
Looking for something that I can clone and just works off the bat
Looking for something that I can clone and just works off the bat
If you're wondering how you can launch frame v2 from cast action,
you can use this trick:
- cast action opens frame v1 with one or more buttons
- button deeplinks to launch relevant frame v2 instead of mini-app
Deeplink format: https://warpcast.com/~/frames/launch?url=https://app.payflow.me
cc: @deodad
you can use this trick:
- cast action opens frame v1 with one or more buttons
- button deeplinks to launch relevant frame v2 instead of mini-app
Deeplink format: https://warpcast.com/~/frames/launch?url=https://app.payflow.me
cc: @deodad
19129
Sinaver
@sinaver.eth·15:50 25/02/2025
Updated all @payflow cast actions to launch frame v2 instead of mini-apps (pay, reward, storage, mint, hypersub etc):
How it works:
- cast action opens frame v1 with one or more buttons
- button deeplinks to launch relevant frame v2 instead of mini-app
Benefits:
- support for warpcast wallet on mobile and other frame v2 features: auth, standardised tx spec, sdk actions, etc.
- no need to handle multiple context: web app vs mini-app vs frame v2
- better long-term support, mini-app spec was more experimental and had few minor, but annoying bugs
https://warpcast.com/sinaver.eth/0x5b7a2300
How it works:
- cast action opens frame v1 with one or more buttons
- button deeplinks to launch relevant frame v2 instead of mini-app
Benefits:
- support for warpcast wallet on mobile and other frame v2 features: auth, standardised tx spec, sdk actions, etc.
- no need to handle multiple context: web app vs mini-app vs frame v2
- better long-term support, mini-app spec was more experimental and had few minor, but annoying bugs
https://warpcast.com/sinaver.eth/0x5b7a2300
warpcast.com
cursor to me
"oh, you didn't want typescript errors? why didn't you say so"
"oh, you didn't want typescript errors? why didn't you say so"
i tried to create a tic-tac-toe game last night
not using ai, i just programmed how to win the game and all the blocking moves, etc.
didn't work, was pretty surprised it was so difficult
not using ai, i just programmed how to win the game and all the blocking moves, etc.
didn't work, was pretty surprised it was so difficult
Great example of a frame, where you want to have ability either to return to the frame after navigation (e.g. opening cast), or have it minimised!
This simplest approach could be to preserve last opened frame in the explorer by passing additional flag to frame sdk actions.
cc: @pfista @jj awesome job!
This simplest approach could be to preserve last opened frame in the explorer by passing additional flag to frame sdk actions.
cc: @pfista @jj awesome job!
451
Michael Pfister
@pfista·01:57 22/02/2025
Our v2 frame is here!
Search Farcaster with Buoy, right inside warpcast
Buoy.club
Give it a try for yourself
Search Farcaster with Buoy, right inside warpcast
Buoy.club
Give it a try for yourself
If you're a Dev on Farcaster or Startup building here my DM's are always open to help. I debug code, build features or full products and would love to help you succeed!
No strings attached.
To see case studies who I worked with: dtech.vision
That webpage also has a blog with Farcaster Docs
No strings attached.
To see case studies who I worked with: dtech.vision
That webpage also has a blog with Farcaster Docs
Idea inside idea!
Before we build these ideas, let's create a mini-app to collect ideas...
Before we build these ideas, let's create a mini-app to collect ideas...
12
Linda Xie
@linda·03:21 21/02/2025
If you're interested in building a mini-app on Farcaster with frames v2, I put together an aggregated list of 39 interesting mini-app ideas sourced from /someone-build and other casts
https://docs.google.com/document/d/1yW_MgL3Lv-KmKtvqiPH50oob8CIpvPdgQ7c3PA8bOak/edit?usp=sharing
https://docs.google.com/document/d/1yW_MgL3Lv-KmKtvqiPH50oob8CIpvPdgQ7c3PA8bOak/edit?usp=sharing
If you're interested in building a mini-app on Farcaster with frames v2, I put together an aggregated list of 39 interesting mini-app ideas sourced from /someone-build and other casts
https://docs.google.com/document/d/1yW_MgL3Lv-KmKtvqiPH50oob8CIpvPdgQ7c3PA8bOak/edit?usp=sharing
https://docs.google.com/document/d/1yW_MgL3Lv-KmKtvqiPH50oob8CIpvPdgQ7c3PA8bOak/edit?usp=sharing
what's the best way to get optimized image avatars for farcaster profiles? any API for this?
I think it's time to support launching frame v2 in cast / reply actions!
Devs can't completely migrate to v2, but on the other hand can't keep v1 because mini-app tx spec doesn't support Warpcast Wallet, mini-apps also don't support copy on desktop, and some other minor issues with opening links, etc.
This comes from personal experience making recent changes to farcaster storage service on @payflow 👇🏻
Devs can't completely migrate to v2, but on the other hand can't keep v1 because mini-app tx spec doesn't support Warpcast Wallet, mini-apps also don't support copy on desktop, and some other minor issues with opening links, etc.
This comes from personal experience making recent changes to farcaster storage service on @payflow 👇🏻
268438
cashlessman 🎩
@cashlessman.eth·13:45 20/02/2025
just built a V1 frame to launch any V2 frame
(provided it has a valid domain manifest)
launch-frame.vercel.app/
(provided it has a valid domain manifest)
launch-frame.vercel.app/
just built a V1 frame to launch any V2 frame
(provided it has a valid domain manifest)
launch-frame.vercel.app/
(provided it has a valid domain manifest)
launch-frame.vercel.app/
The next big thing always starts out dismissed as a ‘toy’
I’m sure having fun with all these Frame toys!
I’m sure having fun with all these Frame toys!