project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Cast Picker

Cast Picker is an inframe onchain tool for creating giveaways and selecting winners from users who follow and like your cast.

Cast Picker

Created At

Frameworks

Project Description

Giveaways are often intransparent and can be manipulated. Blockchain can solve this. We've created the most seamless experience by running a recorded and executed giveaway raffle inframe and onchain.


This frame allows anyone to run a Farcaster Giveaway by linking the frame at https://castpicker.vercel.app/api in a cast.

Participants can enter the giveaway raffle draw by liking and following, then clicking the frame button to record their entry.

The giveaway cast author/creator can, at any point, click through the frame and deploy an onchain raffle through a frame transaction. The raffle's metadata is uploaded to IPFS via Pinata and recorded onchain. Once the giveaway raffle has been executed onchain, the frame will show all winners and notify the user if they won or participated but didn't win.

The raffle is recorded onchain using Fairyraffles (fairy.dev). Please note that the Fairyraffles contracts are NOT part of the hack.

How it's Made

We use frog as the frame framework, neynar APIs to validate user data, likes, and follows, pinata to upload raffle metadata to IPFS and track requests for analytics, Fairyraffles (fairy.dev) contracts to execute the raffles onchain.

Entries are recorded in Vercel KV and later bundled as metadata JSON, which is uploaded on IPFS via Pinata.

background image mobile

Join the mailing list

Get the latest news and updates