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

# Sundial Protocol: an institutional-grade L2 stack for Bitcoin yield

> Sundial is a stack for generating yield on Bitcoin: yield products whose BTC stays on Bitcoin, and an optimistic rollup for programmable execution.

Sundial Protocol is an institutional-grade L2 stack for Bitcoin yield generation. It has two halves that you can use separately:

* **Bitcoin-native yield.** Products where your BTC never leaves Bitcoin. Custody is enforced with Bitcoin scripts, timelocks and co-signed transactions.
* **Programmable execution.** The Sundial L2, an optimistic rollup for UTXO ledgers, and Sunbeam, the route that moves Bitcoin assets onto it.

> [!NOTE]
>
> Sundial is on testnet. [Status and security](https://docs.sundialprotocol.com/overview/status.md) shows the stage of each component.

## The stack

```mermaid theme={null}
flowchart TB
  D["Depositors"] --> YM["Yield Marketplace"]
  YP["Yield Providers"] --> YM
  YM --> DAWN["Dawn<br/>segregated rail"]
  YM --> SOL["Solstice<br/>pooled rail"]
  ALC["Alchemy<br/>FIRE and ICE"] --> SUN
  DAWN --> BTC[("Bitcoin")]
  SOL --> BTC
  BTC --> SUN["Sunbeam<br/>beaming, built on Charms"]
  SUN --> L2["Sundial L2<br/>optimistic rollup"]
  L2 --> L1[("Settlement L1<br/>Cardano")]
```

| Component | What it is | Where it runs |
| - | - | - |
| [Yield Marketplace](https://docs.sundialprotocol.com/products/yield-marketplace.md) | Where a depositor chooses a Yield Provider and its terms | Web app, public testnet |
| [Dawn](https://docs.sundialprotocol.com/products/dawn.md) | The segregated rail: one timelocked BTC escrow per deposit | Bitcoin |
| [Solstice](https://docs.sundialprotocol.com/products/solstice.md) | The pooled rail: one BTC vault and one receipt token per provider | Bitcoin |
| [Sunbeam](https://docs.sundialprotocol.com/products/sunbeam.md) | Moves Bitcoin-native assets to another chain, with a proof carrying the authorization | Bitcoin to a destination chain |
| [Alchemy](https://docs.sundialprotocol.com/products/alchemy.md) | One BTC reserve that issues a senior claim (ICE) and a junior claim (FIRE) | Built on Sunbeam |
| [Sundial L2](https://docs.sundialprotocol.com/l2/overview.md) | An optimistic rollup with fraud proofs verified on the settlement L1 | Settles to Cardano |

## Who does what

Three parties meet in the yield products:

1. **Depositors** choose a provider and its terms in the Yield Marketplace. They don't choose a rail.
2. **Yield Providers** list their strategies. A provider that needs an on-chain structure picks a Sundial rail: Dawn for one escrow per deposit, or Solstice for a pooled vault.
3. **Sundial** builds and operates the rails, the Bitcoin scripts and the reconciliation behind them.

On the Sundial L2, **operators** commit blocks and back them with a bond, and **watchers** check those blocks and prove fraud. Anyone can take either role. See [Consensus](https://docs.sundialprotocol.com/l2/consensus.md).

## Where to start

> [card] [Try the testnet](https://docs.sundialprotocol.com/guides/testnet.md)
>
> Connect a wallet, claim test funds and open the dashboard.

> [card] [Stake BTC with Dawn](https://docs.sundialprotocol.com/guides/stake-with-dawn.md)
>
> Walk through the four Bitcoin transactions of a Dawn position.

> [card] [Read how the L2 works](https://docs.sundialprotocol.com/l2/overview.md)
>
> Operators, the state queue, fraud proofs and the security argument.

> [card] [Build against the node](https://docs.sundialprotocol.com/api/overview.md)
>
> The node's HTTP API and the TypeScript SDKs.

## Further reading

* The [whitepaper](https://docs.sundialprotocol.com/overview/whitepaper.md) is the full specification of the Sundial L2.
* [Status and security](https://docs.sundialprotocol.com/overview/status.md) shows the stage of each component and the audits and reviews behind it.
* The [glossary](https://docs.sundialprotocol.com/overview/glossary.md) fixes the names used across these docs.


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