> For the complete documentation index, see [llms.txt](https://docs.stackingdao.com/stackingdao/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackingdao.com/stackingdao/core-contracts/ststxbtc-stacking-dao-core.md).

# stSTXbtc: Stacking Dao Core

Stacking DAO Core for stSTXbtc is the main entry point for all user-related actions on the stSTXbtc token, such as depositing STX and withdrawing.

The contract can be found here: <https://explorer.hiro.so/txid/SP4SZE494VC2YC5JYG7AYFQ44F5Q4PYV7DVMDPBG.stacking-dao-core-ststxbtc-v2?chain=mainnet>

{% hint style="info" %}
This contract replaces the previous `stacking-dao-core-btc-v3`, with the same simplified interface as the stSTX core (no reserve/commission/staking parameters).
{% endhint %}

## Integrations

These methods have the exact same interface as the core contract for our stSTX LST. See the [stSTX: Stacking DAO Core](broken://pages/e0a1abdfa0ea325db034e1d2f92e201c982c6d89) page for the full parameter details.

{% stepper %}
{% step %}

## Deposit

`deposit` with `stx-amount` and `min-shares-out`.

Deposits STX and mints `stSTXbtc` (minted 1:1 with STX; yield is paid in sBTC, not through the token ratio).
{% endstep %}

{% step %}

## Initiate Withdrawal

`init-withdraw` with `ststxbtc-amount`.

Mints a withdrawal NFT.
{% endstep %}

{% step %}

## Withdrawal

`withdraw` with `nft-id`.

Returns STX after the PoX cycle ends.
{% endstep %}

{% step %}

## Instant Withdrawal

`withdraw-idle` with `ststxbtc-amount`.

A 1% fee applies.
{% endstep %}
{% endstepper %}
