project screenshot 1
project screenshot 2
project screenshot 3

Base Cards

Buy gift cards with crypto directly from Farcaster frames using BaseCards

Base Cards

Created At

Superhack 2024

Project Description

BaseCards is a platform that allows users to create and send digital gift cards directly through Farcaster frames. Built on the Base network and leveraging Pyth for secure random number generation, GiftCaster brings a new level of social interaction and ease to digital gifting.

  1. Users interact with a Farcaster frame to initiate gift card creation.
  2. They select the amount in USD, and the system uses Pyth's price oracle to determine the equivalent in cryptocurrency on Base.
  3. The gift card details are stored in a smart contract on the Base network.
  4. A unique claim link is generated and can be shared with the recipient.
  5. Recipients visit our website to claim their gift, which transfers the specified amount to their wallet on Base.
  6. The gift amount is adjusted in real-time using Pyth's price feeds to ensure accurate value transfer.

How it's Made

TechStack

  • Solidity: For writing secure, efficient smart contracts deployed on Base.
  • Next.Js: Our frontend is built with Next.js for a responsive, user-friendly interface.
  • Ethers.js: For interacting with the Base network and our smart contracts.

Integrations

  • Base: Our smart contracts are deployed on the Base network, ensuring low-cost, high-speed transactions for gift card payments.
  • Farcaster: We use Farcaster frames for a seamless, social media-integrated gift card creation experience.
  • Pyth Network: Pyth's price oracle is used to provide accurate, real-time cryptocurrency price data for gift card valuation and redemption on Base.
background image mobile

Join the mailing list

Get the latest news and updates