Mail.fun

Mail.fun is the decentralized marketplace layer of the SolMail ecosystem. It enables users to buy, sell, trade, and link Web3 usernames (such as alice@sol.mail) as NFTs on Solana. Mail.fun transforms usernames into programmable digital assets, turning identity into an economy.

Mail.fun extends SolMail’s identity layer by:

  • Allowing username ownership and transfer via NFT standards.

  • Creating a marketplace for usernames, newsletters, and creator subscriptions.

  • Enabling identity-linked assets, where a username can be directly bound to a SolMail inbox, wallet, or dApp login.

Background & Problem

In traditional Web2 ecosystems:

  • Email IDs and usernames are owned by centralized providers (Google, Twitter, etc.).

  • Transfers of identity (usernames, domains) are restricted and often non-permissible.

  • No secondary market exists for digital identity assets.

Mail.fun solves this by leveraging Solana’s NFT and DeFi infrastructure, making usernames fully user-owned, tradable, and composable.

Core Features

Username NFTs

  • Each SolMail username (e.g., alice@sol.mail) is minted as an NFT on Solana.

  • Ownership of the NFT = control over the username.

  • NFT metadata links the username to:

    • SolMail inbox

    • Wallet address

    • Profile details

Marketplace

  • Built-in auction system for trading usernames.

  • Users can:

    • List usernames for fixed price or auction.

    • Bid and purchase desired usernames.

    • Bundle usernames with SolMail accounts for premium valuation.

Linking & Identity

  • Multiple usernames can be linked to a single SolMail inbox.

  • Supports aliasing for traders, creators, or businesses.

  • Marketplace supports “identity bundles” (e.g., a set of related usernames).

Architecture Overview

Components

  1. Frontend (Web App / dApp)

    • React-based interface for browsing, bidding, and linking usernames.

  2. Backend / Indexer

    • Off-chain service for querying NFT ownership, auction status, and historical trades.

  3. Smart Contracts

    • Registry Program: Maintains mapping of usernames → NFTs → inboxes.

    • Marketplace Program: Handles listing, bidding, auctions, and transfers.

    • Treasury Program: Collects trading fees (in $MAIL or $SOL).

  4. Storage

    • Metadata stored on Arweave for persistence and immutability.

Example Flow

Alice wants to buy cryptoalpha@sol.mail

  • Alice visits Mail.fun marketplace.

  • Sees cryptoalpha@sol.mail is available.

  • Places a bid in $MAIL/ $Sol.

  • Auction closes → Alice wins.

  • cryptoalpha@sol.mail NFT is transferred to Alice’s wallet.

  • Alice links the username to her SolMail inbox.

Last updated