> For the complete documentation index, see [llms.txt](https://doc.monetrix.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.monetrix.xyz/guide/getting-started-2/mint.md).

# Mint mxBTC

Deposit UBTC, get mxBTC. The rate is always **1:1**. Minting by itself does not earn yield; for that, see [Stake mxBTC](https://doc.monetrix.xyz/guide/getting-started-2/stake.md).

## Prerequisites

* Wallet connected to HyperEVM.
* UBTC on HyperEVM: the amount you want to mint. The UBTC token contract is [`0x9FDBdA0A5e284c32744D2f17Ee5c74B284993463`](https://hyperevmscan.io/address/0x9FDBdA0A5e284c32744D2f17Ee5c74B284993463).
* A little HYPE for gas.

## Steps

Minting takes **two transactions**: an approval that lets the vault pull your UBTC, then the mint itself. UBTC is an ERC-20 token, unlike native HYPE, so the approval step can't be skipped.

<figure><img src="https://3971154758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbU68iXKFy5nFlHmmSOQE%2Fuploads%2Fgit-blob-f5619692fcebc9d4d9f40a2cc5b74bf4e19ccf4b%2Fmxbtc-mint.png?alt=media" alt="Earn with mxBTC page: mxBTC tab with Mint selected, UBTC amount input with Balance, 50% and Max, Receive mxBTC at 1:1, sidebar showing mxBTC under Earn" width="720"><figcaption></figcaption></figure>

### 1. Enter the amount

Open **Earn → mxBTC**. With the **mxBTC** tab selected at the top, choose **Mint** and enter how much UBTC you want to convert. The app shows:

* Your UBTC balance.
* **50%** and **Max** buttons to fill part or all of your balance.
* The mxBTC you will receive, which equals the UBTC you send.

Amounts can have up to 8 decimal places, the same precision as UBTC.

### 2. Approve UBTC

Click **Approve & Mint mxBTC**. The first wallet prompt approves the vault to pull exactly the amount you entered.

{% hint style="info" %}
Approve is per-amount. If your existing approval already covers the amount, the button reads **Mint mxBTC** and the approval prompt is skipped. If you have a smaller approval left over, the app first resets it to zero, so you may see one extra prompt.
{% endhint %}

### 3. Mint mxBTC

The next prompt is the mint itself. The transaction calls `BtcVault.deposit(amount)`. If it succeeds:

* Your UBTC is transferred to the vault.
* You receive exactly the same amount of mxBTC (1:1 ratio).
* A toast confirms the mint.

### 4. Verify

Your mxBTC balance should update. You can also look up the transaction on the HyperEVM explorer.

## What can cause a mint to fail

The app pre-checks these conditions before sending the transaction. If any fail you'll see a message on the button instead of a wallet prompt:

* **Paused**: the vault is in an emergency paused state ("This action is temporarily paused.").
* **Outside the deposit range**: each mint must be between **0.0001 UBTC** and **1 UBTC** ("Deposit between 0.0001 and 1 UBTC."). For a larger position, mint in several transactions.
* **Exceeds remaining capacity**: your mint would push total mxBTC supply above the product's capacity cap (currently **5 BTC**). The sidebar shows how much of the cap is already used.
* **Insufficient balance**: you're trying to mint more UBTC than your wallet holds.

These values are read from the `BtcConfig` contract at the time of your transaction, so they reflect live protocol settings. Governance can adjust them.

## After minting

Holding mxBTC does **not** earn yield on its own. To start earning, go to [**Stake mxBTC**](https://doc.monetrix.xyz/guide/getting-started-2/stake.md).

If you only want to exit back to UBTC, see [**Redeem mxBTC**](https://doc.monetrix.xyz/guide/getting-started-2/redeem.md). Note the redeem path has a cooldown.
