https://github.com/mbn-code/rust-blockchain-file-sharing
Securely share files on the blockchain with this Rust-based application. Utilizing advanced blockchain technology, this project ensures the confidentiality and integrity of shared files. Developed for cross-platform compatibility on Windows and macOS.
https://github.com/mbn-code/rust-blockchain-file-sharing
Last synced: 3 months ago
JSON representation
Securely share files on the blockchain with this Rust-based application. Utilizing advanced blockchain technology, this project ensures the confidentiality and integrity of shared files. Developed for cross-platform compatibility on Windows and macOS.
- Host: GitHub
- URL: https://github.com/mbn-code/rust-blockchain-file-sharing
- Owner: mbn-code
- Created: 2024-01-28T00:51:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T11:39:07.000Z (over 1 year ago)
- Last Synced: 2025-01-27T08:11:38.061Z (5 months ago)
- Language: JavaScript
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust Blockchain File Sharing
[](https://www.rust-lang.org/)
[](https://soliditylang.org/)
[](https://www.gnu.org/software/make/)**Securely share files on the blockchain with this Rust-based application.**
## Overview
This project is a decentralized file-sharing application that ensures the confidentiality and integrity of shared files. Developed for cross-platform compatibility on Windows and macOS.## Features
- **User Authentication:** Implements user authentication for secure access to file-sharing functionalities.
- **Ethereum Integration:** Utilizes Ethereum smart contracts to manage file storage and sharing securely.
- **Cross-Platform Compatibility:** Developed to work seamlessly on both Windows and macOS environments.## Languages
1. **Rust: 72.6%**
2. **Solidity: 14.4%**
3. **Makefile: 13.0%**## Usage
1. **Local Ethereum Node:**
- Ensure you have a local Ethereum node running.2. **Modify Contract Address:**
- Update `CONTRACT_ADDRESS` in `file_sharing.rs` with the actual smart contract address.3. **Run the Application:**
- Execute the Rust program to securely share files on the blockchain.## Project Structure
- **main.rs:** Entry point for the application, initiating file sharing.
- **user_authentication.rs:** Manages user authentication using a simulated user database.
- **file_sharing.rs:** Interacts with Ethereum smart contracts to handle file sharing securely.
- **file.rs:** Defines the structure of a file, including its name and content.## Security
> [!CAUTION]
This is a simplified example and should be adapted for production use, incorporating additional security measures and thorough testing.> [!IMPORTANT]
Ensure responsible usage and adhere to legal and ethical considerations when sharing files.