MayBee🐝

MayBee is a Telegram Mini App that lets you make fun wagers with friends or strangers. Using Telegram provides a simple and intuitive experience, so you can place your bets quickly and easily. Join the buzz and start betting in your favorite hive! 🐝✨

Visit Repo
MayBee🐝 banner

About

**MayBee** is a Telegram Mini App that brings a seamless betting experience to users. By integrating with Telegram and utilizing the Flow network, MayBee provides a quick and intuitive way to place wagers on trending topics.

Users can engage with the app either through the Telegram Bot [@maybee01_bot](https://t.me/maybee01_bot) or directly via the [MayBee App](t.me/maybee01_bot/maybee_app). Within the app, users can explore all active wagers and place bets using Flow tokens.

To help users stay up-to-date with the most popular wagers, we've created two dedicated channels highlighting the hottest topics over the last hour and 24 hours. MayBee aims to make betting more accessible and engaging by leveraging the power of decentralized technology and the convenience of Telegram.

How it's made

MayBee is a decentralized prediction market platform built on the Flow blockchain, leveraging modern web technologies and blockchain integration for a seamless user experience.

*Frontend Architecture:*

The application is built using Next.js, with TypeScript for enhanced type safety and code reliability. The UI is styled using Tailwind CSS, ensuring responsive and consistent design across devices. State management is handled efficiently through React hooks, providing a smooth and reactive user interface.

Key components like Button, Card, and Spinner are designed for reusability, promoting a consistent look and feel throughout the application. Client-side navigation is implemented using Next.js routing, ensuring fast and fluid transitions between pages.

*Authentication and Blockchain Integration:* User authentication and wallet integration are managed by Dynamic, offering a secure and user-friendly sign-in process that includes Telegram login. For Ethereum wallet interactions, the app utilizes WagmiProvider, enabling seamless connection with various Ethereum-based wallets.

*Telegram Bot Integration:*

A custom Telegram bot, built with the Telegraf library, serves as a bridge between the platform and users. The bot initializes with a Telegram token and uses JWT for secure authentication. It offers interactive features such as welcome messages with inline buttons for easy navigation to the web app, allowing users to create or join markets directly from Telegram.

The bot maintains user engagement by periodically updating channel topics with the latest "Hottest 1H" and "Hottest 24H" markets, complete with clickable links. For testing and manual updates, a 'testmessage' command is available. Security is ensured through custom Telegram hash generation.

*Smart Contract:*

The core functionality of MayBee is powered by a smart contract deployed on the Flow network. This contract, written in Solidity, manages the creation and resolution of prediction markets, as well as user bets and reward distribution. Key features of the smart contract include: 1. Market creation and management 2. Bet placement and tracking 3. Market resolution by authorized admins 4. Reward calculation and distribution Comprehensive data retrieval functions for market information and user bets The contract implements several security measures, including role-based access control for market administration and resolution, and checks to ensure markets are open when bets are placed.

Prizes

  • Flow · Most Killer App Potential · 1st place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Betinho

Betinho: The ultimate sports betting Telegram Mini App! Seamlessly onboard to Web3, place bets on your favorite teams, stay updated with latest sports news, and chat with fellow bettors - all within Telegram. Experience the future of social sports betting!

Better

Better is a DApp that combines the thrill of social betting with philanthropy. Place fun wagers on events and donate winnings to charity, blending entertainment with impact. Enjoy friendly competition while supporting causes you care about. Bet, win, and give back!

Duckbot

Building a prediction market Telegram bot that lets users bet on real-world events directly within the app. Utilizing blockchain for transparent and verifiable outcomes, ensuring fairness and security. Bet, track, and win – on-chain!

Betomo

AI-powered sports prediction markets in your pocket. Make micro-bets from $1-$10 on live events, create custom markets, and join a community of smart bettors. Our AI generates relevant events and provides intelligent insights. Small stakes, big thrills!