Skip to content

JiggyTheGrey/parlay-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parlay Farcaster Integration

This project integrates Parlay with Farcaster for social sharing of bets.

Features

  • Share bets on Farcaster with interactive frames
  • Generate dynamic OG images for bets
  • Handle bet interactions through Farcaster frames

Setup

  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev
  1. Build for production:
npm run build

API Endpoints

POST /api/farcaster/share

Shares a bet on Farcaster with an interactive frame.

Request Body:

{
  "betId": "string",
  "matchDetails": "object"
}

Environment Variables

Create a .env.local file with the following variables:

# Add your environment variables here

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published