Box3 is a cutting-edge secure delivery ecosystem that solves the "last-mile trust" problem by combining IoT (RFID), Blockchain (Base), and Cryptographic Payments (x402).
We ensure that a package is not just "delivered" but verified and unlocked only when payment is secured on-chain.
In traditional logistics, "Cash on Delivery" is risky, and digital payments often lack synchronization with the physical handover. Porch piracy and disputed deliveries cost billions annually.
Box3 introduces a hardware-software bridge:
- Smart Packaging: Boxes are sealed with IoT/RFID locks.
- On-Chain Tracking: Every scan (Created, Shipped, Delivered) is recorded on the blockchain.
- x402 Payment Gate: The buyer pays a micro-transaction (USDC) via the app.
- Instant Unlock: The x402 protocol verifies payment and triggers the IoT lock to open.
-
Frontend & Payments (Next.js + x402)
- "Pay to Open": Uses the HTTP 402 standard to gate physical access behind crypto payments.
- Wallets: Integrated with Coinbase Wallet (OnchainKit) and MetaMask.
- Network: Deployed on Base Sepolia for fast, cheap USDC transactions.
-
IoT & Hardware (Raspberry Pi + RFID)
- RFID Authentication: Taps RFID cards to capture package identity.
- Smart Lock: Controlled by the Raspberry Pi, unlocking only upon blockchain verification.
-
Decentralized Logic (Base)
- Base: Handles both the smart contract logic for package state and the financial settlement layer (USDC payments).
-
Mobile Experience (Flutter)
- A secure mobile interface for couriers and users to interact with the system on the go.
- 🔐 x402 Payment Gate: Native HTTP 402 integration for seamless "Pay-to-Unlock" flows.
- 📦 Smart Logistics: Real-time tracking from "Created" to "Opened" using RFID scans.
- 💰 Dynamic Pricing: Boxes have dynamic values ($0.01 - $0.08) handled via smart middleware.
| Component | Technology |
|---|---|
| Web App | Next.js 16, Tailwind CSS, Shadcn UI |
| Payments | x402 Protocol, USDC (Base Sepolia) |
| Wallets | Coinbase Wallet (OnchainKit), Okto |
| IoT Hardware | Raspberry Pi, RFID RC522 |
| Backend | Django (Python), Node.js Middleware |
| Blockchain | Base (Payments & Data) |
| Mobile App | Flutter |
Experience the "Pay to Open" flow immediately without hardware.
- Navigate to the frontend:
cd frontend-x402 - Install dependencies:
npm install
- Configure Environment:
Create
.env.localwith your OnchainKit API Key and Wallet Address. - Run the App:
Open http://localhost:3000/dashboard.
npm run dev
- Backend (Django):
cd backend pip install -r requirements.txt python manage.py runserver - Hardware: Connect your RFID receiver to the Raspberry Pi and run the python bridge script.
- Mobile:
cd flutter_app flutter run
Built for the Future of Logistics.

