hackquest logo
  • 學習
  • 課程探索
  • 實戰
  • 黑客松探索
  • 往期項目
  • 社區
  • 論壇
  • 全球活動
  • 我的社區
  • 共學營
  • 組織中心
  • 更多
    • 詞彙表
    • 博客
    • 水龍頭
    • 工作機會
    • 媒體工具包
    • 創始人
hackquest logo

life-vault

LifeVault is a non-custodial inheritance and savings protocol built on Arbitrum Sepolia using Arbitrum Stylus (Rust).

視頻

技術堆疊

React
Next
Rust
Web3
arbitrum stylus

描述

LifeVault

LifeVault is a non-custodial inheritance and savings protocol built on Arbitrum Sepolia using Arbitrum Stylus (Rust).

It addresses two core issues in asset management: preventing premature liquidation of savings (Diamond Hands) and ensuring asset continuity in the event of loss of access or death (Legacy Protocol).

Features

1. Diamond Vault (Time-Locked Savings)

Users lock ETH for a pre-defined duration to enforce disciplined saving.

  • Lock Mechanism: Funds are locked until the maturity date.

  • Emergency Withdrawal: Users can break the lock early but incur a penalty.

    • 5% penalty if more than 24 hours remain.

    • 1% penalty if less than 24 hours remain.

  • Revenue: Penalties are programmatically sent to the protocol developer wallet.

2. Legacy Protocol (Inheritance)

A "Dead Man's Switch" mechanism for asset transfer.

  • Configuration: Users set an inactivity threshold (e.g., 180 days) and a beneficiary address.

  • Proof of Life: The owner can "Ping" the contract to reset the inactivity timer.

  • Claiming: If the timer expires, the specific beneficiary can locate and claim the funds.

  • Shareable Links: Deep-linking support allows beneficiaries to easily access the claim interface without manually searching for wallet addresses.

Smart Contract

  • Language: Rust

  • SDK: Arbitrum Stylus

  • Optimization: Uses manual storage slot management to recycle Vault IDs (0-4), ensuring efficient storage usage and preventing storage bloat.

Frontend

  • Framework: Next.js 14 (App Router)

  • Styling: TailwindCSS

  • Blockchain Interaction: Wagmi v2, Viem, RainbowKit

  • Deployment: Vercel

Deployed Contracts

Arbitrum Sepolia Testnet: 0xA1C65aae77B7b052B07E473E9dD6F749093d223A

黑客松進展

Version 1 currently in Testnet

籌資狀態

Nil
團隊負責人
OOpe Ayeni
專案連結
行業
DeFi