CeDeFire Vault
CeDeFire Vault is a non-custodial smart contract help you stake stables, buys assets, earn yield.
Problem Statement
CeDeFire Vault is inspired by FIRE movement, CeDeFire Vault is a non-custodial smart contract allow cross-chain deposit and yield redemptions and claims.Main DesignFIRE Calculator: Provides early-retirement savings projections based on income, expenses, and target yield.Customizable On-Chain Vault Creation: Users can deploy and configure personalized CeDeFire Vaults directly via smart contracts.Cross-Chain Stablecoin Deposits: Deposit stablecoins (e.g., USDC) on Source Chain A, then receive Vault Share Tokens on either Chain A or Destination Chain B.Yield Claims & Redemption: Holders of Vault Share Tokens on Chain A can claim or redeem their accrued yield at any time.
Solution
The CeDeFire Vault frontend is a modern React 18 + TypeScript app built with Vite for fast builds, styled using Tailwind CSS and shadcn/ui components, Navigation is handled by React Router DOM with code splitting and protected routes for wallet connectivity. For Web3 integration, we rely on Ethers.js v5 for blockchain interactions, Reown AppKit (formerly WalletConnect) for wallet connections and network switches, and custom ABIs for our VaultFactory, Vault, and USDC contracts (addresses managed per chain). We support deposits on BSC Testnet and Polygon Amoy via a unified “switchNetwork” flow that prompts users to switch chains when needed, and all contract calls (reads via a read‐only provider, writes via signer) are abstracted in a Web3Service module.Used AI dev tools to accelerate front-end developments.
Hackathon
ETHGlobal Prague
2025
Contributors
- Jooeys
3 contributions