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

# Smart Contracts

The hBTC protocol is organized into several smart contract domains covering governance, user interaction, trading, and accounting.

Governance contracts manage permissions, configuration, and safety controls; user-facing contracts handle deposits, withdrawals, and the hBTC token; trading contracts interface with external protocols for strategy execution; and accounting contracts manage NAV updates and the reserve fund.

All assets are held within a dedicated reserve contract, providing a single, auditable asset layer across the system.

<Frame>
  <img src="https://mintcdn.com/hermeticalabsinc/cr4cicPK4ZdtyX_c/assets/images/hbtc/how-it-works/smart-contracts/frame-316125620.png?fit=max&auto=format&n=cr4cicPK4ZdtyX_c&q=85&s=9090a9750e5f45e94b1e05e0f163baac" alt="Image for Smart Contracts" width="1412" height="577" data-path="assets/images/hbtc/how-it-works/smart-contracts/frame-316125620.png" />
</Frame>

hBTC smart contracts are open-source and verifiable on-chain.

<Accordion title="Smart Contracts">
  HQ: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.hq-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.hq-v1?chain=mainnet)

  State: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.state-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.state-hbtc-v1?chain=mainnet)

  Blacklist: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.blacklist-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.blacklist-v1?chain=mainnet)

  Vault: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.vault-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.vault-hbtc-v1?chain=mainnet)

  Token: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.token-hbtc](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.token-hbtc?chain=mainnet)

  Reserve: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.reserve-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.reserve-hbtc-v1?chain=mainnet)

  Trading: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.trading-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.trading-hbtc-v1?chain=mainnet)

  Zest Interface: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.zest-interface-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.zest-interface-hbtc-v1?chain=mainnet)

  Hermetica Interface: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.hermetica-interface-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.hermetica-interface-hbtc-v1?chain=mainnet)

  Controller: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.controller-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.controller-hbtc-v1?chain=mainnet)

  Reserve Fund: [SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.reserve-fund-hbtc-v1](https://explorer.hiro.so/txid/SP1S1HSFH0SQQGWKB69EYFNY0B1MHRMGXR3J1FH4D.reserve-fund-hbtc-v1?chain=mainnet)
</Accordion>

<Check>
  View the hBTC smart contracts [on Github](https://github.com/hermetica-fi/hermetica-contracts).
</Check>
