> For the complete documentation index, see [llms.txt](https://whitepaper.xtrip.travel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.xtrip.travel/metamask.md).

# MetaMask

Users need to connect their MetaMask e-wallet to complete transactions on xtrip including deposit and withdraw tokens; send and import NFTs.

## 1. Creat MetaMask e-wallet

Just a few simple steps and users can create their own e-wallet to do transactions. First of all, users need to install the MetaMask extension to the browser. Open the available browser (in this example, we use Chrome as the web browser).

### Step 1: Install MetaMask Extension to your browser

<figure><img src="/files/6ggLed2jvJ1r2nPlSyW5" alt=""><figcaption></figcaption></figure>

### Step 2: Create a password

<div><figure><img src="/files/WX6HRIOo0DBbpu1mYHYN" alt=""><figcaption></figcaption></figure> <figure><img src="/files/vgmOEzNDiFm3RUWXFlhX" alt=""><figcaption></figcaption></figure></div>

### Step 3: Secure the wallet

Save the 12-word Secret Recovey Phrase

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

### Step 4: Pin MetaMask extension to the browser

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

## 2. Connect MetaMask e-wallet to xtrip app

To connect MetaMask e-wallet to xtrip, users need to set their MetaMask network as Avalanche Network C-Chain

<div><figure><img src="/files/7ChBJACUoAiBqYlzey3B" alt=""><figcaption></figcaption></figure> <figure><img src="/files/1ScUJcVQGorLArSVvTok" alt=""><figcaption></figcaption></figure></div>

### Step 1: Log in xtrip webapp&#x20;

Access xtrip webapp at [webapp.xtrip.travel](https://webapp.xtrip.travel/) and log in with your xtrip account.

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

### Step 2: Open Manage wallet page to connect e-wallet

<div><figure><img src="/files/iZJC4gquEnO3Bzxu3X5A" alt=""><figcaption></figcaption></figure> <figure><img src="/files/WB44uXIhCgPJzMyPNw7F" alt=""><figcaption></figcaption></figure></div>

### Step 3: Connect xtrip webapp in MetaMask

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

<div><figure><img src="/files/GGAOs3aesyHt929yVUkz" alt=""><figcaption></figcaption></figure> <figure><img src="/files/yxSfdSJYHSWPnuocnSqH" alt=""><figcaption></figcaption></figure></div>

Now, users have connected MetaMask e-wallet to xtrip successfully. Users can also disconnect e-wallet if wanted by choosing "Disconnect".

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

## 3. Withdraw/Deposit tokens

After connecting e-wallet, users can deposit or withdraw tokens between xtrip and e-wallet. On the Spending wallet, choose "Withdraw token" or "Deposit token"&#x20;

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

<div><figure><img src="/files/ccWFPa6E5oAZPaZKZ4aK" alt=""><figcaption></figcaption></figure> <figure><img src="/files/tRNnRVkg3Qw0dOXBSQMe" alt=""><figcaption></figcaption></figure></div>

## 4.  Send NFT to e-wallet

### Step 1: Choose the NFT users want to send

<figure><img src="/files/4p2zum2x80x8kjO0fklR" alt=""><figcaption></figcaption></figure>

### Step 2: Fill in the wallet address users want to send NFT to

Users can send NFT to their own wallet or to their friend's wallet as a gift.

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

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

## 5. Import NFT from e-wallet to xtrip

Firstly, check your received NFT on your wallet

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

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

To import NFT into xtrip to travel, access [webapp.xtrip.travel](https://webapp.xtrip.travel/), connect e-wallet then import NFT.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://whitepaper.xtrip.travel/metamask.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
