CeDeFire Vault

CeDeFire Vault is a non-custodial smart contract help you stake stables, buys assets, earn yield.

CeDeFire Vault

Created At

ETHGlobal Prague

Project Description

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 Design

  1. FIRE Calculator: Provides early-retirement savings projections based on income, expenses, and target yield.
  2. Customizable On-Chain Vault Creation: Users can deploy and configure personalized CeDeFire Vaults directly via smart contracts.
  3. 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.
  4. Yield Claims & Redemption: Holders of Vault Share Tokens on Chain A can claim or redeem their accrued yield at any time.

How it's Made

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.

background image mobile

Join the mailing list

Get the latest news and updates