# Rollups: Real-World Examples

### Treasure Hunt

Imagine a location-based treasure hunt game built on XYO. Players explore real-world locations, scanning QR codes, checking in at landmarks, and uncovering clues—each action generating valuable geospatial data.

#### ❌ Without Rollups

Each player action—every scan, clue discovered, or check-in—is recorded as a \*\*separate transaction\*\* on the blockchain.

* Blockchain bloat increases rapidly
* Game performance suffers as more players join
* Costs rise for developers and users

#### ✅ With Rollups

All of a player’s actions (and potentially many other players' actions) are \*\*bundled into a single cryptographic proof\*\* using Rollups.

* Just one on-chain transaction covers thousands of actions
* The blockchain stays lightweight and responsive
* Developers can scale gameplay without adding cost

### Supply Chain Verification

A logistics company uses XYO to track thousands of packages around the world. Each scan, location update, and handoff generates data that must be verified and recorded for compliance and auditing purposes.

#### ❌ Without Rollups

Every single event—like scanning a package—is written to the blockchain as an individual transaction. If a warehouse processes **50,000 packages in one day**, that's **50,000 separate blockchain writes**.

* Network congestion increases
* Transaction fees add up
* System performance slows

#### ✅ With Rollups

Instead of writing each event individually, Rollups **bundle all 50,000 scans into one cryptographic proof**. That proof is then submitted to the blockchain.

* Just **one transaction** confirms thousands of data points
* Blockchain stays fast and efficient
* Costs are drastically reduced


---

# 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://docs.xyo.network/xyo-layer-one/xyo-layer-one-features/rollups/rollups-real-world-examples.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.
