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

Contests with Frames V2 [SPIKE] #10223

Open
sachben91 opened this issue Dec 11, 2024 · 2 comments
Open

Contests with Frames V2 [SPIKE] #10223

sachben91 opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels

Comments

@sachben91
Copy link

sachben91 commented Dec 11, 2024

Description

FramesV2 from Farcaster allows:

  • Ability to use the app in full screen
  • Get featured under apps in Warpcast
  • Use Farcaster mobile notifications
  • Run heavier apps than previously possible

With this in mind, we would like Farcaster contests with FramesV2 to have:

  • A @contestbot that launches contests on Farcaster given certain parameters such as prize distribution, name of the contest, token for funding and voting and image to be associated with the contest
  • The contestbot should generate a contest page frame with the requisite information that the user has provided
  • The contest page in addition will have a leaderboard, ability for users to post in the contest, ability to swap tokens to purchase tokens required for the contest
  • Any user on Farcaster should be able to open the contest frame and add funding to the contest, participate in the contest, upvote entries
  • User wallets should already be connected when the frame is open
  • The contests should run on a community that the bot is admin of, all contests should get posted into this community

Figjam flow

Goal of Ticket is to Provide a set of Implementation Tasks that are reviewable by Product and Eng, ideally by Tuesday the 17th

Project Owner

No response

Bucket ID

No response

User Stories / Acceptance Criteria

Some open questions:

  • are we able to send notifications on any Farcaster client using Framesv2?
  • A big change here is that any user should be able to participate in the contest if they have their wallet from Farcaster connected (or any wallet connected) - what changes are required on platform and protocol for this? How big is the lift?
  • When a contest is prompted to be launched, where would the token information be grabbed from? Lot of the coins we have will be Farcaster "native" coins such as coins launched with Clanker, but we should also support some of the popular coins on Base

Design Devlink

No response

Design Screenshot

No response

Additional Context

No response

@rbennettcw
Copy link
Contributor

rbennettcw commented Dec 16, 2024

  • Notifications will be handled via a Farcaster bot created via Neynar: https://docs.neynar.com/docs/how-to-create-a-farcaster-bot
    • Frames V2 has a new notification system. Ideally, we'd be able to use Neynar to do this, because otherwise there might be a larger scope of work required. Will contact Neynar to see if possible. For now, I'd put the notifications requirement on the backburner.
  • Any user can already participate in a contest as long as they’ve connected a verified ETH wallet to their FC account
  • Protocol team should create a helper to fetch token address given a token symbol. The token info for Clanker tokens can perhaps be queried from the Clanker deployer contract (repo contains docs and deployer address): https://github.com/clanker-devco
    • If not, leave it up to protocol team to find another way

@rbennettcw
Copy link
Contributor

So from what I can tell, there's actually 2 independent scopes of work here:

  • Automated contest creation via bot
  • Upgrade contest frame to V2

These tickets are the minimum required to implement bot creation of contests:

I'm working on separate tickets for v2 frames and frame notifications.

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

No branches or pull requests

2 participants