> For the complete documentation index, see [llms.txt](https://docs.qie.digital/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qie.digital/getting-started-with-qie-blockchain/2.-set-up-a-wallet.md).

# 👛 2. Set Up a Wallet

### 🔒 CLI Wallet Management with `qied keys`

#### Step 1: Generate a New Wallet Key

Create a new wallet key pair (private + public key):

```
qied keys add <wallet_name>

```

* Replace `<wallet_name>` with your preferred name.
* You will be prompted to set a secure password to encrypt your key.

***

#### Step 2: List Existing Wallet Keys

To see all wallet keys stored locally:

```
qied keys list
```

This will display your wallet names and their associated addresses.

***

#### Step 3: Recover Wallet from Seed Phrase

If you have an existing seed phrase, restore your wallet with:

```
qied keys add <wallet_name> --recover

```

Enter your mnemonic seed phrase when prompted.

***

#### Step 4: Export Public Address<br>

To get the public address of a wallet key:

```
qied keys show <wallet_name> -a
```

#### Step 5: Delete a Wallet Key (Optional)

```
qied keys delete <wallet_name>
```

#### Additional Tips:

* **Backup your seed phrase securely** — it’s the only way to recover your wallet.
* **Never share your private key or password.**
* Use these CLI commands only on trusted machines.
* For transactions, use the `--from <wallet_name>` flag referencing your wallet name.

***

### 🦊 GUI Wallets: Using MetaMask with QIE

#### What is MetaMask?

MetaMask is a popular Web3 browser extension wallet that allows you to interact with Ethereum-compatible blockchains through a graphical interface. Since QIE supports EVM compatibility, you can use MetaMask (or similar wallets) to manage your QIE coins and interact with dApps.

#### How MetaMask Works with QIE:

* **Add QIE Network to MetaMask:**\
  You manually configure MetaMask to connect to the QIE blockchain by adding the network details.
* **Manage QIE Coins:**\
  Once connected, you can send, receive, and stake QIE coins using MetaMask’s simple interface.
* **Interact with dApps:**\
  Use MetaMask to access decentralized applications built on QIE’s EVM layer.

***

#### How to Set Up MetaMask for QIE:

1. **Install MetaMask** browser extension (Chrome, Firefox, Brave).
2. Open MetaMask and click **‘Add Network’**.
3. Enter QIE network details:
   * Network Name: QIEMainnet
   * RPC URL: `https://rpc5mainnet.qie.digital/`     &#x20;
   * Chain ID: `1990`
   * Currency Symbol: `QIEV3`
   * Block Explorer URL: `https://mainnet.qie.digital/`
4. Save and switch to the QIE network.
5. Import your wallet using seed phrase or create a new account.
6. Start managing your QIE coins!

***

#### Advantages of Using MetaMask with QIE:

* **User-friendly interface** for coin management.
* Supports **multiple networks**, so you can manage QIE alongside Ethereum and other chains.
* Seamless interaction with **EVM-compatible dApps** on QIE.
* Well-known and widely supported across Web3 projects.

***

#### Important Security Tips:

* Only add trusted RPC URLs and network details.
* Keep your MetaMask seed phrase and private keys **secure and private**.
* Beware of phishing sites and always verify the dApps you connect t
