A decentralized file sharing platform built on blockchain technology.
ChainShare allows users to securely share files using IPFS for storage and Ethereum blockchain for access control and file metadata management.
- Web3 wallet integration (MetaMask)
- File upload interface with drag & drop
- Smart contract for file metadata storage
- Responsive UI with Tailwind CSS
- IPFS integration for file storage
- File listing and management
- Access control and sharing
- Encrypted file sharing
- Frontend: Next.js 14, React 18, TypeScript, Tailwind CSS
- Blockchain: Ethereum, Solidity, Hardhat
- Storage: IPFS
- Web3: web3.js
- Node.js 18+
- MetaMask browser extension
- Clone the repository
- Install dependencies:
npm install- Run the development server:
npm run dev- Open http://localhost:3000 in your browser
The FileShare contract handles file metadata storage and access control on the Ethereum blockchain. Deploy using Hardhat:
npx hardhat node
npx hardhat run scripts/deploy.js --network localhostThis is an active development project implementing core blockchain file sharing functionality. Currently includes wallet connection, file upload UI, and smart contract foundation.
MIT