# Phala Network

## Connect SubWallet to Phala App

{% hint style="info" %}
For instructions on creating a  account with SubWallet, please visit [create-an-account](https://docs.subwallet.app/beta/extension-user-guide/create-an-account "mention") page.
{% endhint %}

Log into [Phala App](https://app.phala.network/), then click on **Connect Wallet** on the top right corner. Choose **SubWallet** and select the account(s) you want to connect.&#x20;

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FC7NgBqUg0IvVD3w1uKEO%2Fphala1.png?alt=media\&token=41d56b3b-1356-4af5-bc85-1a1b48202393)

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FQ15tgPelv8TwbGoIHHWk%2FScreen%20Shot%202022-04-26%20at%2011.10.08.png?alt=media\&token=ba6722f1-1436-4400-bcd8-beb0716d444d)

{% hint style="info" %}
If you want to change your account, simply click on your current one (the same button as **Connect Wallet** previously) or hit the **Change** button next to your account name and choose another account.
{% endhint %}

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FQiEbZwNi0YLU5avT0yLG%2Fphala2.png?alt=media\&token=a39dafcb-61b7-4207-829c-d2524cd355eb)

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FCUlBgmUiJSXU7noWSjTq%2FScreen%20Shot%202022-04-26%20at%2011.03.14.png?alt=media\&token=4580186b-994d-432c-89ed-28661eb1c638)

## Transfer PHA

### On Phala App

**Step 1**: On your dashboard page, click on **Transfer**. Enter the recipient address and the amount you want to send. You can also choose to send all of your funds by pressing **Max**. Then hit **Confirm**.&#x20;

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FRi7zaN0h0A7GVZ2W1oFM%2Fphala3.png?alt=media\&token=c24acb6e-257d-4f03-886d-51343755c4ba)

![1.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2F4L2BoCzR9bLwZ3tzvfKf%2FScreen%20Shot%202022-04-26%20at%2011.48.35.png?alt=media\&token=5933da25-dd1f-49da-a805-b84a27d72ed8)

**Step 2**: In SubWallet's pop-up window, key in your password and hit **Approve**.

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FYRtHMDActo3Thv8CM8BP%2FScreen%20Shot%202022-04-26%20at%2011.55.47.png?alt=media\&token=14900294-0b70-4912-9d7e-6309b3dbd1b7)

### In SubWallet Extension

**Step 1**: Open SubWallet extension and choose Khala from the drop-down network list. Hit the **Send** icon.

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2F6k8vNAyUjZnkMqjUBCfN%2Fphala4.png?alt=media\&token=11e14917-231e-4de1-8628-c82b73249eee) ![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2Fw4PMFnE1MXc49yAyTyDb%2Fphala5.png?alt=media\&token=43a01b51-a7e1-4e09-8cdd-ddae43d3a5f4)

**Step 2**: Enter the recipient address and the amount you want to transfer. If you want to send all of your funds, click **Transfer the full account balance, reap the sender**. Then hit **Make Transfer**. Key in your password and select **Sign and Submit**. Your transfer is successful.&#x20;

![2.1](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FYa7Jhlh2ikHSIoPzn9iJ%2FScreen%20Shot%202022-04-26%20at%2012.07.25.png?alt=media\&token=b574fdc2-2c40-4d23-bed1-79f246ed1034) ![2.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2F9CLPXYEqlmoPNFdRHUex%2FScreen%20Shot%202022-04-26%20at%2012.07.39%20\(1\).png?alt=media\&token=72e8e870-c33c-4779-b389-ea4a46925b63) ![2.3](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FOs0UFxDl9YLep5PiTs1A%2FScreen%20Shot%202022-04-26%20at%2012.12.57.png?alt=media\&token=fddb6969-72ae-4395-aab2-af450437d90a)

## Bridge PHA

**Step 1**: On the toolbar in Phala App, choose **SubBridge**. Select the network that you want to send from and to, as well as enter the amount and addresses of both the sender and recipient.&#x20;

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FZtmrpsYx57ftvPtOvMPX%2Fphala6.png?alt=media\&token=633c9066-d86d-450a-9624-acea0cf149cc)

![1.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FJCE4NUHusETQPZLMYUKR%2FScreen%20Shot%202022-04-26%20at%2012.31.50.png?alt=media\&token=4a6887ff-2d97-46ea-8082-790d3f8b2c22)

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2F5u20Nlq1LQUVr8ghaaw0%2FScreen%20Shot%202022-04-26%20at%2012.33.00.png?alt=media\&token=1f6f2325-cfaf-4e4a-81f3-012060c69050)

