BLOCKNDRIVE
AI-driven decentralized document security using Chainlink CRE, encryption, and blockchain.
What it is
BlockNDrive – Autonomous AI Document Security Network is a decentralized system designed to securely store and manage sensitive documents using blockchain, AI agents, and encryption.
Traditional document storage platforms rely on centralized servers, which can lead to security risks such as unauthorized access, data breaches, and lack of user control. BlockNDrive solves this problem by providing a secure, decentralized, and intelligent document storage solution where users maintain full ownership of their data.
In BlockNDrive, users upload documents through a Next.js frontend integrated with MetaMask. When a document is uploaded, the system extracts basic metadata such as file name, type, and size. This information is then processed by Chainlink CRE AI agents, which analyze the document by generating AI metadata, performing risk scoring, checking compliance rules, and classifying the document type.
After AI analysis, the document is secured using AES-256 encryption, ensuring that only the document owner can decrypt and access the file. The encrypted document and generated metadata are stored on IPFS, and their content identifiers (CIDs) are recorded on the Ethereum blockchain through a smart contract called DocumentVault. This ensures the document data is tamper-proof, verifiable, and permanently recorded.
Additionally, Chainlink Automation is used to enable continuous monitoring of document risks, trigger compliance alerts, and perform automated AI re-analysis when needed. This allows the system to function as an intelligent and self-monitoring document security network.
Through the user dashboard, users can view their uploaded documents, check AI-generated risk scores, and securely decrypt and download their files.
BlockNDrive demonstrates how blockchain, AI agents, decentralized storage, and Chainlink services can work together to create a secure, transparent, and intelligent document management system for the future.
How it Works
BlockNDrive is built using a combination of blockchain, decentralized storage, AI agents, and encryption technologies.
The frontend of the application is developed using Next.js, which provides the user interface for uploading and managing documents. MetaMask is integrated for user authentication and interaction with the blockchain.
The backend logic is implemented through an Ethereum smart contract called DocumentVault, written in Solidity and deployed on the Ethereum network. The smart contract stores the IPFS Content Identifiers (CIDs) of encrypted documents and metadata, along with document hashes and AI-generated risk scores to ensure tamper-proof verification.
When a user uploads a document, the system first extracts basic file metadata such as file name, type, and size. This metadata is then processed by Chainlink CRE AI agents, which perform multiple tasks including metadata generation, risk scoring, compliance analysis, and document classification.
After the AI analysis, the document is secured using AES-256 encryption to protect sensitive data. The encrypted document and the generated metadata JSON are uploaded to IPFS for decentralized storage, which returns unique CIDs for each file.
These CIDs are then stored in the DocumentVault smart contract, ensuring that the document references are permanently recorded on the blockchain and cannot be modified.
Additionally, Chainlink Automation is used to enable continuous monitoring of document risks, trigger compliance alerts, and perform automated AI re-analysis when required.
This architecture combines Next.js, MetaMask, Solidity smart contracts, IPFS, AES-256 encryption, Chainlink CRE AI agents, and Chainlink Automation to build a secure and intelligent decentralized document security system.
Links
Created by
- SUDHANSHU RAM