Skip to content

agaperste/dune-linea-frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frame with Dune Linea API

This repo showcases how to leverage Dune Linea API with a Farcaster Frame to display LXP points alongside with social and onchain metrics.

Frame Paths

  • Fetch Your Stats: Gets LXP and related stats if based in your Farcaster ID.
  • Input Wallet Address: Allows users to enter a specific wallet address to fetch and display metrics.
  • Random Stats: A fun "Surprise Me" button that fetches random user stats.

Resources

👉 Here's a link to a cast using this frame.

📚 Here is the Dune Linea API doc.

📺 Quick tutorial on how to build with Dune API

🫡 This frame is built using the Frog framework. Please head over to their document to install Frog. (For this repo, we followed the quickstart for bootstrap via Vercel, feel free to check it out.)

Running Locally

After git cloning, please fill in secrets within the .env file. (See .env.sample to see what are needed.)

Then run repo with below commands:

(If you haven't, install Node.js and install pnpm.)

pnpm install
pnpm dev

Head to http://localhost:5173/api

Have questions?

About

Frame to retrieve Linea LXP with power by Dune API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published