**Step 2**: After hitting **Submit**, the system will generate a pop-up box that summarizes your transaction for you to confirm.

![1.4](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FKq80F6DWhkT2RSPfBKi6%2FScreen%20Shot%202022-04-26%20at%2012.33.40.png?alt=media\&token=9b55a48b-900a-439d-88d9-655fcaa3bc66)

**Step 3**: Hit **Submit** again. In SubWallet's pop-up window, enter your password and hit **Approve**. You can check on your recipient's SubWallet extension to see the available funds after the transaction.

![3.1](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FCSEvsv1KNGjHA09ErxOm%2FScreen%20Shot%202022-04-26%20at%2012.41.00.png?alt=media\&token=4fad158b-8aac-4a85-8a92-7349ed35e94a) ![3.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FIcITyR0ehtuTm9TOZcUV%2FScreen%20Shot%202022-04-26%20at%2012.46.04.png?alt=media\&token=e6e17511-eb72-4c73-8f87-69e19f271177)

## Stake PHA

### Delegate PHA to a Stakepool&#x20;

**Step 1**: On the toolbar in Phala App, select **Delegate**. Choose the stakepool you want to delegate $PHA and click on the ellipsis button. Hit **Delegate**.&#x20;

![1.1](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2Fn422vvE0NVdwj88UGX4i%2FScreen%20Shot%202022-04-26%20at%2014.55.02.png?alt=media\&token=b60a561f-6c1c-4d63-aed7-5b274e276587)

![1.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FFFS2HyUrLflr5t0mXk5W%2FScreen%20Shot%202022-04-26%20at%2014.55.21.png?alt=media\&token=af6ea52a-b5f4-45a2-92f9-92e0e7073bac)

**Step 2**: Enter the amount you want to delegate and hit **Confirm**. Enter your password in SubWallet's pop-up window and select **Approve**.&#x20;

![2.1](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2Fhc3XKI7QKPgvYuYoDp1E%2FScreen%20Shot%202022-04-26%20at%2014.56.36.png?alt=media\&token=b8fe4512-1d57-4068-9c13-bf321767524a)

![2.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FIb7qJt9uNmUbdvjFxmRj%2FScreen%20Shot%202022-04-26%20at%2014.56.58.png?alt=media\&token=b1bf5e1b-706b-48cf-8448-8c6241555455)

**Step 3**: After submitting your transaction, you should be able to view and manage your delegation on Phala App within 20 minutes. Go to **My Delegate** on the top right corner.

![3.1](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2F3dkDfjp2dC6Hxdx6noxx%2FScreen%20Shot%202022-04-26%20at%2015.01.48.png?alt=media\&token=066c0469-473d-4de0-90d2-4732b37e1b79)

![3.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FDRkAVQ564y9P6ULaofzo%2FScreen%20Shot%202022-04-26%20at%2015.12.20.png?alt=media\&token=adb8c0d9-897f-4e9f-a762-622b6f570654)

### Withdraw Your Delegation

**Step 1**: On the **Delegate** tab, click on the ellipsis button next to the delegation you want to withdraw. Enter the amount or hit **Max** to withdraw all your delegated PHA.

![1.1](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FfmpfRNSnbkPjOX8WcIJL%2FScreen%20Shot%202022-04-26%20at%2015.19.02.png?alt=media\&token=1a30f919-c8f0-450c-80bc-656d9ecd4f97)

![1.2](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FHdjK565eUzASY3XGneAi%2FScreen%20Shot%202022-04-26%20at%2015.19.46.png?alt=media\&token=7a51bc9e-b808-483b-9818-86d90404f40e)

**Step 2**: Hit **Confirm**. Enter your password in SubWallet's pop-up window and select **Approve**. After submitting your transaction, you should be able to see your account balance change on Phala App and SubWallet extension within 20 minutes.

![](https://708558686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fx2bpnbQM0WCkMm0eOyd6%2Fuploads%2FmDoCsQ2tKL1TB1nx57M9%2FScreen%20Shot%202022-04-26%20at%2015.23.05.png?alt=media\&token=ee5ee1b2-046e-475b-b4ec-9a0d5f8b64ee)

&#x20;


---

# 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.subwallet.app/beta/dapps-user-guide/phala-network.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.
