Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(farcaster): frames v2 spike implementation #10588

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Link to Issue
Closes: #10562

Description of Changes
This PR implements a spike/research for Farcaster Frames v2 integration. Key findings:

  1. Technical Feasibility
  • Successfully demonstrated ability to inject existing app into v2 frame
  • Implemented v2-compliant frame meta tags and structure
  • Created routing and component architecture for v2 frames
  1. Implementation Details
  • Updated frame version to "vNext" per v2 spec
  • Added proper button array support
  • Implemented postUrl for frame interactions
  • Added Frame SDK integration
  1. Blockers & Challenges
  • Authentication required for frame validator testing
  • Major architectural shift from server-side (v1) to client-side (v2)
  • Need to maintain both v1 and v2 implementations during transition
  • Careful consideration needed for wallet integration
  1. What Can Be Done
  • Implement v2 frames alongside existing v1
  • Reuse existing contest components with minimal modification
  • Leverage Frame SDK for enhanced interactivity
  • Add new features like price charts and token swaps
  1. Implementation Difficulties
  • Complex state management between app and frame
  • Authentication flow integration
  • Maintaining backward compatibility
  • Testing infrastructure updates needed

Test Plan

Deployment Plan
N/A - Spike/research only

Other Considerations

  • Consider gradual migration strategy from v1 to v2
  • Need to establish testing infrastructure for v2 frames
  • Consider impact on existing frame implementations

devin-ai-integration bot and others added 2 commits January 14, 2025 13:54
- Add frame manifest file
- Create v2 frame component structure
- Set up frame router for v2
- Add required meta tags for frame validation
- Maintain v1 compatibility

Co-Authored-By: [email protected] <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frames V2 Designs feasibility spike
0 participants