Skip to content

Mr94t3z/storage-farcaster-gift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storage Farcaster Gift

Description

A Farcaster Frame is used to locate the people you follow on Farcaster who have low storage capacity, allowing you to gift them additional Farcaster Storage.

Features

  • Fetch followers' storage data from the Neynar API.
  • Display followers' profiles and their remaining storage capacity.
  • Allow users to gift storage to selected followers.
  • Track the status of storage gifting transactions.

Installation

  1. Clone the repository:
    git clone https://github.com/Mr94t3z/storage-farcaster-gift
  2. Navigate to the project directory:
    cd storage-farcaster-gift
  3. Install dependencies:
    npm install
  4. Create a .env file in the root directory and add the following environment variables:
     GLIDE_PROJECT_ID = "YOUR_GLIDE_PROJECT_ID"
     NEYNAR_API_KEY = "YOUR_NEYNAR_API_KEY"
     BASE_URL_NEYNAR_V2 = "https://api.neynar.com/v2/farcaster"
    

Usage

  1. Start the application:
    npm run dev
  2. Access the application in your browser at http:https://localhost:5173/api/frame/dev.

Technologies Used

  • Node.js
  • Frog
  • Neynar
  • Glide
  • Vercel

Sign Up for Glide API Key

Sign up to get your API key for Glide here.

Neynar API Reference

Explore the Neynar API reference here.

Frog Framework

Storage Farcaster Gift is built using the minimal & lightweight framework for Farcaster Frames called Frog.

Farcaster: Storage Registry Contract

The contract are deployed at the following address:

Contract Address
StorageRegistry 0x00000000fcCe7f938e7aE6D3c335bD6a1a7c593D

Demo

Watch the demo on YouTube: Storage Farcaster Gift Demo

License

This project is licensed under the MIT License - see the LICENSE file for details.