# Creating and Linking Gas Wallets

### What are Manager Wallets?

A **manager wallet** is responsible for managing all the vaults within the dHEDGE protocol or any other protocol integrated with Infinite Trading. For security reasons, it is highly recommended that the manager wallet be either a **hardware wallet** or a **multi-signature wallet**. This is crucial because if the manager wallet is compromised, the management of the vaults and all assets under the Total Value Locked (TVL) could be lost.

**Recommendation**: Use a hardware or multi-signature wallet for better security and protection of your vault management operations.

### What are Gas Wallets?

**Gas wallets** are designated as **trader wallets** for executing transactions within the vaults. These wallets should only hold the gas token of the respective network (e.g., ETH on Ethereum or POL on Polygon) and no other assets.

Each vault can either have its own dedicated gas wallet or share a common gas wallet across multiple vaults. However, it is **recommended to create one gas wallet per vault** to avoid potential disruptions. If a shared gas wallet runs out of gas, it could prevent all vaults associated with that wallet from being managed.

**Purpose**: Gas wallets are essential for securely managing vault operations. They enable the execution of orders within the vaults while minimizing the risk of exposure to other assets.

### How to Create or Import a Gas Wallet

1. Visit <https://infinitetrading.io/managers>
2. Sign in using your 'dHEDGE manager wallet'
3. Create a new gas wallet from the front-end

   <figure><img src="https://1730882329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiVygprGATVh2w98i9MI3%2Fuploads%2FzYaoNmZo87D77mc1dyGp%2Fimage.png?alt=media&#x26;token=98254eea-c160-4651-80a6-2e386a98f305" alt=""><figcaption></figcaption></figure>
4. Send gas to the gas wallet on the desired network, add a label, and associate it to your manager.

   <div><figure><img src="https://1730882329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiVygprGATVh2w98i9MI3%2Fuploads%2FwS2lzOOLRJLFeT7hrlF0%2Fimage.png?alt=media&#x26;token=9ab3af61-b168-477b-929c-ebc5bb46fe69" alt=""><figcaption></figcaption></figure> <figure><img src="https://1730882329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiVygprGATVh2w98i9MI3%2Fuploads%2FDRODNjuSr4xGA0R1o1hB%2Fimage.png?alt=media&#x26;token=ba6e1722-26a7-4670-a388-bdeb08934b1c" alt=""><figcaption></figcaption></figure></div>
5. Go to the **Managed Vaults** section. Your vault created on dHEDGE should appear there — if not, refresh the page.

   5.1 Click **Set Trader** and assign your **gas wallet** as the trader.

   5.2 Wait for the transaction to confirm.

   5.3 Once confirmed, click **Link Vault to the API**.

   If the system doesn’t let you link it right away, wait a few minutes and refresh the page — the blockchain may need time to register the transaction. After the vault is successfully linked, it will appear under the **API Linked Vaults** section.

### Notes

To link a gas wallet to a dHEDGE vault:

1. Ensure that the gas wallet is set as a **trader** within the dHEDGE vault.
2. The gas wallet must have a sufficient gas balance before it can be linked (it cannot be empty).

By following these steps, you ensure the gas wallet is correctly configured and ready to manage vault transactions.
