TrueD8

The first Web3 dating app where users Date, Earn, and Explore through tokenized connections.

TrueD8

Created At

ETHOnline 2025

Project Description

TrueD8 is a Web3-enabled dating application designed to solve two of the biggest problems in modern online dating: low-quality "swipe fatigue" and a lack of user accountability. We provide a simple, privacy-first, and smooth on-chain experience, even for users new to Web3.

First, we tackle matching by replacing endless swiping with an AI Matchmaker. Powered by the Artificial Superintelligence Alliance, this feature allows users to describe their ideal partner in plain, conversational language (e.g., "someone who loves hiking and is into philosophy"). Our backend AI analyzes this prompt, queries our user database, and returns a short list of ranked, high-compatibility matches, complete with reasoning for why each person is a good fit.

Second, we solve accountability with on-chain "dating commitments." When two users agree to a date, they both stake a small, stable amount of PayPal USD (PYUSD) into a smart contract. We chose PYUSD for its stable value ($10 = 10 PYUSD) and high brand trust, which is critical for user comfort. This stake is returned to both parties after the date is confirmed, providing a simple economic incentive for users to be serious and show up.

The core of our user experience is making this advanced blockchain logic invisible. We use the Avail Nexus SDK to handle all cross-chain complexity. A user can hold PYUSD on Ethereum, but our staking contract is on Base. Instead of forcing them to manually bridge, the Avail SDK's bridgeAndExecute function bundles the entire operation (bridging, gas, and contract call) into a single, atomic transaction.

How it's Made

TrueD8 combines a Next.js frontend with a Node.js/Express backend API and Solidity smart contracts deployed on EVM chains (like Base and Ethereum).

  1. Frontend & UI: We used Next.js 14, React, and Tailwind CSS to create a clean, mobile-first, and responsive interface with light and dark themes. The frontend is responsible for the AI chat interface and all Web3 interactions, using wagmi and ethers.js to communicate with the blockchain.

  2. AI Matchmaking (Partner Tech): The AI experience is driven by the Artificial Superintelligence Alliance.

How it's pieced together: The Next.js frontend sends the user's natural language prompt to our custom backend API endpoint (POST /dating/ai/discover/custom).

This backend service performs prompt engineering to structure the query, analyzes user profiles, and uses the AI to generate both the match ranking (0-100) and the compatibility reasoning. This off-chain processing keeps the matchmaking experience fast and responsive.

  1. Web3 Economics with PYUSD (Partner Tech): PYUSD is the lifeblood of our dating economics.

How it's pieced together: We integrated PYUSD as a standard ERC-20 token using its official multi-chain contract addresses.

Our frontend uses wagmi hooks to perform standard contract interactions: balanceOf to display user balances, approve to grant permission to our staking contract, and then triggers our contract's stake function (which uses transferFrom). Its 6-decimal precision and $1 parity make it perfect for consumer-facing UX.

  1. Cross-Chain Staking with Avail Nexus (Partner Tech & "Hacky" Solution): The Avail Nexus SDK was the single most critical technology for enabling our core feature.

Benefit: It solved our biggest UX challenge: cross-chain friction. Manually bridging to stake PYUSD would kill adoption.

How it's pieced together: We wrapped our app in the <NexusProvider>. For our core "dating commitment" feature, we use the advanced sdk.bridgeAndExecute() function. This is the "magic" component. It allows a user on Ethereum to select their PYUSD, and in one click, Avail atomically handles the bridge to Base and the execution of our staking smart contract's stake function, all as a single operation.

We also use sdk.transfer() for simpler cross-chain payments (like premium subscriptions) and simulateTransfer() for reliable gas fee previews.

UX Enhancement: We built our transaction modals around the Nexus Event System (NEXUS_EVENTS.EXPECTED_STEPS, STEP_COMPLETE). This allows us to show a real-time progress tracker (e.g., "Step 1/3: Bridging..."), which provides crucial feedback to the user during the 1-2 minute cross-chain process. This SDK integration turned a complex, multi-step blockchain nightmare into the simple, one-click experience our app required.

background image mobile

Join the mailing list

Get the latest news and updates