> ## Documentation Index
> Fetch the complete documentation index at: https://docs.horse.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Fee Structure

> Understanding the 5% protocol fee and where it goes

## Fee Overview

horse.fun allocates **5% of total entry volume** to protocol operations:

```
Total Race Volume: V SOL
Player Prizes (1st, 2nd, 3rd): 0.90 * V SOL
Jackpot Accumulation (Normal + Super): 0.04 * V SOL
HORSE Buyback-and-Burn: 0.01 * V SOL
Protocol Fee: 0.05 * V SOL
```

<Info>
  The total allocation is 100% of entry volume: 90% to direct prizes, 4% to jackpots, 1% to the HORSE buyback-and-burn, and 5% to protocol operations. Players receive 95% (90% prizes + 4% jackpots + 1% buyback value).
</Info>

***

## Fee Allocation

The 5% protocol fee is split into two parts:

<CardGroup cols={2}>
  <Card title="Referral Rewards" icon="users">
    **Up to 1%** of total volume

    Paid to users who refer new players
  </Card>

  <Card title="Protocol Operations" icon="gear">
    **4-5%** of total volume

    Development, maintenance, and treasury
  </Card>
</CardGroup>

### Detailed Breakdown

From total entry volume (100%):

```
Total Volume: V SOL
├─ 60% → 1st Place Winners
├─ 20% → 2nd Place Winners
├─ 10% → 3rd Place Winners
├─ 2% → Blazing Hoof (normal jackpot)
├─ 2% → King's Run (super jackpot)
├─ 1% → HORSE Buyback-and-Burn
└─ 5% → Protocol Fee
    ├─ Up to 1% → Referral Rewards (if applicable)
    └─ 4-5% → Protocol Treasury
```

***

## Protocol Treasury Usage

The 4-5% protocol fee funds sustainable operations:

<AccordionGroup>
  <Accordion title="Development" icon="code">
    * Smart contract development and improvements
    * Frontend and user interface
    * Bug fixes and optimizations
  </Accordion>

  <Accordion title="Infrastructure" icon="server">
    * RPC costs for Solana blockchain
    * VRF oracle fees for randomness
    * Website hosting
  </Accordion>

  <Accordion title="Operations" icon="gear">
    * Protocol maintenance
    * Technical support
    * Treasury reserves
  </Accordion>
</AccordionGroup>

***

## Referral System

Up to 1% of entry volume is allocated to referral rewards:

### How It Works

<Steps>
  <Step title="Get Referral Link">
    Generate your unique referral link in your account dashboard
  </Step>

  <Step title="Share with Friends">
    Share the link with potential players
  </Step>

  <Step title="They Play">
    When referred users submit entries, you earn rewards
  </Step>

  <Step title="Receive Rewards">
    Earn 1% of their entry volume automatically
  </Step>
</Steps>

### Calculation

```
Referred user enters: B SOL in a race
Your referral reward: B * 0.01 = 0.01 * B SOL

Paid from the protocol fee, not from the player's winnings
```

<Info>
  Referral rewards come from the protocol's 5% fee allocation, not from the player's direct winnings.
</Info>

***

## Fee Sustainability

### Why 5%?

The protocol needs sustainable revenue to:

1. **Cover operational costs** (VRF, infrastructure, development)
2. **Fund continuous development** (new features, improvements)
3. **Support growth** (marketing, community)
4. **Build reserves** (emergency funds, insurance)

### Volume-Based Sustainability

Protocol revenue scales directly with entry volume:

```
Per race: 5% of volume
Races per day: 576

Daily revenue: 5% * daily total volume
Monthly revenue: 5% * monthly total volume
```

This revenue model funds:

* ✅ All infrastructure and development
* ✅ Marketing and community growth
* ✅ Treasury reserves for long-term stability

<Note>
  Revenue depends on actual game activity. Higher volume = higher protocol sustainability.
</Note>

***

## Transparency

### On-Chain Verification

All fee collection is verifiable on-chain:

* Every race's fee deduction is recorded
* Treasury wallet addresses are public
* Fee distribution is transparent
* Anyone can verify anytime

### Treasury Wallet

```
Protocol Treasury: [Treasury Public Key]
```

View real-time balance and transactions on Solana explorers:

* Solscan.io
* Solana Beach
* Solana Explorer

***

## Comparison to Alternative Models

### Why Not 0% Fees?

**Q:** Why not make the protocol free?

**A:** Zero fees would mean:

* ❌ No funding for development or improvements
* ❌ No oracle payments (VRF costs money)
* ❌ No infrastructure maintenance
* ❌ Unsustainable long-term

A sustainable 5% fee ensures the protocol operates indefinitely.

### Why Not Token Incentives Instead?

Some protocols subsidize fees with token emissions. Problems:

* ❌ Token inflation dilutes holders
* ❌ Unsustainable when incentives end
* ❌ Attracts mercenary users
* ❌ Token price volatility affects protocol viability

horse.fun uses:

* ✅ Sustainable fee-based model
* ✅ Volume-linked token emission (no fixed inflation)
* ✅ Deflationary jackpot burns + 1% buyback-and-burn
* ✅ Long-term viability

***

## Player Impact

### Net Impact on Returns

**With the allocation model:**

```
Enter 100 SOL over 10 races
Direct prizes (positions 1-3): 90% of volume
Jackpot contributions: 4% of volume (returned when triggered)
HORSE buyback-and-burn: 1% of volume (accrues to token holders)
Protocol fee: 5% of volume
```

**Total player returns:**

```
Direct prizes to winners: 90% of total volume
Jackpot accumulation: 4% of total volume
HORSE buyback-and-burn: 1% of total volume

Note: Direct prizes only go to winning positions (1st, 2nd, 3rd)
```

For skilled players finding value entries, returns can significantly exceed the average.

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Pari-Mutuel System" icon="coins" href="/entries/pari-mutuel">
    Understand how the 95% player pool is distributed
  </Card>

  <Card title="Economic Analysis" icon="chart-line" href="/advanced/economic-analysis">
    Complete breakdown of protocol economics
  </Card>

  <Card title="Jackpots" icon="trophy" href="/jackpots/jackpots">
    Understand how 4% of total volume funds jackpots
  </Card>

  <Card title="Payouts" icon="money-bill-wave" href="/entries/pari-mutuel">
    See how winnings are calculated
  </Card>
</CardGroup>
