# How It Works

1️⃣ **Create a Challenge**\
Pick your game, set the wager, and stake your Solana (SOL)

2️⃣ **Opponent Accepts**\
A rival steps up and matches your stake—let the duel begin.

3️⃣ **Compete in Real Time**\
Play your match while watching your opponent’s gameplay live. Skill determines the winner, and full visibility ensures fairness and excitement.

4️⃣ **Winner Takes All**\
The winner is determined instantly, and the prize pool is automatically distributed—minus a 5% platform fee.

⚡ **Instant payouts. On-chain transparency. Pure skill.**\
**Welcome to DuelFi.io—where every move matters.**

<figure><img src="/files/Uq324fi7Y2Ikh8NaDQih" alt=""><figcaption></figcaption></figure>


---

# 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://duelfi-io.gitbook.io/whitepaper/how-it-works.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.
