FIOS is a decentralized document verification platform built on Ethereum. It enables secure document submission and verification through a network of trusted attesters.
- 🔒 Secure Document Upload: Upload documents to Lighthouse Storage with encryption
- 📊 Real-time Status: Track document verification status
- 📱 User Dashboard: View all your submitted documents and their status
- ⚡ Quick Verification: Streamlined interface for document review
- 💰 Staking System: Stake ETH to become an attester
- 📝 Feedback System: Provide clear rejection reasons when needed
- Frontend: Next.js 15, React, TypeScript
- Styling: TailwindCSS
- Blockchain: Ethereum, Solidity
- Storage: IPFS via Lighthouse
- Web3: Wagmi, Viem
- Development: Hardhat
- Clone the repository
git clone https://github.com/yourusername/fios.git
cd fios- Install dependencies
pnpm install- Set up environment variables
cp .env.example .env.localRequired variables:
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=
NEXT_PUBLIC_LIGHTHOUSE_API_KEY=
- Start the development server
pnpm run devThe FIOS smart contract (Fios.sol) handles:
- Document submission and tracking
- Attester staking and management
- Verification status management
- Platform statistics
function submitDocument(string memory cid)
function becomeAttester()
function approveDocument(address user, uint256 documentIndex)
function rejectDocument(address user, uint256 documentIndex, string memory reason)src/
├── app/ # Next.js pages
├── components/ # React components
├── hooks/ # Custom hooks
├── contracts/ # Contract ABIs
└── lib/ # Utilities
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Build for production
pnpm run build
# Deploy contract
pnpm run deployThis project is licensed under the MIT License - see the LICENSE file for details.
- Lighthouse for decentralized storage
- Wagmi for Ethereum interactions
- TailwindCSS for styling
Built with ❤️ by Fios Team
