Skip to content

Mantis322/Starknet_FileTransfer

Repository files navigation

Secure P2P File Transfer on Starknet 🔐

A revolutionary decentralized file sharing application built on Starknet that combines the power of P2P connections with blockchain security.

Why This Matters? 🤔

Traditional file sharing solutions face numerous challenges in today's digital landscape. Here's how our solution compares:

Feature Traditional File Sharing Centralized Blockchain Solutions P2P Starknet File Transfer
Server Costs High maintenance costs Medium-high gas fees Minimal (only for permissions)
Data Storage Centralized servers On-chain (expensive) P2P (no storage costs)
Security Vulnerable to server attacks Smart contract dependent Dual-layer (P2P + Blockchain)
Privacy Limited by server policies Public blockchain data Private P2P connections
Access Control Database-dependent Smart contract-based Smart contract + Security code
Scalability Server-limited Blockchain-limited P2P network scalability
Single Point of Failure Yes (central server) No No
Cost for Users Subscription/Storage fees High gas fees Minimal gas fees

Contract Address

0x06462c81a901843c8f6ac3245e390abb3edf2f5b49be0446b13cd6ebb0a25fdb

🌟 Key Innovations

  1. Hybrid Security Architecture

    • Smart contract-based permissions
    • P2P file transfer infrastructure
    • Two-factor authentication with wallet + security code
  2. Cost-Efficient Design

    • No central storage costs
    • Minimal gas fees (only for permission management)
    • Scalable P2P infrastructure
  3. Enhanced Privacy

    • Direct peer connections
    • No data storage on blockchain
    • Permissioned access control

🔧 Technical Architecture

  1. Receiver Flow:

    • Connect Starknet wallet
    • Grant permissions via smart contract
    • Generate unique security code
    • Share address + code with sender
  2. Sender Flow:

    • Connect Starknet wallet
    • Verify permissions on-chain
    • Input receiver's security code
    • Initiate P2P file transfer

🎯 Technical Innovation

  1. Cairo-Native Development:

    • Built entirely using Cairo, Starknet's secure programming language
    • Leverages Cairo's built-in security features and mathematical proofs
    • Optimized for Starknet's SHARP prover
  2. Starknet Integration:

    • Direct integration with Starknet's Layer 2 scaling solution
    • Efficient permission management through Cairo smart contracts
    • Minimal gas costs due to Starknet's architecture

💡 Why Starknet?

  • Security: Leverages Starknet's robust security model
  • Scalability: Benefits from Starknet's Layer 2 scaling
  • Cost-efficiency: Minimal gas fees for permission management
  • Future-proof: Built on evolving ZK-rollup technology

🚀 Future Potential

  • Multi-file transfer optimization
  • Advanced permission management
  • Cross-chain compatibility

🔍 Security Features

  • Decentralized permission storage
  • No central point of failure
  • Two-factor authentication
  • Secure P2P connections
  • Smart contract audited security

📈 Market Advantage

Our solution addresses the primary concerns in the file sharing industry:

  • Security
  • Privacy
  • Cost
  • Scalability
  • Ease of use

Frontend Installation Guide 🖥️

Prerequisites 📋

  1. Web Browser
  • Chrome, Firefox, or Brave with Starknet wallet extension
  • Argent X or Braavos wallet installed
  1. Development Environment
  • Node.js v16 or higher
  • npm or yarn package manager

Quick Start ⚡

  1. Clone the frontend repository git clone https://github.com/Mantis322/starknet-p2p-transfer-frontend

  2. Navigate to project directory cd starknet-p2p-transfer-frontend

  3. Install dependencies npm install or yarn install

  4. Start development server npm run dev or yarn dev

🤝 Contributing

We welcome contributions!


Currently this project is running on localhost.

This project represents the future of secure file sharing, combining the best of blockchain security with P2P efficiency.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors