# Mint your first tgBTC

In the previous guides, we covered how to connect to the Testnet in your TON wallet and the Signet in your BTC wallet. We also learned how to obtain Test TON and BTC tokens. Now, let’s dive deeper into the process that enables seamless interaction between Bitcoin and TON: Peg-in.

{% hint style="warning" %}
TON Teleport is currently on Testnet. Do not send real funds and don’t use mainnet wallets.
{% endhint %}

## 📖 What you will learn

* understand the key steps in the Peg-in process (Transfer, Wait, Receive)
* learn how to mint tgBTC in the TON ecosystem
* test the functionality of TON Teleport BTC peg-in

## 📚 Before we begin

Make sure you have:

* Testnet wallet in TON (e.g., Tonkeeper from our [**previous guide**](https://tgbtc.gitbook.io/docs/getting-started/testnet-in-ton))
* Signet wallet in BTC (e.g., UniSat or Electrum from our [**previous guide**](https://tgbtc.gitbook.io/docs/getting-started/signet-in-btc-for-mobile))
* [**test Toncoins**](https://tgbtc.gitbook.io/docs/getting-started/testnet-in-ton#how-to-get-test-toncoins) for use in the Testnet
* [**test BTC**](https://tgbtc.gitbook.io/docs/getting-started/signet-in-btc-for-mobile#how-to-get-test-btc) for use in the Signet

## 📕 Theoretical part: Understanding Peg-in

**Step 1: Transfer BTC**\
Begin by transferring your test BTC from the Bitcoin network to TON. Generate a unique deposit address in the TON Teleport BTC system linked to your TON wallet.

**Step 2: Wait for confirmation**\
Once the BTC transfer is initiated, wait for the transaction to be confirmed on the Bitcoin blockchain. Depending on network congestion and fees, this may take several minutes to hours.

**Step 3: Receive tgBTC**\
After confirmation, the TON Teleport BTC system processes the transaction, and an equivalent amount of tgBTC (backed 1:1 by BTC) will be credited to your Testnet TON wallet.

## 🦄 Practical part: Mint your first tgBTC

First, link your TON Testnet wallet to the [**TON Teleport BTC**](http://sandbox.teleport.tg/app/auth) system to initiate the Peg-in process.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FSgN9HkQXhTX8yftfVEgi%2F2024-11-14%2015.48.21.jpg?alt=media&#x26;token=5f289155-1874-4b49-9f53-6c02953576a7" alt="" width="563"><figcaption></figcaption></figure>

Next, the system will prompt you to create a refund password. This password allows you to reclaim your BTC if the deposit expires or is not processed for any reason. Be sure to save the password — refunds are only possible with it.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FeCPd74ue62tVghcvppli%2F2024-11-14%2015.48.34.jpg?alt=media&#x26;token=ed142a5d-21e6-4ebd-82b4-d690b4ae3eb0" alt="" width="563"><figcaption></figcaption></figure>

Then, complete a confirmation transaction in your TON Testnet wallet to approve the password setup.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2F5clh6BtJEl6KbAJIwQN7%2F2024-11-14%2015.48.36.jpg?alt=media&#x26;token=61826ad3-fa73-4c87-b26b-8576e5fa9e35" alt="" width="563"><figcaption></figcaption></figure>

## 🚀 Minting tgBTC

TON Teleport will provide a unique BTC address; then copy this address.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FwnFdeThW93hZ5C8MC7LQ%2F%E2%95%A8%D0%B1%E2%95%A8%E2%95%9C%E2%95%A8%E2%95%95%E2%95%A8%E2%95%9D%E2%95%A8%E2%95%9B%E2%95%A8%E2%95%91%20%E2%95%A4%D0%9D%E2%95%A8%E2%95%91%E2%95%A4%D0%90%E2%95%A8%E2%96%91%E2%95%A8%E2%95%9C%E2%95%A8%E2%96%91%202025-06-23%20%E2%95%A8%E2%96%93%2012.29.18.png?alt=media&#x26;token=0aaeafba-8367-46cd-b284-202db786e395" alt="" width="563"><figcaption></figcaption></figure>

Use your Signet BTC wallet, such as Electrum or UniSat, to send the desired amount of test BTC to the provided deposit address.

{% hint style="info" %}
In TON Teleport, deposit transactions currently support a maximum of 500 peg-in inputs.
{% endhint %}

After sending the BTC, copy the Transaction ID from your wallet’s `History` tab.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2F4ZQ32LtcQMMEtlfNJtuM%2Fimage.png?alt=media&#x26;token=cd97026a-5e45-4803-a316-75376421e772" alt="" width="563"><figcaption><p> Electrum wallet</p></figcaption></figure>

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2Ft64fEWgBPdmthGL4Divc%2FIMG_9739.PNG?alt=media&#x26;token=8a717099-0274-4310-bd32-f385d98497a6" alt="" width="188"><figcaption><p>UniSat wallet</p></figcaption></figure>

Paste the Transaction ID into the TON Teleport website.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FGXBvIlE4oGodYBVIQCUY%2F2024-11-14%2015.50.34.jpg?alt=media&#x26;token=d175a6de-f93a-4261-b7c0-1820a45e8baf" alt="" width="563"><figcaption><p>Transaction ID from the Electrum wallet</p></figcaption></figure>

Then proceed by clicking Next to move to the following steps.

## ✅ Tracking and confirmation

Once the deposit is initiated, you’ll receive a unique Deposit Transaction ID.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FmE5B5eIcZ82EFrOdFjUR%2Fimage.png?alt=media&#x26;token=600b640c-c188-4d7b-a7ed-bb80e3901548" alt="" width="563"><figcaption></figcaption></figure>

You can use this ID to check the deposit status at any time through the Check Deposit Status section on the main page. Wait for the transaction to complete 3/3 confirmations on the Bitcoin network. You can monitor the confirmation progress using a [**blockchain explorer**](https://mempool.space/).

## 🔄 Verification and processing

After confirmation on the Bitcoin blockchain, tgBTC will be automatically issued to your TON wallet.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FiiQxoaotj2UzYs3umC77%2Fimage.png?alt=media&#x26;token=578deb12-3f6b-48bf-9491-767d09f1e9a8" alt="" width="563"><figcaption></figcaption></figure>

Once the processing is complete, click `Done`, and you will see the test tgBTC credited to your Testnet TON wallet, fully backed 1:1 by the test BTC you deposited.

<figure><img src="https://2322428612-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDZHm4kD4WG4CcwPh2dZ%2Fuploads%2FMuq7q2Zl8UxBAAEJAb3j%2Fimage.png?alt=media&#x26;token=005abf96-3c44-459b-9627-b16a9fdbb03f" alt="" width="563"><figcaption></figcaption></figure>

## 🥳 What's next?

You have successfully completed the Peg-in process and minted test tgBTC on the TON.&#x20;

In the [**next guide**](https://tgbtc.gitbook.io/docs/getting-started/burn-your-tgbtc-for-btc), we’ll explain how to redeem BTC by burning tgBTC in the Peg-out process.
