This Solidity DApp enables users to register document hashes on the blockchain with associated timestamps. It serves as a reliable method for proving the existence and integrity of documents at specific points in time.
The Document Registry and Timestamp DApp is a decentralized application built using Solidity for the Ethereum Virtuam Machine (EVM) compatible blockchains, plus an HTML/ JavaScript/ CSS web interface. It allows users to securely register document hashes along with relevant metadata, thereby establishing a tamper-proof record of the document's existence at a particular moment. The project combines the transparency and immutability of the blockchain with the cryptographic security of hashing algorithms to ensure the integrity and validity of the registered documents.
- Secure and transparent registration of document hashes on the Ethereum blockchain, with timestamp association for accurate recording of document existence and integrity verification.
- User-friendly interface for seamless interaction with the smart contract using Web3.
- No need of a trusted third party thank to the use of blockchain.
- Connect your Ethereum wallet to the DApp by clicking the "Connect Wallet" button.
- Upload a file; the DApp will automatically generate the hash of the document.
- Provide additional details such as the document name and description.
- Click the "Add Document" button to register the document on the blockchain.
- Connect your Ethereum wallet to the DApp by clicking the "Connect Wallet" button.
- Upload a file; the DApp will automatically generate the hash of the document.
- Click the “Search document" button to check who and when has registered the uploaded file on the blockchain.
- Click the “Get your documents” buttons to retrieve all your document registration.
Live version of this app on my website.
- Ethereum (not yet deployed).
- Goerli (Ethereum test network).
- Sepolia (Ethereum test network).
- Polygon.
- Polygon Mumbay (Polygon test network).
To run the tests for this contract you need a Foundry project set up. Please read the README.md file of the Foundry tests folder for further details.
This project is licensed under the MIT License - see the LICENSE.md file for details.