Timebox is a privacy-focused digital time capsule platform powered by Midnight's confidential smart contracts. It allows users to store encrypted messages on the blockchain, ensuring they can only be accessed after a specified unlock time.
With zero-knowledge proofs (ZKPs) and decentralized storage, Timebox guarantees that your messages remain secure, private, and tamper-proof until the moment they are meant to be revealed.
Unfortunately, the Midnight testnet was down so we couldn't implement Midnight. The following README will be written as though we were able to implement it and it will describe how we would have used it.
- Users can create encrypted messages stored on Midnightโs blockchain.
- Messages remain inaccessible until the unlock time arrives.
- Uses Midnight's confidential smart contracts to ensure messages stay private and secure.
- Zero-knowledge proofs (ZKPs) verify recipient identity without revealing sensitive data.
- Immutable storage prevents message alteration or deletion.
- Only the intended recipient can decrypt and access the message.
- Users authenticate via cryptographic wallets.
- Messages can be accessed only by users with the correct private key after the unlock date.
Time capsules have long been a way to preserve memories and messages for the future. However, traditional time capsules are vulnerable to loss, tampering, and unauthorized access.
With Timebox, we bring time-locked messaging into the digital age by leveraging blockchain for security, Midnight for privacy, and ZKPs for authentication.
-
Clone the repository:
git clone https://github.com/peter-bf/devback
-
Navigate to the frontend directory:
cd devback cd frontend
-
Install dependencies:
npm install
If any errors occur, do
npm install --legacy-peer-deps
-
Start the server on local host port:3000
npm run dev
-
Navigate into backend directory
cd ../backend -
Run backend on local machine
uvicorn main:app --reload
-
Open your browser and visit:
http://localhost:3000
