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

# Tayho documentation

> Build on Tayho, the synthetic leverage and capital layer for Hyperliquid outcome markets.

# Synthetic leverage for outcome markets

Tayho is a leverage, liquidity, and settlement protocol for Hyperliquid outcome markets. Traders
open directional positions against a junior USDC vault, while deterministic contracts account for
margin, funding, liquidation, protocol revenue, and unpaid winning claims.

The public API and `@tayho/sdk` provide indexed history, execution-critical onchain reads, typed
signing, relayed actions, and resumable realtime updates without exposing Tayho's internal workers
or requiring an application to scan logs.

<CardGroup cols={2}>
  <Card title="Start building" icon="rocket" href="/public/quickstart">
    Connect to the development environment, validate its deployment, and perform your first read.
  </Card>

  <Card title="Understand Tayho" icon="book-open" href="/public/concepts">
    Learn positions, logit exposure, funding, liquidation, vault claims, orders, and staking.
  </Card>

  <Card title="Use the SDK" icon="code" href="/public/sdk">
    Configure API access, optional RPC reads, provider adapters, relayed writes, and realtime.
  </Card>

  <Card title="Explore the reference" icon="braces" href="/public/reference/overview">
    Browse the REST and WebSocket contracts, authentication, quotas, and error behavior.
  </Card>
</CardGroup>

## What applications can build

* Trading interfaces for market, limit, stop-loss, and take-profit orders.
* Portfolio and risk views backed by canonical indexed history and live pinned-block reads.
* LP vault deposit, withdrawal, claim, and account-history experiences.
* TAYHO staking and reward-management experiences.
* Automation dashboards using receipt capabilities and resumable realtime channels.

## Integration model

```mermaid theme={null}
flowchart LR
  App[Application] --> SDK["@tayho/sdk"]
  SDK --> API[Tayho API]
  SDK -. optional reads .-> RPC[HyperEVM RPC]
  API --> Indexed[Indexed history]
  API --> Relay[Relayed execution]
  Relay --> Contracts[Tayho contracts]
  RPC --> Contracts
```

The API is the source for history, aggregation, action lifecycle, and realtime tickets. Optional RPC
configuration lets the SDK read balances, allowances, nonces, shares, stake, and receipts directly
at a consistent block. Every write is signed by the user and submitted through the Tayho relayer;
the current SDK has no transaction-broadcasting surface.

<Info>
  Tayho is currently documented as a development integration. Production availability is not
  implied until the production environment and package release are announced.
</Info>

## Where to go next

<Steps>
  <Step title="Learn the model">
    Read [Core concepts](/public/concepts) and the [Protocol overview](/public/protocol).
  </Step>

  <Step title="Get integration access">
    Request a scoped API key from Tayho, then follow the [Quickstart](/public/quickstart).
  </Step>

  <Step title="Choose your interface">
    Start with the [SDK overview](/public/sdk) or use the generated [REST reference](/public/reference/overview).
  </Step>
</Steps>
