Skip to content

A trustless task payment platform supporting Soft, zkTLS, and Hybrid proof systems on the XION blockchain. Create tasks, submit verifiable proofs, and get paid automatically with cryptographic verification or manual review.

License

Notifications You must be signed in to change notification settings

kyisaiah47/proofpay

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ProofPay - Social Payments Platform

Logo

A trustless task payment platform supporting Soft, zkTLS, and Hybrid proof systems on the XION blockchain. Create tasks, submit verifiable proofs, and get paid automatically with cryptographic verification or manual review.

YouTube Demo Watch the demo

🎯 Features

  • Soft Proofs: Manual review for subjective work (content creation, design, etc.)
  • zkTLS Proofs: Cryptographic verification of API responses (instant, no human review)
  • Hybrid Proofs: zkTLS verification + manual review window for complex tasks
  • Real-time Updates: Live task status updates via Supabase realtime
  • Push Notifications: OneSignal integration for mobile alerts
  • Secure File Storage: Signed URLs for evidence uploads
  • Auto-release Timers: Hybrid tasks auto-release unless disputed

πŸš€ Quick Demo

One-command setup:

npm run demo:setup

This starts:

  • Blockchain indexer (port 3001)
  • Mock zkTLS verifier (port 3002)
  • React Native app with test data
  • Supabase realtime sync

Demo takes 3-5 minutes - see DEMO.md for complete walkthrough.

�️ Tech Stack

  • React Native (Expo)
  • Expo Router (tab navigation)
  • TypeScript
  • XION Blockchain (smart contract integration)
  • Abstraxion (wallet authentication)
  • Custom Design System (for colors, spacing, typography)
  • React Native with Expo Router for cross-platform mobile
  • Tailwind CSS for styling

πŸ“ Folder Structure

app/
	(tabs)/
		create.tsx         # Main payment form
		activity.tsx       # Recent activity feed
		profile.tsx        # User profile
	username-setup.tsx   # Username onboarding
components/
	SocialPaymentForm.tsx    # Main payment form UI
	PaymentTabSwitcher.tsx   # Tab navigation
	...other UI components
constants/
	Colors.ts
	DesignSystem.ts
hooks/
	useThemeColor.ts
android/ios/              # Native project files
assets/                   # Fonts and images
  1. Start sending payments and requests

Intuitive Payment Flow

πŸ“ Key Screens

  • Create Tab:

    • Select payment type (Help, Request, Pay)
    • Enter recipient username (display only, not editable)
    • Enter amount (inline editable)
    • Select proof type (None, Text, Photo, zkTLS)
    • Add description (with tab-specific placeholder)
    • Submit payment/help request
  • Activity Tab:

    • View recent payments and help requests
  • Profile Tab:

    • View and edit user profile, wallet address, and settings
  • Username Setup:

    • Onboarding for new users with real-time validation

Innovation

  • First social payment app with integrated zkTLS verification

πŸ›‘οΈ Proof Types

  • None: No proof required
  • Text Proof: Enter a short explanation
  • Photo Proof: Attach a photo
  • zkTLS Proof: Zero-knowledge proof for advanced verification

Clone the repository

οΏ½ Blockchain Security

All payments and requests are cryptographically secured and recorded on the XION blockchain. The app uses Abstraxion for wallet authentication and smart contract interaction. git clone https://github.com/kyisaiah47/proof-of-work.git

🚦 Getting Started

  1. Install dependencies:
    npm install
  2. Start the app:
    npx expo start
  3. Open in Expo Go or simulator:
    • Scan the QR code in terminal
    • Or press i for iOS, a for Android, w for web

Install dependencies

πŸ† Hackathon Achievement

  • Checkpoint 1 Winner - Selected as one of 3 winners from 2000+ participants in XION's "Proof of Concept" hackathon.

Start the development server

## πŸ“„ License

MIT


For questions or contributions, open an issue or pull request on GitHub.
```bash
# Run on iOS simulator
npm run ios

# Run on Android emulator
npm run android

# Run on web
npm run web

πŸ”— Key Integrations

XION Dave SDK

import { DaveSDK } from "@xion/dave-sdk";

// Initialize zkTLS verification
const proof = await DaveSDK.generateProof(data);

Abstraxion Wallet

import { useAbstraxionAuth } from "@abstraxion/react";

// Connect wallet and authenticate
const { connect, account } = useAbstraxionAuth();

🎯 Roadmap

Phase 1: Core Features βœ…

  • Basic payment flows
  • User registration and friends
  • Text and photo proof verification
  • XION blockchain integration

Phase 2: Advanced Features 🚧

  • Group payments and bill splitting
  • Recurring payment requests
  • Enhanced zkTLS verification
  • Payment analytics dashboard

Phase 3: Scale & Growth 🎯

  • Business accounts and invoicing
  • Integration with external services
  • Advanced fraud detection
  • Multi-chain support

πŸ’‘ Use Cases

Personal

  • Moving Day: "Help me move for $100" with photo proof of completion
  • Dinner Split: "You owe me $25 for dinner" with receipt photo
  • Airport Pickup: "Thanks for the ride!" with location verification

Professional

  • Freelance Work: Verify task completion before payment release
  • Service Payments: Proof of service delivery for contractors
  • Expense Reimbursement: Submit receipts with automatic verification

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

🀝 Acknowledgments

  • XION Team for blockchain infrastructure and hackathon opportunity
  • Abstraxion for seamless wallet integration
  • React Native Community for mobile development tools
  • All contributors who helped shape this project

πŸ“ž Contact

Isaiah Kim - @kyisaiah47

Project Link: https://github.com/kyisaiah47/proof-of-work


Built for the XION "Proof of Concept" Hackathon - Making social payments trustless and verifiable.

About

A trustless task payment platform supporting Soft, zkTLS, and Hybrid proof systems on the XION blockchain. Create tasks, submit verifiable proofs, and get paid automatically with cryptographic verification or manual review.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.5%
  • PLpgSQL 3.8%
  • Shell 2.5%
  • JavaScript 2.2%