Inspiration
We were inspired by the inefficiencies in Web3 commerce where merchants earn 0% on idle funds during transaction settlement. While billions of dollars flow through crypto payments daily, most funds remain non-yielding before withdrawal.
Our goal with EgyptFi is to bridge DeFi yield generation and merchant payments, allowing businesses to earn passive income automatically from their transaction flows. We envisioned a checkout system that not only processes payments but also activates yield on every transaction β turning idle liquidity into growth.
β‘ What It Does
EgyptFi is a yield-powered payment protocol that integrates directly with Vesu, Atomiq, and Xverse wallets to enhance Web3 merchant settlements.
It enables:
- π¦ Smart yield routing β funds received by merchants are automatically deposited into a Vesu pool to earn yield before withdrawal.
- π Cross-chain settlement β powered by Atomiq, supporting BTC, ETH, MATIC, and STARK payments.
- ποΈ Merchant pool customization β merchants can choose which yield pool or strategy their funds go into.
In short, EgyptFi transforms crypto checkouts into yield-generating financial flows.
ποΈ How We Built It
We combined DeFi and payments through three coordinated layers:
- Smart Contracts (Cairo v2)
- Manages merchant vaults, and Vesu strategy integration.
- Implements yield allocation, pool selection, and auto-allocation mechanisms.
- Cross-chain Payment Layer
- Integrated Atomiq SDK for BTC swaps.
- Added Xverse BTC wallet.
- Created an invisible wallet system to handle merchant-level settlements securely.
- Frontend & Dashboard (Next.js + StarkNet.js)
- Displays yield analytics, merchant balances, and transaction histories.
- Enables pool switching via a responsive interface.
βοΈ Challenges We Ran Into
- Optimizing Cairo contracts for gas efficiency on StarkNet.
- Managing cross-chain settlement delays between BTC and StarkNet.
- Handling multiple wallet SDKs (Ready, Xverse, Chipipay) without conflicts.
- Debugging liquidity routing between Vesu vaults and merchant wallets.
π Accomplishments That We're Proud Of
- Successfully integrated Vesu yield strategies into merchant checkout flows.
- Built cross-chain swaps using Atomiq directly inside the payment layer.
- Added BTC wallet support (Xverse) alongside NGN fiat gateways.
- Designed a modular Cairo architecture for future yield extensions.
- Created a yield dashboard showing live vault performance and pool analytics.
These integrations represent one of the first working prototypes of yield-augmented commerce built natively on StarkNet.
π§ What We Learned
- Deep understanding of Vesu strategy contracts and yield optimization models.
- How to orchestrate liquidity between multiple blockchains and pools.
- Practical experience with Cairo v2, StarkNet tooling, and composable DeFi systems.
- Designing merchant UX that hides Web3 complexity while preserving decentralization.
π What's Next for EgyptFi
- Launching a full merchant pool dashboard for analytics and pool management.
- Integrating Vesu vault creation directly through our dApp UI.
- Expanding supported stablecoins (USDC, DAI, USDT).
- Building on-chain yield leaderboards to gamify merchant earnings.
- Partnering with payment providers and DAOs to onboard more merchants globally.
Our long-term goal is to make EgyptFi the default yield layer for Web3 payments, where every checkout automatically compounds value β for merchants, users, and DeFi ecosystems alike.
Letβs consider merchant daily turnover of ( T = 1,000,000 , \text{NGN} ) with a yield rate of ( y = 0.5% ):
[ \text{Daily Yield} = T \times y = 1,000,000 \times 0.005 = 5,000 , \text{NGN} ]
For 1,000 merchants, total ecosystem yield = ( 5,000,000 , \text{NGN/day} ).
Built With
- cairo
- chainlink
- coinmarketcapapi
- nextjs
- postgresql
- typescript
Log in or sign up for Devpost to join the conversation.