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.
- 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.
- Clone the repository:
git clone https://github.com/Mr94t3z/fc-storage-gift
- Navigate to the project directory:
cd fc-storage-gift
- Install dependencies:
npm install
- 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"
- Start the application:
npm run dev
- Access the application in your browser at
https://localhost:5173/api/frame/dev
.
- Node.js
- Frog
- Neynar
- Glide
- Vercel
Sign up to get your API key for Glide here.
Explore the Neynar API reference here.
Storage Farcaster Gift is built using the minimal & lightweight framework for Farcaster Frames called Frog.
The contract are deployed at the following address:
Contract | Address |
---|---|
StorageRegistry | 0x00000000fcCe7f938e7aE6D3c335bD6a1a7c593D |
Watch the demo on YouTube: FC Storage Gift [DEMO]
This project is licensed under the MIT License - see the LICENSE file for details.