Skip to main content

Technical Overview

This document outlines the technical infrastructure powering Proof of Purpose, including blockchain contracts, Firebase logic, and off-chain integrations.


Smart Contracts

$PURPOSE Token

  • Soulbound ERC-20 on Base
  • Mintable only by approved Admins
  • Non-transferable
  • Burnable only via the redemption contract

Redemption Contract

  • Accepts burned tokens
  • Sends 1:1 USDC to vendor wallet
  • Only callable by whitelisted vendor addresses

Split Contract

  • Handles donation routing:
    • 90% → Treasury wallet
    • 8% → Admin Multisig
    • 2% → Founder wallet

Deployment Details

  • Chain: Base Mainnet
  • Token Contract: 0x8aa9b99b90bf5a0eec0ddd0c590e2f817875eded
  • Redemption Contract: 0x33910b1df118d8465ec727cd3b9d82b6df5c229e
  • Treasury Wallet: 0xB452b6A36954fafB0342220B2C7a6c47925Eec44

Thirdweb Integration

  • In-App Wallets: Gasless, email-based via @thirdweb/wallets
  • PayEmbed: Handles fiat/USDC donations, tracks via webhook
  • Embedded Auth: Wallet address is persistent across sessions and login attempts

QR Scanner

  • Uses react-qr-scanner (client-only)
  • Reads Champion wallet address
  • Triggers token burn and USDC payout to vendor

Future Additions

  • DAO smart contracts for proposal voting
  • Real-time bounty explorer using GraphQL or Moralis
  • Self-service vendor registration with contract-based verification