{"id":22143422,"url":"https://github.com/hamzoo0/blocksafe-ddf","last_synced_at":"2026-02-21T09:30:54.604Z","repository":{"id":260312048,"uuid":"880937450","full_name":"HAMZOO0/BlockSafe-DDF","owner":"HAMZOO0","description":"BlockSafe is a blockchain-based project designed to provide secure data storage and verification solutions. Leveraging the decentralized nature of blockchain technology, this project aims to ensure data integrity, authenticity, and accessibility for various applications.","archived":false,"fork":false,"pushed_at":"2025-02-16T08:46:16.000Z","size":1310,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T00:40:20.703Z","etag":null,"topics":["appwrite","ethereum","metamask","nodejs","react","solidity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HAMZOO0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-30T16:17:17.000Z","updated_at":"2025-08-08T10:47:17.000Z","dependencies_parsed_at":"2024-12-10T10:23:39.950Z","dependency_job_id":"d93bff8e-3959-489c-ae4b-0915b128fd63","html_url":"https://github.com/HAMZOO0/BlockSafe-DDF","commit_stats":null,"previous_names":["hamzoo0/blocksafe","hamzoo0/blocksafe-ddf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HAMZOO0/BlockSafe-DDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HAMZOO0%2FBlockSafe-DDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HAMZOO0%2FBlockSafe-DDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HAMZOO0%2FBlockSafe-DDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HAMZOO0%2FBlockSafe-DDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HAMZOO0","download_url":"https://codeload.github.com/HAMZOO0/BlockSafe-DDF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HAMZOO0%2FBlockSafe-DDF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29678224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T06:23:40.028Z","status":"ssl_error","status_checked_at":"2026-02-21T06:23:39.222Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appwrite","ethereum","metamask","nodejs","react","solidity"],"created_at":"2024-12-01T22:10:15.839Z","updated_at":"2026-02-21T09:30:54.569Z","avatar_url":"https://github.com/HAMZOO0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **BlockSafe: Decentralized Data Framework (DDF)**\n\nBlockSafe is an innovative **Decentralized Data Framework** designed to securely store, share, and manage sensitive data using blockchain technology. It empowers organizations to build decentralized applications (dApps) with robust security, privacy, and transparency. Our first application built on BlockSafe is a **Medical Record System**, ensuring privacy, security, and seamless accessibility of medical data for patients, healthcare providers, and insurers.\n\n---\n\n## 🚀 **Key Features**\n\n- **Decentralized Architecture**: Eliminates single points of failure, enhancing data availability and security.\n- **Data Transparency**: Immutable records for full traceability and auditability.\n- **Cryptographic Security**: Ensures data integrity and access control through advanced encryption mechanisms.\n- **Customizable Framework**: Adaptable to various use cases, including:\n  - Medical Records Management\n  - Voting Systems\n  - Supply Chain Tracking\n  - Certificate Verification\n\n---\n\n---\n\n## 🛠️ **Tech Stack**\n\n| **Layer**              | **Tools/Technologies** | **Logo**                                                                                                                   |\n| ---------------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| **Blockchain**         | Ethereum               | \u003cimg src=\"/Block Safe/imgs/ethereum.svg\" height=\"60\" alt=\"Ethereum logo\" /\u003e                                                |\n| **Smart Contracts**    | Solidity               | \u003cimg src=\"/Block Safe/imgs//Solidity-Logo.wine.png\" height=\"60\" alt=\"Solidity logo\" /\u003e                                     |\n| **Data Storage**       | IPFS (via Pinata)      | \u003cimg src=\"/Block Safe/imgs//Pinata.jpeg\" height=\"60\" alt=\"Pinata logo\" /\u003e                                                  |\n| **Backend**            | Node.js (Express)      | \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/nodejs/nodejs-original.svg\" height=\"60\" alt=\"Node.js logo\" /\u003e |\n| **Frontend**           | React + Web3.js        | \u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/react/react-original.svg\" height=\"60\" alt=\"React logo\" /\u003e     |\n| **Wallet Integration** | MetaMask               | \u003cimg src=\"/Block Safe/imgs//metamask-colored.svg\" height=\"60\" alt=\"MetaMask logo\" /\u003e                                       |\n| **Authentication**     | Appwrite               | \u003cimg src=\"/Block Safe/imgs//appwrite.webp\" height=\"60\" alt=\"Appwrite logo\" /\u003e                                              |\n| **Development Tools**  | Hardhat, Remix IDE     | \u003cimg src=\"/Block Safe/imgs//remix-logo-icon.png\" height=\"60\" alt=\"Remix-IDE logo\" /\u003e                                       |\n\n---\n\n## 🔍 **How It Works**\n\n1. **Data Submission**: Sensitive data (e.g., medical records) is encrypted and stored off-chain using **IPFS via Pinata**.\n2. **Blockchain Logging**: The hash of the stored data is securely logged on the Ethereum blockchain, ensuring data integrity and transparency.\n3. **Access Control**: Patients, as data owners, manage access to their records through their wallets, granting/revoking permissions to entities like hospitals or insurers.\n4. **Transparency \u0026 Traceability**: All access requests and transactions are recorded immutably on the blockchain, providing complete traceability.\n\n---\n\n## 🏥 **Medical Record System (Use Case)**\n\n### **Overview**\n\nThe **Medical Record System** is a decentralized application (dApp) built on BlockSafe to securely manage and share medical records.\n\n- **Patients** control their records through decentralized identity and wallet integration.\n- **Hospitals** upload records, which are encrypted and stored on IPFS.\n- **Access permissions** are securely managed and logged on the blockchain, ensuring compliance with data privacy regulations.\n\n---\n\nHere’s a more organized and symmetric table for the screenshots:\n\n---\n\n## 📸 **Visual Overview**\n\n| **Application UI**                                                                                                             | **IPFS (Pinata)**                                                                                                           |\n| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------- |\n| \u003cimg width=\"673\" alt=\"Application UI\" src=\"https://github.com/user-attachments/assets/adec158a-81e6-4165-8719-f9c2794fa261\" /\u003e | \u003cimg width=\"896\" alt=\"IPFS Pinata\" src=\"https://github.com/user-attachments/assets/6967d220-576b-4ecd-9c21-159f694f44f0\" /\u003e |\n| \u003cimg width=\"658\" alt=\"Application UI\" src=\"https://github.com/user-attachments/assets/88215896-32b7-477d-a8e0-63d4b88bda7a\" /\u003e | \u003cimg width=\"776\" alt=\"Appwrite\" src=\"https://github.com/user-attachments/assets/576f5e47-c407-4a77-b64e-8fcf21c3fb1e\" /\u003e    |\n| \u003cimg width=\"728\" alt=\"Application UI\" src=\"https://github.com/user-attachments/assets/0915f0b9-fec6-421e-8a16-07de57396bf0\" /\u003e | \u003cimg alt=\"Ganache\" src=\"https://github.com/user-attachments/assets/9936231d-60a1-4a71-86a3-c440f02579bd\" /\u003e                 |\n\n| **Git Graph - Contributions**                                                                                             |\n| ------------------------------------------------------------------------------------------------------------------------- |\n| \u003cimg width=\"692\" alt=\"Git Graph\" src=\"https://github.com/user-attachments/assets/eba86b23-1dd0-4fb1-a367-2be16ba4c3b0\" /\u003e |\n\n---\n\n## ⚙️ **Setup Instructions**\n\n### **Prerequisites**\n\n- [Node.js](https://nodejs.org/) installed\n- [MetaMask](https://metamask.io/) wallet\n- Ethereum development environment (e.g., [Hardhat](https://hardhat.org/))\n\n### **Environment Variables**\n\nCreate a `.env` file in the project root and add the following environment variables:\n\n```plaintext\nVITE_APPWRITE_URL=\"your-appwrite-url\"\nVITE_APPWRITE_PROJECT_ID=\"your-appwrite-project-id\"\nVITE_APPWRITE_DB_ID=\"your-appwrite-database-id\"\nVITE_APPWRITE_COLLECTION_ID=\"your-appwrite-collection-id\"\nVITE_APPWRITE_BUCKET_ID=\"your-appwrite-bucket-id\"\nVITE_PINATA_SECRET=\"your-pinata-secret-key\"\nVITE_API_KEY=\"your-api-key\"\n```\n\n### **Run the Project**\n\n```bash\nnpm install\nnpm run dev\n```\n\nThis will start the development server locally.\n\n---\n\n## 🤝 **Contributing**\n\nWe welcome contributions to enhance the functionality and features of BlockSafe. To contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-name`).\n3. Commit your changes (`git commit -m 'Add new feature'`).\n4. Push to the branch (`git push origin feature-name`).\n5. Open a Pull Request.\n\n---\n\n## 📝 **License**\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamzoo0%2Fblocksafe-ddf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamzoo0%2Fblocksafe-ddf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamzoo0%2Fblocksafe-ddf/lists"}