# Coin Flip Game

#### 🪙 Coin Flip Module Overview <a href="#coin-flip-module-overview" id="coin-flip-module-overview"></a>

The Coin Flip module inside FarosBeacon is a fast-execution prediction game built entirely on-chain. Users stake $PHRS and choose between Heads or Tails. If the prediction matches the contract-generated outcome, the payout is automatically executed.

All results are processed through smart contracts deployed on Pharos Network to ensure transparency and verifiable fairness.

***

#### 🎮 How It Works <a href="#how-it-works" id="how-it-works"></a>

1. Select your prediction:
   * Heads
   * Tails
2. Choose your stake amount from fixed tiers:
   * 0.1 PHRS
   * 0.5 PHRS
   * 1 PHRS
   * 5 PHRS
   * 10 PHRS
   * 15 PHRS
3. Confirm the transaction.
4. The contract executes the toss logic.
5. If your selection matches the result, the reward is distributed instantly based on the payout structure.

The Flip result is recorded on-chain and can be independently verified.

***

#### 💸 Fee Structure <a href="#fee-structure" id="fee-structure"></a>

4% Standard Protocol Fee A 4% fee is applied to every successful winning outcome.

2% Reduced Fee for NFT Holders Eligible FarosBeacon NFT holders benefit from a reduced 2% fee on winning flips.

Future Allocation Protocol fees may later be directed toward NFT reward pools, staking incentives, or ecosystem-driven revenue distribution.

***

#### ✅ Why Use the Coin Flip Module <a href="#why-use-the-coin-flip-module" id="why-use-the-coin-flip-module"></a>

* Instant execution
* Simple interaction flow
* Fully on-chain result generation
* Fixed staking tiers for structured liquidity
* Reduced fee advantage for NFT participants

Select Heads or Tails. Choose your stake. Execute the Flip.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://farosbeacon.gitbook.io/farosbeacon-docs/games/coin-flip-game.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
