Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 3.31 KB

File metadata and controls

71 lines (46 loc) · 3.31 KB

What is FunGive?

FunGive is a decentralized application (dApp) that allows anyone to create or join a giveaway program entirely on-chain. This means every process from registration and fee collection to winner selection—is governed by a transparent smart contract that cannot be manipulated.

The main advantages of FunGive:

  • 💯 Fair: Winners are randomly selected by code on the blockchain, with no human intervention.
  • 🔍 Transparent: Anyone can view the list of participants and winners on a block explorer.
  • 🔐 Secure: Your funds are managed by a secure smart contract.

How to Play

Using FunGive is easy. Follow the steps below to get started.

1. Connect Your Wallet

The first step is to connect your web3 digital wallet (like MetaMask).

  • Click the "Connect Wallet" button in the top-right corner.
  • Ensure your wallet is connected to the correct network (Somnia Testnet).
  • Make sure you have a small balance of the native token (STT) to pay for transaction fees (gas fees) and entry fees.

2. Explore Existing Giveaways

Navigate to the Explore page to see all ongoing and completed giveaways.

  • Each giveaway "card" displays brief information like the title and status (Open, Ended).
  • Click on any card that catches your eye to view its details page.

3. Joining a Giveaway

If you find a giveaway you'd like to enter:

  • On the details page, you will see the "Join the Giveaway" panel.
  • Click the "Join Now" button. There will be a very small entry fee (e.g., 0.001 STT).
  • A pop-up will appear from your wallet asking for confirmation. Approve the transaction.
  • Congratulations! Your wallet address is now registered as a participant.

Remember: You can only join before the snapshot time ends.

4. Creating Your Own Giveaway

You can also be a creator!

  • Navigate to the Create page.
  • Fill out the form with your giveaway details:
    • Title: An engaging title (max 25 characters).
    • Description: A brief explanation (max 250 characters).
    • Prize Note: The prize you will be giving away (e.g., "1 Limited Edition NFT").
    • Snapshot Time: The date and time when entries will close.
    • Number of Winners: The total number of winners to be selected.
  • Click the "Create Giveaway" button. You will be prompted to pay a creation fee (e.g., 0.1 STT) and confirm the transaction in your wallet.

5. Finalization and Winner Announcement

This is the most anticipated part.

  • For Creators: After the snapshot time has passed, revisit your giveaway's detail page. The "Join" button will be gone and replaced by the "Finalize Giveaway" panel. Click the "Finalize" button and confirm the transaction to draw the winners.
  • For Participants: After the creator finalizes the giveaway, the page will update automatically to display the "Winners" list. You can check if your wallet address is on the list of winners.

6. Check Your History

Want to see which giveaways you've created or joined in the past?

  • Visit the Profile page.
  • There, you will find two tabs:
    • Giveaways Created: A list of all giveaways you have ever created.
    • Giveaways Joined: A list of all giveaways you have ever joined.

Happy playing on FunGive, and good luck! 🏆