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.

Video

Sự miêu tả

## 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

Tiến độ hackathon

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

Công nghệ sử dụng

Solidity
Base
Evm
Smart contracts
Web3 fronted

Trạng thái huy động vốn

Currently unfunded. The project was built solely for the hackathon and is self-initiated without outside capital.

Trưởng nhómFFırat Sönmez
Mã nguồn mở

Github liên kết

https://github.com/Froo58
Ngành
SocialFiAI