β’ Landing page
β’ Landing page explaining features
β’ After clicking wallet, Petra asks for confirmation to connect
β’ Dashboard
β’ VAT refund
β’ VAT refund approval
β’ Petra asking to confirm the transaction
β’ Transaction hash on Aptos Explorer
β’ VAT refund history
β’ Employee management
β’ Add employee either manually or via bulk CSV
β’ Bulk transfer
β’ AI assistant
On-chain VAT Refund Payment Protocol Infrastructure protecting users against time loss, missed claims in fear of missing flights, and payment failures, powered by Aptos.
Simply means "Helping users to claim VAT Refund Anytime Anywhere without hassling"
The Problem That Started It All:
- Travelled to Dubai, bought MAC and BALMAIN clothes worth 1000 AED VAT claim
- Reached DXB airport cutting it close due to Dubai Burj Khalifa traffic
- Saw a long queue at VAT refund counter, decided to wait - line wasn't moving
- Result: Missed flight, lost 5000 AED flight ticket = Net Loss 6000 Dirhams
This isn't just my problem - it's a global crisis.
$200 Billion in VAT Goes Unclaimed Annually due to:
- Long queues at VAT refund counters (Dubai, Planet, etc.)
- Fear of missing flights
- Forgotten claims or lost receipts
- Average refund processing time: 10+ days
- Complex paperwork and bureaucratic delays
These delays cause inconvenience, financial losses, and system failures worldwide.
Helping Masses to:
- β Claim VAT Refund fully on-chain anytime, anywhere
- β Super Simple, Super Efficient, Super Easy process
- β Non-Intrusive: No additional parameters, code, or complex application processes
- β Simple Configuration with maximum impact
Orbix is a comprehensive VAT Refund & Payroll Payment Infrastructure built on the Aptos blockchain that eliminates traditional pain points through:
- Aptos blockchain with Move smart contracts for secure, instant transactions
- Petra Wallet integration for seamless user experience
- AI orchestration (Google Gemini) for automated processing and validation
- Supabase for robust backend services and audit trails
- Tourist VAT Refunds are slow, manual, and often unclaimed due to airport delays.
- Global Payroll is plagued by high fees, delayed wires, hidden FX costs, and compliance overhead.
- Both processes rely on centralized, fragmented rails that fail in a borderless world.
Orbix provides a wallet-native payment infrastructure where:
- Tourists receive VAT refunds instantly through Petra Wallet integration.
- Employers manage payroll globally with AI-assisted calculations and bulk transfers.
- Aptos blockchain ensures fast finality (~3s) and low transaction costs.
- Smart contracts handle payment processing and audit trails automatically.
- Retailer issues digital invoice + tax-free tag β Orbix locks a claim box on Aptos
- Tourist departs β claim status flips to VALIDATED
- Protocol computes:
refund = VAT Γ rate β fee(configurable: 85β87%) - Executes instant payout in APT through Petra Wallet
- HR uploads payroll CSV β AI parses and applies jurisdiction-specific tax rules
- System snapshots FX rates and creates pay run ID anchored on-chain
- Funds disbursed through chunked atomic transfers (β€16 tx/group)
- Employees receive payments instantly with immutable audit trails
Both modules share unified protocol treasury and compliance guardrails.
- π Instant Refunds: Add info β Scan QR β Confirm in Petra Wallet β Receive APT instantly
βοΈ No Missed Claims: Avoid kiosk queues and paperwork bottlenecks entirely- π Transparent Deductions: Refund percentage and fees displayed in-wallet before confirmation
- π Cross-Border Utility: Funds usable worldwide, not tied to local banking rails
- β‘ Bulk Payroll in Seconds: Upload CSV β AI computes β One QR scan β Multiple employees paid
- π° Low Fees, Instant Finality: Aptos transfers confirm in ~4s with negligible costs
- π€ AI Compliance Layer: Jurisdiction-aware salary parsing, deductions, and FX conversions
- π± Wallet-Native UX: All approvals via Petra Wallet (scan + confirm)
- π Auditability: Each refund/payrun anchored with metadata (
claim_id,payrun_id) - π Global Reach: Single infrastructure serving both tourists and enterprises
flowchart LR
subgraph Client
W["Web Interface<br/>(React/TypeScript)"]
P["Petra Wallet<br/>(Aptos Integration)"]
end
subgraph Backend
API["Supabase<br/>(API/Auth/DB)"]
AI["Google Gemini<br/>(AI Processing)"]
end
subgraph Blockchain
APTOS["Aptos Network<br/>(Move Contracts)"]
SC["Smart Contracts<br/>(VAT + Payment)"]
end
W <--> API
W <--> P
API <--> AI
P <--> APTOS
APTOS <--> SC
API <--> APTOS
sequenceDiagram
participant User as Tourist
participant Web as Web Interface
participant AI as Google Gemini
participant Petra as Petra Wallet
participant Supabase as Supabase DB
participant Aptos as Aptos Network
participant Contract as VAT Contract
User->>Web: Upload documents & details
Web->>AI: Validate eligibility & amount
AI-->>Web: Validation result
Web->>Supabase: Store claim data
Web->>User: Show refund preview
User->>Petra: Connect wallet
Petra->>Contract: Submit VAT refund claim
Contract->>Aptos: Process transaction
Aptos-->>Petra: Transaction confirmed
Petra-->>User: Refund received
Contract->>Supabase: Update claim status
sequenceDiagram
participant HR as HR/Employer
participant Dashboard as Web Dashboard
participant AI as Google Gemini
participant Supabase as Supabase DB
participant Petra as Petra Wallet
participant Aptos as Aptos Network
participant Contract as Payment Contract
HR->>Dashboard: Manage employees & salaries
Dashboard->>AI: Calculate payments & taxes
AI-->>Dashboard: Payment breakdown
Dashboard->>Supabase: Store payroll data
Dashboard-->>HR: Preview payments
HR->>Petra: Connect wallet & authorize
Petra->>Contract: Execute bulk payment
Contract->>Aptos: Process batch transactions
Aptos-->>Contract: Transactions confirmed
Contract-->>Petra: Bulk payment complete
Contract->>Supabase: Update payment records
Dashboard-->>HR: Payment confirmation
- Node.js (v18 or higher)
- PNPM package manager
- Petra Wallet browser extension
- Supabase account
- Google AI API key
-
Clone the repository
git clone https://github.com/somewherelostt/Orbix.git cd Orbix -
Install dependencies
pnpm install
-
Environment Setup Create a
.envfile in the root directory:VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key VITE_GEMINI_API_KEY=your_google_ai_api_key
-
Start the development server
pnpm dev
-
Deploy Smart Contracts
cd contracts aptos move compile aptos move publish
- Connect Petra Wallet through the web interface
- For VAT Refunds: Upload receipts and documentation
- For Payroll: Add employees and configure payments
- Monitor transactions through the dashboard
src/
βββ components/ # React components
βββ hooks/ # Custom React hooks
βββ services/ # External service integrations
βββ utils/ # Utility functions and Aptos helpers
βββ contexts/ # React context providers
βββ ui/ # UI component library
βββ lib/ # Library configurations
contracts/
βββ sources/ # Move smart contracts
βββ Move.toml # Contract configuration
- Direct payment transactions with Move smart contracts
- Atomic groups (β€16 transfers at once) for efficient batching
- Payout notes include metadata:
claim_idorpayrun_idfor auditability
- Core interaction layer for tourists, employers, and employees
- Deep linking & QR scanning for seamless UX
- In-app transfer confirmation with transparent fee display
- Payroll: Salary parsing, FX rate lookup, OCR processing
- VAT: Validation checks and eligibility verification
- Outputs human-readable & blockchain-ready transfer instructions
- Stores receipts, payruns, validation logs, and AI outputs
- Transfer hash storage for regulatory compliance
- Real-time database with authentication and authorization
-
User Input
- VAT Refunds: Document uploads, receipt images, eligibility information
- Payroll: Employee management, salary data, payment configurations
-
AI Processing
- Google Gemini validates documents and calculates eligible amounts
- Automated tax calculations and compliance checks
-
Database Operations
- Supabase stores user profiles, payment history, and transaction logs
- Real-time updates for dashboard synchronization
-
Blockchain Execution
- Petra Wallet handles user authentication and transaction signing
- Move smart contracts process payments and maintain audit trails
- Aptos network provides fast finality and low transaction costs
-
Audit & Reporting
- Transaction hashes stored for immutable proof
- Dashboard provides real-time payment tracking and history
- Petra Wallet Integration: Secure key management through Aptos ecosystem
- Smart Contract Security: Move language provides memory safety and resource protection
- Supabase Auth: Row-level security and JWT-based authentication
- AI Processing: Document validation without storing sensitive personal data
- Audit Trail: Immutable transaction records on Aptos blockchain
- Input Validation: Comprehensive address and amount validation before processing
- Taking a 0.5% platform fee on each refund/payroll payout
- Employers pay monthly SaaS fees for:
- Advanced payroll dashboard and analytics
- Compliance tools and automated reporting
- Audit exports and regulatory documentation
- VAT Operator Integration: Revenue-sharing with Dubai VAT Refund Authorities, Planet, FTA
- API Licensing: Package deals for fintechs/DAOs wanting to use Orbix infrastructure
- Earn yield on treasury idle balances
- Capture micro-spreads on in-app FX conversions
- Partner with approved VAT Operators in UAE
- Deploy at Dubai International Airport as "fast-track refunds via Petra Wallet"
- Onboard tourists via signage, airline check-in, and in-airport promotions
- Why Dubai? Comparatively easy country to start with and has existing agreements with Aptos
- Target remote-first startups, DAOs, and SMEs in India, Africa, LATAM, and Asia
- Offer APT payroll rails for distributed global teams
- Collaborate with accelerators and Web3 communities for rapid adoption
- Partner with multinationals for cross-border salary disbursement
- Offer API + compliance dashboards for HR SaaS integrations
- Add more VAT geographies: EU, UK, Singapore, Saudi Arabia
- Transition governance to a decentralized DAO
- Community votes on fee splits, refund % rates, and expansion markets
- Tokenize access: Loyalty incentives for employers and tourists using Orbix infrastructure
- Add EU, UK, and Asia VAT refund partners for global coverage
- Jurisdiction-specific payroll tax modules β auto-deduct & calculate net pay
- Treasury Automation: Auto-scheduling payroll runs based on company preferences
- Enable fintechs, DAOs, and global SMBs to plug Orbix rails into their HR/payments stack
- White-label solutions for existing payment processors
- Automated KYC hooks and AML screening for regulatory compliance
- PDF audit reports for enterprises and regulators
- Real-time compliance monitoring and alerting
- Refund % fees, payroll fee splits, and expansion markets managed by Orbix DAO
- Community-driven product roadmap and feature prioritization
- β Real Problem: $200B+ VAT goes unclaimed annually - massive market opportunity
- β Proven Solution: Started with founder's personal pain point in Dubai
- β Strategic Location: Dubai as launch market with Aptos partnerships
- β Technical Excellence: Built on fast, low-cost Aptos infrastructure
- β User Experience: Wallet-native flows eliminate friction completely
β‘ Orbix will be killing it!!
Orbix leverages the unique advantages of the Aptos blockchain:
- Lightning-Fast Finality: ~3 second transaction finality enables real-time payments
- Low Transaction Costs: Minimal fees make micro-transactions economically viable
- Move Smart Contracts: Memory-safe, resource-oriented programming for secure DeFi
- Parallel Execution: High throughput supports enterprise-scale payment volumes
- Petra Wallet Ecosystem: Seamless integration with Aptos's premier wallet
- Developer Experience: Intuitive APIs and comprehensive TypeScript SDK
- Sustainable Consensus: Energy-efficient proof-of-stake mechanism
We welcome contributions to Orbix! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ for the future of global payments













