Box3 is a cutting-edge solution combining IoT, RFID technology, blockchain-powered smart contracts, and modern web/mobile applications to create a secure, decentralized package authentication system.
Box3 leverages RFID technology and blockchain to ensure package authenticity and traceability. By integrating IoT devices like Raspberry Pi, RFID cards/readers, and platforms like Sui for decentralized smart contracts, Box3 provides an innovative approach to secure package management. The project also includes user-friendly web and mobile interfaces for seamless interactions.
-
RFID Technology:
- Taps RFID cards to capture and store package information.
- Enables secure data writing and reading.
-
Raspberry Pi & Django Backend:
- Acts as the central hub for data processing and verification.
- Communicates with RFID readers and external verification systems.
-
Blockchain (Sui):
- Stores verification data immutably.
- Executes decentralized smart contracts for package authentication.
-
Web App (Next.js):
- Facilitates RFID and package verification.
- Allows package image capture for demo purposes.
-
Mobile App (Flutter):
- Provides a secure interface for users to interact with the system.
- Supports execution of blockchain functions via the Node.js bridge.
-
External Verification (Galadriel):
- Validates package authenticity through external checks.
- Secure RFID Authentication: Tamper-proof verification using RFID technology.
- Decentralized Storage: Immutability ensured through blockchain (Sui).
- Cross-Platform Accessibility: Web (Next.js) and mobile (Flutter) applications.
- IoT Integration: Seamless connection between hardware and software components.
- Smart Contract Automation: Decentralized logic for package tracking and validation.
Component | Technology |
---|---|
Web3 Wallet | Okto |
IoT | RFID, Raspberry Pi |
Backend | Django |
Web App | Next.js |
Mobile App | Flutter |
Blockchain | Crosschain across Base + Sui |
Middleware | Node.js |
- Hardware: Raspberry Pi with an RFID receiver.
- Software:
- Python, Node.js, npm
- Flutter SDK
- Sui account setup
git clone https://github.com/imApoorva36/Box3.git
cd Box3
- Navigate to the backend folder:
cd backend
- Install dependencies:
pip install -r requirements.txt
- Start the Django server:
python manage.py runserver
- Navigate to the web folder:
cd web
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open the Flutter project in your preferred IDE.
- Run the app:
flutter run
- Navigate to the bridge folder:
cd node-bridge
- Install dependencies:
npm install
- Start the Node.js bridge:
node app.js
-
Tap RFID Cards:
- Use the RFID receiver to scan package information.
-
Authenticate via Web/Mobile App:
- Access the web app or mobile app to verify package data in real-time.
-
Blockchain Execution:
- Track verification status and execute smart contracts securely through the mobile app.
Contributions are welcome! Follow these steps to contribute:
- Fork the repository:
git fork https://github.com/imApoorva36/Box3.git
- Create a feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add your message here"
- Push to your branch:
git push origin feature-name
- Open a pull request.
This project is licensed under the MIT License.