![PowPeg App (peg-out)](/img/resources/powpeg/pegout.gif)

## Performing a peg-out transaction using MetaMask
​
**Step 1: Select conversion type**

To perform a peg-out, open  the [PowPeg App - Testnet](https://powpeg.testnet.rootstock.io/) in your browser.

**Step 2: Choose the RBTC - BTC conversion type**

​
![pegout screen](/img/resources/powpeg/pegout-button.png)

​
**Step 3: Connect your MetaMask wallet**

​
Click on 'Connect wallet' and then select 'MetaMask'.
​
![connect-wallet](/img/resources/powpeg/pegout-ledger-trezor-connection.png)

​
> If your wallet is locked, see images below for steps on how to unlock it.
​
![Unlock metamask wallet](/img/resources/powpeg/unlock-metamask.png)
​
And then click 'Confirm' to complete the first step.
​
![Confirm metamask wallet connection](/img/resources/powpeg/confirm-pegout-select-mm.png)

​
**Step 4: Enter an amount**


Enter the amount you want to send​. You can either enter it manually, 
or click 'Use max available balance' if you want to send all the RBTC you have.
​

![RBTC amount to send input](/img/resources/powpeg/pegout-tx-screen.png)
​

**Step 5 (Opttional) : Verify your Bitcoin destination address**

​
Click 'Get Bitcoin destination address'. Click 'Generate' first in PowPeg App and then in MetaMask.
​
![Click get bitcoin destination address](/img/resources/powpeg/opttional1.png)

![Click sign button](/img/resources/powpeg/optional2.png)

![Metamask signature request](/img/resources/powpeg/signature-metamask.png)

​
After signing, you will be able to know the derived Bitcoin address where you will receive funds.

​
![Derived address](/img/resources/powpeg/optional3.png)

> For more details on derived addresses. See the [advanced operations](/resources/guides/powpeg-app/pegout/deriving-electrum) section.

​
**Step 6: Send transaction**


Confirm the information, click 'Send' in PowPeg App and then  click 'Confirm' in MetaMask.
​
![Click to send pegout transaction](/img/resources/powpeg/pegout-min-and-max-values.png)

![Sign to confirm and send pegout transaction](/img/resources/powpeg/pegout-mm-confirm.png)

![Confirm send on metamask](/img/resources/powpeg/send-metamask.png)
​
See final screen as shown in the image below;
​
![BTC on its way](/img/resources/powpeg/pegout-finished-tx.png)

By clicking on the **See Transaction** button, the user can check the status directly in the transaction status page, by clicking in **Start Again** button the user can perform another transaction.

See the [Viewing Peg-out Transaction Status](/resources/guides/powpeg-app/pegout/status) section for more information.