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

# How the protocol fits together

> Direct launches, trading rewards and token bags in the local GRAPL protocol.

GRAPL connects direct token launches, eligibility windows, trading rewards and token bags. The contracts implement this flow on a local Anvil chain. The app remains a separate interface demonstration.

```mermaid theme={null}
flowchart TD
  Launch[Creator launches token and v4 pool] --> Trade[Authenticated trade]
  List[Free registration and frozen root] -. Planned collection .-> Gate[Hook checks eligibility]
  Trade --> Gate
  Gate --> Settle[Settle swap and protocol fee]
  Settle --> Reserve[Fund GRAPL reserve]
  Settle --> Treasury[Treasury share]
  Settle --> GEM[Earn nontransferable GEM]
  GEM --> Benefit[Consent to benefit burn]
  Reserve --> Benefit
  Benefit --> Gacha[Request local gacha]
  Inventory[Separate funded token inventory] --> Gacha
  Gacha --> Bag[Deliver three prizes]
```

The dotted connection is an unimplemented registration service. Local tests cover the contract path; the game uses operator-controlled randomness and experimental economic parameters.

<CardGroup cols={2}>
  <Card title="Launch directly" icon="rocket" href="/concepts/launch-mechanics">
    Fixed supply, explicit LP capital and creator ownership.
  </Card>

  <Card title="Register for free" icon="ticket" href="/concepts/public-presales">
    A frozen list gates buying after the market opens.
  </Card>

  <Card title="Earn GEM" icon="gem" href="/concepts/gem">
    Settled swap fees fund rewards and the reference reserve.
  </Card>

  <Card title="Open a token bag" icon="gift" href="/concepts/gacha">
    Consent, payment, inventory locks and local delivery.
  </Card>
</CardGroup>

## Three different kinds of evidence

| Layer | What exists | What it establishes |
| - | - | - |
| App | Discovery and gacha fixture interactions | Interface behavior, not financial settlement |
| Anvil contracts | Launch, swap, fee, GEM and bag execution | Local implementation and test outcomes |
| Public networks | Target networks with prerequisites to verify | Direction only; no GRAPL public deployment |

For concrete lookup, use [contract addresses](/reference/contracts), [supported chains](/reference/supported-chains), [test parameters](/reference/local-parameters) and [security powers](/reference/security).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.