# BRC20 Bridge (Testnet)

## Prerequisites

Before starting the bridging process between Bitcoin and SatoshiVM, ensure the following:

1. [**MetaMask Wallet**](/user-guide/testnet/wallet-setup.md)**:** Have MetaMask installed and configured to interact with the SatoshiVM Testnet.
2. [**UniSat Wallet**](/user-guide/testnet/faucet/bridge-from-bitcoin.md#wallet-setup-via-unisat)**:** Ensure your UniSat wallet is ready for the transaction process.
3. Understand [**brc-20 protocol**](https://domo-2.gitbook.io/brc-20-experiment/).

## Mint $sats for testing

### 1. Navigate to UniSat Testnet

Access [UniSat Testnet](https://testnet.unisat.io/brc20/sats) to mint $sats, a brc-20 token deployed on Bitcoin Testnet.

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

### 2. Mint $sats directly

Connect your Bitcoin wallet and mint $sats directly:

#### 2.1 Generate the text for minting

Click "Mint Directly" and follow the prompt to generate the text for minting.

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

#### 2.2 Confirm the inscription details

Review the generated text and click "Next" to continue.

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

#### 2.3 Fill in the recipient's address

Fill in your Bitcoin Testnet address to receive $sats.

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

#### 2.4 Submit and pay the minting invoice

Submit and pay the prompted invoice to process the minting transaction.

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

<figure><img src="/files/9pW72w3PzYcyXpm39fbs" alt=""><figcaption></figcaption></figure>

### 3. Check your $sats balance in UniSat

{% hint style="warning" %}
Note that it generally takes a few minutes to get your BRC-20 balances updated in UniSat.
{% endhint %}

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

## Deposit: Bridge $sats to SatoshiVM

### 1. Navigate to the official BTC bridge

Access the official [BTC Bridge page (Testnet)](https://testnet-bridge.satoshivm.io/) and select $sats for depositing.

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

### 2. Inscribe TRANSFER for depositing

According to brc-20 protocol, one has to inscribe the transfer function for a given amount before sending it to a desired recipient. Uninscribed brc-20 tokens are non-transferable.

{% hint style="warning" %}
Note that it generally takes a few minutes to get your transferable BRC-20 balances updated.
{% endhint %}

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

### 3. Deposit transferable BRC-20 on Bitcoin Testnet

#### 3.1 Select a transferable BRC-20 balance for depositing

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

#### 3.2 Confirm the deposit transaction in UniSat

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

### 4. Monitor progress on the History page

Once the deposit is initiated, monitor your transaction's progress on the SatoshiVM Bridge History page. This section provides real-time updates on the status of your deposit.

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

### 5. Check destination address balance via SatoshiVM Explorer

After completing the deposit, check the destination address balance using the [SatoshiVM Explorer](https://testnet.svmscan.io/). Confirm that the equivalent amount of $sats has been transferred to your SatoshiVM address.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.satoshivm.io/user-guide/testnet/brc20-bridge-testnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
