Interactive banking app demonstration for the Digital Receipt Protocol.
✅ Fully optimized for CodeSandbox - Ready to import and run!
- Login with Face ID animation
- Transaction list with DRP receipt indicators
- Interactive receipt viewing
- Client-side decryption simulation
- 3 sample receipts with itemized details
- Lucide React icons throughout
- Go to CodeSandbox.io
- Click "Create Sandbox"
- Select "Import from GitHub"
- Paste the GitHub URL of this project
- CodeSandbox will auto-detect it as a React app
- Go to CodeSandbox.io
- Click "Create Sandbox" → "Import Project"
- Drag and drop this entire folder
- Or zip this folder and upload the zip
- Create new React sandbox at codesandbox.io/s/new
- Replace the following files:
src/App.js- Main componentsrc/styles.css- All stylessrc/index.js- Entry pointpackage.json- Dependencies
- Install
lucide-reactin Dependencies panel
Once uploaded to CodeSandbox:
- Click "Share" button in top right
- Copy the embed code
- Or use the format:
https://codesandbox.io/embed/[your-sandbox-id]?view=preview&hidenavigation=1
Add this to your demo/overview.mdx:
<iframe
src="https://codesandbox.io/embed/[YOUR-SANDBOX-ID]?view=preview&hidenavigation=1&hidedevtools=1"
style="width:100%; height:700px; border:0; border-radius: 4px; overflow:hidden;"
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
></iframe>All receipt data is in src/App.js in the receipts array. You can easily:
- Add more sample receipts
- Change merchant names
- Modify items and prices
- Update styling in
src/styles.css
- React 18.2.0
- React DOM 18.2.0
- React Scripts 5.0.1
- Lucide React 0.263.1
This project has been optimized for CodeSandbox with:
- ✅ Proper manifest.json configuration
- ✅ npm-based task configuration (works better than pnpm in CodeSandbox)
- ✅ .gitignore for clean repository
- ✅ All necessary dependencies specified
- ✅ Build tested and verified
npm install
npm startMIT - Open source for the Digital Receipt Protocol