FlightStakeFi

World's first DeFi protocol for air travel, unlocking your airtickets for DeFi capabilities.

Visit Repo
FlightStakeFi banner

About

FlightStakeFi tokenizes flight tickets as NFTs, unlocking three powerful DeFi primitives: ๐Ÿ“ˆ Stake - Earn yield by staking your flight tickets ๐Ÿ’ฐ Borrow - Get instant USDC loans using tickets as collateral ๐Ÿ›’ Trade - Buy and sell tickets on a decentralized marketplace FlightStakeFi s a decentralized application (DApp) that enables passengers to unlock the financial value of their airline tickets through blockchain technology by use of worldID, chainlink and privy. The platform allows users to restake tickets to earn rewards, borrow USDC against ticket collateral, and trade tickets on a peer-to-peer marketplace. Built with a modern full-stack architecture, the application combines DeFi mechanics with traditional travel ticketing to create a novel financial instrument. The smart contracts enable passengers to unlock the financial value of their airline tickets through DeFi

How it's made

๐Ÿ› ๏ธ Tech Stack Frontend Next.js 16 - React framework with App Router Tailwind CSS - Modern UI styling Privy - Web3 authentication & embedded wallets Wagmi + Viem - Ethereum interaction layer WorldID - Proof of personhood verification Backend Node.js + Express - RESTful API server Prisma + PostgreSQL - Database & ORM Ethers.js - Blockchain interaction Event Indexer - Real-time on-chain event monitoring Smart Contracts Hardhat 3 - Development framework Solidity 0.8.28 - Smart contract language Chainlink Functions - Decentralized price oracle OpenZeppelin - Security-tested contract libraries ๐Ÿ”ง Key Integrations 1. WorldID ๐ŸŒ Implementation: Proof of personhood verification for Sybil resistance

Frontend: IDKit Widget integrated in Navbar dropdown Backend: Cloud proof verification endpoint (/api/auth/worldid/verify) Database: isWorldIdVerified flag on User model Flow: Users verify once, status persists across sessions

2. Chainlink Functions ๐Ÿ”—

Implementation: Decentralized price oracle for real-time flight ticket valuation

Contract: PricingOracle.sol extends Chainlink FunctionsClient Flow: Contract requests price update via Chainlink Functions JavaScript source code fetches flight data from APIs Price calculated with risk factors (departure time, route, etc.) Callback updates on-chain price mapping Features: Automatic price updates, error handling, request tracking

3. Privy ๐Ÿ”

Implementation: Seamless Web3 authentication with embedded wallets

Provider: Wraps app in PrivyProvider with email/Google login Features: Auto-creates embedded wallets for non-crypto users Email/Google OAuth (no wallet required) Integrated with Wagmi for transaction signing Dark mode UI with custom branding Chain: Sepolia testnet

4. Hardhat 3 โš™๏ธ

Implementation: Modern smart contract development & deployment

Config: TypeScript-based configuration

Contracts: TicketNFT.sol - ERC721 tokenization LendingPool.sol - Collateralized lending StakingVault.sol - Yield staking Marketplace.sol - P2P trading PricingOracle.sol - Chainlink integration LiquidationEngine.sol - Automated liquidations Scripts: Deployment, configuration, and testing utilities

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Climate Finance

NFT Credit Marketplace revolutionizes DeFi lending by tokenizing credit scores as NFTs. Users can build credit history on-chain, secure better loan terms, and trade their credit reputation - bridging traditional finance with Web3 innovation.