project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

MemeSphinx

Our text-based game lets users solve MEME coin riddles from a Sphinx. Guess the coin in 3 tries to win MEME coin rewards via smart contracts. Fun and engaging, it’s designed to build active Web3 communities while exploring the world of MEME coins.

MemeSphinx

Created At

ETHGlobal Bangkok

Project Description

Our project is a text-based game designed for Web3 enthusiasts, offering an engaging way to explore MEME coins through interactive quizzes and storytelling. Built using LLM Agent technology, the game interacts with users via XMTP and Telegram, making the experience seamless and dynamic. At the heart of the game, users encounter a mystical Sphinx that presents riddles about MEME coins, adding an element of fun and challenge.

When a user starts the game, the Sphinx provides a randomized clue about a MEME coin in the form of a riddle or playful description. For example, if the coin is DOGE, the Sphinx might say, "This coin is loved by Elon and adored by a certain Shiba Inu." Users then have three chances to guess the correct coin name. The gameplay is entirely driven by the flexibility of the LLM Agent, ensuring that interactions feel natural and unique for every session.

If the user correctly guesses the coin within three attempts, they are rewarded with a MEME coin based on a Flow-chain EVM-compatible smart contract, rather than Flow tokens. This approach ensures rewards are both exciting and closely tied to the MEME coin theme.

This project is not a one-time initiative for a hackathon but a long-term effort to enrich the Korean Web3 community. By using this game, I aim to actively engage users, drive interest in MEME coins, and contribute to the growth of the XMTP and Flow ecosystems.

I have been an active participant in the Web3 community in Korea since 2017, managing several channels and fostering meaningful connections with other channel operators. One of the toughest challenges for channel operators is sustaining interest and interaction among their members over time. With the growing interest in MEME coins, this text-based game provides an innovative and interactive solution for channel operators to captivate their audiences and offer meaningful engagement.

How it's Made

This project was built using XMTP and FLOW Chain, two key technologies from our partners. Here's how they were integrated to create a seamless and secure experience:

  1. XMTP Integration XMTP enables communication between wallets. By leveraging Message-kit Framework on XMTP, we implemented a bot capable of recognizing users via wallet addresses, simplifying the reward distribution process. XMTP’s support for multiple wallets also provided flexibility and scalability, making it an ideal choice for our needs. Users can interact with the game through Converse.app, an XMTP-based interface, which ensures wallet-based identity verification.

XMTP Interface: The XMTP bot communicates directly with our server, transmitting messages and executing game logic. Advantages: XMTP verifies users by wallet, streamlining identity management and ensuring secure transactions. 2. Telegram Integration For broader accessibility, we also integrated a Telegram interface, allowing users to participate in the quiz game via Telegram. While functional, it lacks wallet-based identity verification, making it less secure than XMTP for certain features.

Telegram Interface: This bot also interacts with our server, following the same game logic. However, wallet identity verification is unavailable. 3. Bot Server Architecture The bot server is the core of our system, running two daemons:

XMTP Bot: Built using XMTP's DevRel Fabri agent framework, this bot processes wallet-based communications and transactions. Telegram Bot: Developed with LangChain and powered by python-telegram-bot, this bot mirrors the XMTP bot's functionality, offering a consistent experience across platforms. Both bots use GPT-4o as the LLM, ensuring natural and dynamic interactions with users.

  1. Smart Contract Integration on FLOW When users solve quizzes correctly, the bot server triggers the smart contract to distribute rewards. The smart contract operates on the Flow blockchain, utilizing the latest Crescendo update, which provides EVM compatibility. This allowed us to integrate EVM-based MEME coins as rewards. Key considerations for choosing Flow include:

Scalability: Ideal for handling MEME coin transactions. Low Fees: Keeps operations cost-effective. Developer-Friendly Environment: Supported by Flow's developer ecosystem. The smart contract maintains a whitelist for added security and pre-holds the required MEME coins for reward distribution.

  1. User Wallets Users receive their rewards directly into their wallets via the Flow blockchain. XMTP's wallet-based communication ensures easy and secure verification, making the process seamless.

Summary This project combines XMTP’s wallet-based communication with Flow’s scalable and secure blockchain. By integrating these technologies, we offer a dynamic and accessible game while maintaining robust security and scalability for MEME coin distribution.

background image mobile

Join the mailing list

Get the latest news and updates