project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

FanHub

FanHub is an anonymous social platform revolutionizing creator-fan connections through token-gated communities. Built on Oasis Sapphire with ROFL, it enables authentic, secure, and private interactions between creators and their fans.

FanHub

Created At

ETHGlobal Bangkok

Winner of

Oasis Protocol - Best use of Sapphire and/or ROFL 2nd place

Project Description

💞 FanHub - Where Creators Meet Fans

Detailed Description

FanHub is a decentralized social platform redefining creator-fan interactions. Built on Oasis Sapphire's privacy-focused blockchain technology, it offers exclusive, token-gated communities where meaningful, private connections thrive while preserving user anonymity.

FanHub combines a chat and Twitter-like message thread system, enabling fans to engage with their favorite creators (Hosts) in confidential spaces. The platform uses a token-gating mechanism to manage community access, ensuring only those meeting specific token balance requirements can participate.

Core Technology

  • Oasis Sapphire Integration: Leverages confidential smart contracts for secure, private interactions
  • ROFL (Remote Offchain Fault-tolerant Logic): Enables efficient off-chain token balance verification
  • End-to-End Encryption: Ensures complete privacy for all communications
  • Token-Gating Mechanism: Smart contracts verify token holdings for community access

Key Benefits

  • For Creators:

    • Create exclusive communities for dedicated fans
    • Maintain genuine connections without privacy concerns
    • Monetize engagement through token-based access
    • Control community membership through token requirements
    • Interact directly with fans in a secure environment
  • For Fans:

    • Join exclusive communities of favorite creators
    • Maintain anonymity while engaging with creators
    • Participate in token-powered ecosystems
    • Access private content and direct communications
    • Verify authenticity of creator interactions

Technical Architecture

  1. Frontend:

    • Built with Next.js for optimal performance
    • Integrates Wagmi for seamless Web3 functionality
    • Responsive design for all devices
  2. Smart Contracts:

    • Deployed on Oasis Sapphire network
    • Handle token-gating logic
    • Manage community access controls
    • Process encrypted communications
  3. ROFL Service:

    • Performs off-chain token balance verification
    • Ensures efficient and scalable operations
    • Maintains system integrity

Privacy Features

  • Anonymous participation while ensuring token ownership
  • Encrypted group and direct messaging
  • Private community spaces
  • Secure token verification without exposing wallet details

Use Cases

  • Exclusive fan communities
  • Private creator channels
  • Token-holder only events
  • Secure creator-fan communications
  • Premium content access
  • Community governance

FanHub represents the future of creator-fan relationships, combining the benefits of Web3 technology with the need for authentic, private social interactions in the digital age.

How it's Made

How FanHub Was Built

FanHub combines the power of Oasis Sapphire's privacy features with user-friendly authentication through Privy. Here's how we built it:

Core Authentication & Wallet Integration

We prioritized accessibility while maintaining security by implementing multiple login options:

User Authentication (Privy)

We integrated Privy to provide flexible authentication options:

  • Wallet-based login (primary method)
  • Email authentication
  • SMS verification
  • Embedded wallet creation for new Web3 users

The system automatically creates wallets for users who don't have them, making the platform accessible to crypto newcomers while maintaining security with password protection.

Blockchain Integration (Wagmi + Sapphire)

We built on Oasis Sapphire's privacy-focused blockchain infrastructure:

  • Support for multiple Sapphire networks (mainnet, testnet, localnet)
  • Custom HTTP transport layer for Sapphire-specific interactions
  • Integrated wallet connectors optimized for Sapphire's privacy features

Key Technical Features

Privacy-First Architecture

  • End-to-end encrypted messaging using Sapphire's confidential smart contracts
  • Private token-gated communities
  • Secure wallet integration with privacy preservation

User Experience

  • Seamless authentication flow for both Web3 natives and newcomers
  • Multiple login options to reduce entry barriers
  • Automatic wallet creation for new users
  • Real-time encrypted messaging that feels natural

Smart Contract Integration

  • Token-gating mechanism for community access
  • Encrypted message handling
  • Efficient balance verification system

Challenges & Solutions

  1. Web3 Accessibility:

    • Challenge: Making the platform accessible to non-crypto users
    • Solution: Implemented Privy's embedded wallets with multiple login options
  2. Privacy vs Usability:

    • Challenge: Maintaining privacy without compromising user experience
    • Solution: Leveraged Sapphire's privacy features with optimized transport layer

Partner Technologies

  • Oasis Sapphire: Provides the privacy-focused blockchain infrastructure
  • Privy: Handles user authentication and wallet management
  • Wagmi: Manages blockchain interactions and state management
background image mobile

Join the mailing list

Get the latest news and updates