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

TimeCapsule

Lock your message’s hash with an on-chain unlock time, and reveal the plaintext later via a verified event. Plaintext is never stored in contract storage.

視頻

技術堆疊

Solidity
Base
Evm
Smart contracts
Web3 fronted

描述

## Problem

People need a trust-minimized way to seal messages until a specific future date without leaking content early.

## Solution

Store only the keccak256 hash + unlockTime on-chain. Before unlock, reveal is impossible. After unlock, the contract verifies the hash and discloses via event—plaintext is never stored in storage.

## How it works

1. Frontend computes keccak256(utf8(message)).

2. Call createCapsule(hash, unlockTime).

3. After time elapses, call reveal(id, plaintext) → hash check → CapsuleRevealed event.

4. UI listens to the event and displays the plaintext.

## Features

- Time lock by timestamp

- Privacy by design (hash-only storage)

- Minimal API: create + reveal

- Event-based disclosure

- Optional: encrypted IPFS/Arweave backup

## Tech Stack

Solidity (EVM), Base Sepolia, Ethers.js, simple web frontend. Optional: 4337 AA + Paymaster.

## Use Cases

- Embargoed announcements or giveaways

- Personal notes & celebrations

- Community time capsules

- Fair reveal of contest answers

## License

MIT

黑客松進展

Deployed MVP smart contract on Base Sepolia, built a simple frontend for create/reveal flow, and prepared README + demo video.

籌資狀態

Currently unfunded. The project was built solely for the hackathon and is self-initiated without outside capital.
團隊負責人
FFırat Sönmez
專案連結
行業
SocialFiAI