Skip to content

Latest commit

Β 

History

History
126 lines (86 loc) Β· 3.18 KB

File metadata and controls

126 lines (86 loc) Β· 3.18 KB

🌟 FanTag

Decentralized identity for creators & fans using ENS subnames + EFP


✨ Short Description

FanTag lets creators register ENS-based fan communities, and allows fans to claim subnames tied to their favorite creators. Powered by ENS subnames + Ethereum Follow Protocol, it builds verifiable, portable identities for Web3 culture.


❌ Problem

  • Fans and creators rely on centralized platforms like Instagram or TikTok where usernames are siloed.
  • No portable identity that works across platforms.
  • Communities lack verifiable ownership and provenance.

βœ… Solution

  • Creators register a .fantoken.eth domain.
  • Fans claim subnames like alice.creator.fantoken.eth as their digital fan identity.
  • Profiles are enriched with EFP social graph data + ENS text records.
  • One-click wallet login via Scaffold-ETH 2 UI.
  • Offchain resolution with Durin ensures smooth UX and faster lookups.

πŸ› οΈ How It’s Made

  • Smart Contracts

    • Custom Registrar contract for creator + fan subname registration.
  • ENS + Durin

    • ENS Registry for managing/issuing subnames.
    • Durin used for offchain resolution.
  • Frontend

    • Built with Next.js, wagmi, and RainbowKit.
    • Ethereum Identity Kit (EIK) for seamless EFP integration.
  • Dev Tools

    • Hardhat for contract deployment/testing.
    • Scaffold-ETH 2 base stack for fast iteration.
  • UX Choices

    • One-click creator/fan registration.
    • Auto-linked ENS + EFP profiles.
    • Offchain ENS lookups for responsiveness.

πŸ—οΈ Architecture Overview

Creator ENS Domain (.fantoken.eth)
        β”‚
        β”œβ”€β”€ Registrar Contract β†’ Issues Subnames
        β”‚
        β”œβ”€β”€ Registry (Durin) β†’ Ownership & Control
        β”‚
        β”œβ”€β”€ Durin β†’ Offchain Resolution for UX
        β”‚
        β”œβ”€β”€ EFP β†’ Fan/creator social graph
        β”‚
        └── Frontend (Next.js + Scaffold-ETH 2)

(Architecture diagram with logos included in pitch deck slides.)


🌟 Features

  • Register creator ENS domains
  • Claim fan subnames
  • View ENS + EFP enriched profiles
  • Offchain resolution with Durin for smooth UX

πŸŽ₯ Demo Instructions

  1. Clone the repo:

    git clone https://github.com/Armolas/fantag.git
    cd fantag
  2. Install dependencies:

    yarn install
  3. Start local environment:

    yarn chain   # start local Hardhat chain  
    yarn deploy  # deploy contracts  
    yarn dev     # run Next.js frontend  
  4. Connect wallet (MetaMask on Sepolia).

  5. Register a creator domain β†’ claim a fan subname β†’ view profile.


πŸ“œ Contract Details

  • Registrar Contract: 0xc6fCD8ACCD58B5B10D12895dB12c6DCE0f753d96 (Base Sepolia)
  • Registry (Durin): 0xa3c1731a7a66a35d885ab9a40e50c7bf0117a3ed (Base Sepolia)

πŸš€ Roadmap

  • 🎟️ NFT Album Arts for subname holders.
  • πŸ”’ Token-gated content for creators.
  • πŸ—³οΈ DAO governance for fan communities.
  • πŸŒ‰ Multi-chain support for broader adoption.