> For the complete documentation index, see [llms.txt](https://docs.fiammalabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiammalabs.io/our-product-suite/pragmatically-trustless-bitvm-bitcoin-bridge/user-guides/testnet-alpha/how-to-deposit-and-withdraw-on-fiamma-bridge.md).

# How to Deposit and Withdraw on Fiamma Bridge?

Prerequisite

To begin, you'll need wallets that support EVM-compatible and BTC addresses, along with the corresponding test tokens.

* Bitcoin Signet
  * Wallet: [Unisat](https://unisat.io/) (others coming soon)
  * Faucet: <https://signetfaucet.bublina.eu.org/>
* Ethereum Holesky Testnet
  * Wallet: [Metamask](https://metamask.io/) and others
  * Faucet: <https://www.holeskyfaucet.io/>

## How to Deposit

> Transfer sBTC from Signet to Holesky Testnet.

1. Connect Bitcoin Wallet - Unisat

<figure><img src="/files/MIWrsCjtcsseGjSBSrv6" alt=""><figcaption></figcaption></figure>

Please note that we only support Native Segwit and Taproot address types in alpha-testnet.&#x20;

<figure><img src="/files/tIiF0Hrgpo8raheJwBXB" alt=""><figcaption></figcaption></figure>

2. Enter amount within `0.00001 ~ 0.0001sBTC`(Due to current liquidity constraints in our operator, we have implemented a temporary limit on amounts. We anticipate increasing these limits.)

<figure><img src="/files/zD7is3p6F7JmZQKbZJbx" alt=""><figcaption></figcaption></figure>

3. Please enter the recipient's address in the designated field, ensuring it is an ERC20-compatible address from the Holesky network.

> Or just conneting with the Metamask, which will autofill the address.

<figure><img src="/files/7MWp6lYZUNuWJjNFGGIw" alt=""><figcaption></figcaption></figure>

4. Confirm and hit deposit

<figure><img src="/files/UVcgPqy8hgf6NZVTw4yH" alt=""><figcaption></figcaption></figure>

5. Sign `PEG-IN` (Deposit) Transaction and pre-sign Take Transactions, which is prepared to pay back for Operator when they finish `PEG-OUT` (withdraw) operation.

<figure><img src="/files/BngI9jFtUrPk5oyowRdJ" alt=""><figcaption></figcaption></figure>

6. It will then proceed with processing.
7. Check your deposit (Peg-in) status by clicking the deposit transaction. &#x20;

<figure><img src="/files/k9hTaDElhNPDcyQfkQfU" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/aW78HFgYn2ynbdBs6dKK" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/dZtuHSp0BxGj6zRdMnQ3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/k67jIhOouF8Fgy1lfDC0" alt=""><figcaption></figcaption></figure>

8. Check your bridged BTC (mamaBTC) on Sidechain wallet.

   1. Add mamaBTC **`0x5636bB012F5176d75755691B623236971126Fdac`**  on Metamask
   2. Check the amount.

   <figure><img src="/files/Wg4f7goTQDt6VkFyHfzG" alt=""><figcaption></figcaption></figure>

## How to `PEG-OUT`

1. Connect EVM-compatible wallets (e.g., Metamask)

<figure><img src="/files/IlvOO16gDqzAX0PAcl5c" alt=""><figcaption></figcaption></figure>

2. Select `PEG-OUT` Amount (We will bring in external liquidity provider to achieve fully flexible amount in the future.)

<figure><img src="/files/4jOh6oakOQMmBPotGvhV" alt=""><figcaption></figcaption></figure>

3. Fill out the recipient address on Bitcoin.

<figure><img src="/files/hOPNKPbiqkWtsLencLOk" alt=""><figcaption></figcaption></figure>

4. Confirm and Withdraw
   1. Withdraw

<figure><img src="/files/ZtOtoB8qcsSNtLAuDUCz" alt=""><figcaption></figcaption></figure>

b. Confirm Withdraw and Sign Burn Transaction

<figure><img src="/files/pLcuvUNHeKA7nGiKFMfi" alt=""><figcaption></figcaption></figure>

5. Processing.&#x20;
6. Check your PEG-OUT (withdraw) status in history.

> This process may take 10-20 minutes to be confirmed on the Signet.

<figure><img src="/files/cwuZX8lHeXEIaup2xIfM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/auiDA5OhQuxgpDKilsRp" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lMm8WfYnGDuZk2GTcqa0" alt=""><figcaption></figcaption></figure>
