# Sundial Protocol - [Sundial Protocol: Bitcoin-Native Yield at Speed](https://docs.sundialprotocol.com/introduction.md): Sundial Protocol delivers Bitcoin-native yield built on the Sundial L2. Stake real BTC, earn real yield, and stay in the Bitcoin ecosystem throughout. - [Sundial Protocol Quickstart: Stake on Testnet in Minutes](https://docs.sundialprotocol.com/quickstart.md): Learn how to connect your wallet, claim testnet tokens, and make your first stake on the Sundial Protocol testnet in under 5 minutes. - [Sundial Testnet: Test Tokens, Faucet & Network Details](https://docs.sundialprotocol.com/testnet-guide.md): Everything you need to use the Sundial testnet: supported wallets, claiming sBTC from the faucet, network configuration, and the CLI wallet tool. - [Frequently Asked Questions](https://docs.sundialprotocol.com/faq.md): Answers to common questions about Sundial Protocol, including staking, withdrawals, fraud proofs, wallet support, and testnet participation. - [Sundial Protocol Architecture: 7-Layer System Overview](https://docs.sundialprotocol.com/concepts/architecture.md): Explore Sundial Protocol's 7-layer stack — from settlement contracts through bridges, yield instruments, and the user-facing dashboard. - [Sundial L2: Optimistic Rollup Architecture](https://docs.sundialprotocol.com/concepts/l2-rollup.md): The Sundial L2 is an optimistic rollup. Learn how it achieves 2,000 to 5,000 TPS off-chain and anchors block headers on L1 for fraud-proof security. - [Sundial Tokenomics: Bitcoin-Native Fees and Governance](https://docs.sundialprotocol.com/concepts/tokenomics.md): Sundial uses wrapped BTC as its unit of account — no new token issued. Explore Babel fees, operator bonds, governance voting, and treasury reserves. - [Sundial Network Roles: Operators, Watchers & Users](https://docs.sundialprotocol.com/concepts/roles.md): Sundial has five participant roles: Layer Operators, Bridge Operators, Watchers, Liquidity Providers, and Users — each with distinct incentives. - [BTC Locker: Bitcoin-Native Staking and Yield on Sundial](https://docs.sundialprotocol.com/components/btc-staking.md): Stake Bitcoin natively using P2WSH timelock and escrow scripts. Learn the 4-transaction lifecycle, trust model, and how the BTC Locker distributes yield. - [Charms Bridge: Trustless Bitcoin Cross-Chain Transfers](https://docs.sundialprotocol.com/components/charms-bridge.md): Move Bitcoin-native Charms to the settlement layer without custodians. V1 uses ICP signatures; V2 verifies Groth16 zk-SNARKs with Plutus v3 builtins. - [Alchemy: FIRE and ICE Bitcoin-Backed Reserve Assets](https://docs.sundialprotocol.com/components/alchemy.md): Alchemy splits a BTC reserve into FIRE (junior, high-beta growth) and ICE (senior, USD-denominated), enforced by Groth16 zk-SNARK proofs on L1. - [State Queue: Sundial L2 Block Commitments on L1](https://docs.sundialprotocol.com/components/state-queue.md): The State Queue holds Sundial L2 block headers on L1. Operators commit blocks, watchers challenge invalid ones, and valid blocks finalize permanently. - [Fraud Proofs: How Invalid L2 Blocks Are Challenged](https://docs.sundialprotocol.com/components/fraud-proofs.md): Any participant can challenge an invalid Sundial L2 block with fraud proofs, run multi-step computation threads on-chain, and earn the full operator bond. - [Connect Your Wallet to the Sundial Protocol Dashboard](https://docs.sundialprotocol.com/guides/connect-wallet.md): Connect an L1 wallet (Eternl, Lace, Typhon, Yoroi, GeroWallet, NuFi) or a Bitcoin wallet via Reown AppKit to the Sundial Protocol testnet dashboard. - [Stake Bitcoin on Sundial Protocol and Earn Yield](https://docs.sundialprotocol.com/guides/stake-btc.md): Lock Bitcoin using Sundial's BTC Locker protocol to earn yield. Learn the 4-transaction lifecycle, fee structure, and how to monitor your staking position. - [Stake ADA on the Sundial Layer 2 and Earn Rewards](https://docs.sundialprotocol.com/guides/stake-ada.md): Stake ADA on the Sundial Layer 2 to earn staking rewards. Learn how to deposit, monitor your position, and withdraw using the Sundial financial dashboard. - [Withdraw Funds from Sundial: L2 and BTC Exits](https://docs.sundialprotocol.com/guides/withdraw.md): Withdraw ADA from the Sundial L2 or BTC from the staking protocol. Covers standard withdrawals, accelerated Facilitator exits, and the escape hatch. - [Claim Testnet sBTC from the Sundial Protocol Faucet](https://docs.sundialprotocol.com/guides/faucet.md): Claim free sBTC test tokens from the Sundial testnet faucet. Learn how to find your testnet address, submit a claim, and fix common faucet errors. - [Sundial Layer Operator: Run a Block-Producing Node](https://docs.sundialprotocol.com/guides/operators.md): Layer Operators produce L2 blocks, commit headers to L1, and earn transaction fees. Learn hardware requirements, collateral bonds, and node setup. - [Become a Sundial Watcher: Provers, Archivists & Canaries](https://docs.sundialprotocol.com/guides/watchers.md): Watchers verify L2 blocks and earn rewards on Sundial. Learn the four roles — Prover, Facilitator, Archivist, and Canary — and how to participate. - [Become a Facilitator: Accelerate Sundial Transfers](https://docs.sundialprotocol.com/guides/facilitators.md): Facilitators front liquidity for instant Sundial transfers and earn the fee spread. Learn how to register, stake a challenge bond, and manage L2 risk. - [Sundial Node API: Overview, Auth, and All Endpoints](https://docs.sundialprotocol.com/api/overview.md): The Sundial node API is an unversioned RPC-style HTTP API for submitting L2 transactions, querying UTxOs and block data, and monitoring node health. - [Transaction API: Submit and Query Sundial L2 Transactions](https://docs.sundialprotocol.com/api/transactions.md): Submit hex-encoded CBOR transactions to the Sundial L2 queue, look up individual transactions by hash, and paginate address transaction history. - [UTxO Query API: Fetch L2 Unspent Transaction Outputs](https://docs.sundialprotocol.com/api/utxos.md): GET /utxos returns the current UTxO set for an address on the Sundial L2. Returns CBOR-encoded UTxO data including lovelace and multi-asset balances. - [Block API: Query Sundial L2 Blocks and State Queue](https://docs.sundialprotocol.com/api/blocks.md): GET /block retrieves the transaction hashes committed to an L2 block. GET /stateQueue returns committed block headers from the L1 state queue. - [Faucet API: Claim Testnet ADA on Preprod](https://docs.sundialprotocol.com/api/faucet.md): POST /faucet/claims funds a preprod address with testnet ADA. Requires a bearer token and returns a transaction hash with structured error codes. - [Midgard SDK: Build Sundial L2 Transactions in TypeScript](https://docs.sundialprotocol.com/sdk/midgard-sdk.md): The official TypeScript SDK for Sundial L2. Build deposits, withdrawals, tx orders, and fraud proofs using Effect and Lucid Evolution. - [BTC Locker SDK: Build Bitcoin Staking Transactions](https://docs.sundialprotocol.com/sdk/btc-locker.md): TypeScript library for P2WSH Bitcoin staking on Sundial. Build deposit, claim, distribution, and withdrawal PSBTs programmatically in browser or Node.js. - [Midgard TypeScript Types: Blocks, Transactions & Validation](https://docs.sundialprotocol.com/sdk/midgard-ts.md): TypeScript types and validation for Sundial L2. Covers blocks, transactions, user events, binary codec, and Phase A and B validation pipelines. - [Deploy a Sundial Layer Node: Docker, Nix & Monitoring](https://docs.sundialprotocol.com/operators/layer-node.md): Deploy the Sundial Layer Node with Docker Compose or Nix. Configure node roles, start the Grafana observability stack, and verify your node is healthy. - [midgard CLI Reference: Wallets, Transactions & Node Status](https://docs.sundialprotocol.com/operators/cli-reference.md): Full reference for the midgard CLI: wallet management, transaction submission, node status checks, and key generation for Sundial L2 operators and users. - [Sundial Node Configuration: L1 Provider, Network & Timing](https://docs.sundialprotocol.com/operators/configuration.md): Reference for all Sundial node environment variables: L1 provider, network, operator wallets, timing intervals, PostgreSQL, Redis, and Prometheus metrics.