# Infrared iBGT Automation

The Infrared iBGT Automation simplifies staking by automatically claiming and re-staking iBGT rewards at set intervals. Instead of manually managing claims and staking cycles, Brahma Accounts ensure continuous staked iBGT compounding without extra effort.

This automation is designed for users staking LP tokens on **Infrared**, which aggregates liquidity from platforms like **BEX, Kodiak, Dolomite, and more**.

🔗 [Infrared Vaults](https://infrared.finance/vaults) | [Infrared iBGT Staking](https://infrared.finance/ibgt) | [Infrared Docs](https://infrared.finance/docs)

## **What Does the Automation Do?**

• **Auto-claim iBGT rewards** from your staked LP tokens.

• **Auto-stake iBGT** on Infrared at scheduled intervals (by default every 1 hour).

• **Auto-harvest all additional token rewards** (HONEY, WBERA) earned on your automation staked iBGT position, as well as auto-harvest from any existing staked IBGT "siBGT" you have on your **Brahma Account**.

• You can **Manually deposit iBGT** from your Brahma Account **into the automation** and it will **stake and compound** them.

• **Run securely via a segregated Automation Account** owned by your Brahma Account.

This ensures **optimal APY compounding** while maintaining full self-custody over your funds.

### **Supported Assets**

• **Any LP token staked in an Infrared Vault** (e.g., BEX, Kodiak, Dolomite, etc.).

• Users can manually select which **vault positions** they want to automate.

• The Infrared position must be held in a **Brahma Account** to enable automation.

## **Important Notes**

• The automation now allows manual iBGT deposits, letting users add iBGT from their Brahma Account to an active automation for compounding. Just press `Compound iBGT` button to add iBGT to a running vault automation.

• The automation now auto-claims rewards for siBGT staked in your Brahma Account, ensuring all your earned rewards are included.

• You can withdraw iBGT from specific automated vaults without stopping the automation.

• The automation operates through an **Automation Account** owned by your **Brahma Account**, ensuring segregated risks and limited approvals.

* Your **main LP position remains in your Brahma Account**.
* The **automation claims iBGT and stakes it in the Automation Account**.

• You can view the Automation Account address on the right panel `Your Automation Accounts`

## **Upcoming Upgrades**

• **v1.2**: New migration flow to migrate Infrared positions from external wallets.

• **v2**: Full integration to open and automate Infrared positions from scratch from any input token (e.g., USDC).

• **v3**: Automated rebalancing of Infrared Vault LP positions to optimize APY.

• **v3**: Auto-compound iBGT into Vault LP or auto-compound other reward tokens into staked iBGT.

***

## How to Get Started

### **If You Have an Existing Infrared Position**

<details>

<summary>If Your Infrared Position Is in an External Wallet</summary>

You must **unstake your position from Infrared**, transfer the LP tokens to your **Brahma Account**, and re-stake them to enable automation.

**Step-by-Step Guide**

**1. Unstake LP Tokens from Infrared**

• Connect your wallet to **Infrared**.

• Go to **Portfolio** and select your **Vault Name**.

• Click **Unstake**, enter the amount, and sign the transaction.

• This will return the underlying LP tokens to your wallet.

**2. Transfer LP Tokens to Your Brahma Account**

• Copy your **Brahma Account Address** from [**console.brahma.fi**](http://console.brahma.fi).

• Send the LP tokens (e.g., Berahub-BEX, Kodiak, Dolomite) from your wallet to this address.

**3. Stake LP Tokens on Infrared**

• Go to **Infrared** and select **Stake**.

• Choose your LP tokens and **connect to Infrared using WalletConnect**.

• Stake the tokens again to start earning iBGT rewards.

**4. Activate iBGT Automation**

• In **Brahma Console**, go to **Strategies > iBGT Automation**.

• Your Infrared position should now appear in the **Vaults** tab.

• Click **Activate**, sign the transaction, and let the automation start.

**5. Sit Back & Earn**

• The automation will **claim and stake iBGT** at regular intervals.

• Additional token rewards (HONEY, WBERA) will be automatically harvested.

• If you deposit more LP into the vault, the automation **automatically updates** to claim for the full balance.

• You can **stop the automation anytime**, which will unstake all compounded iBGT.

</details>

<details>

<summary>If Your Infrared Position Is Already in Your Brahma Account</summary>

Since your position is already in **Brahma**, you can skip unstaking and transferring and directly activate the automation.

**Step-by-Step Guide**

**1. Activate iBGT Automation**

• In **Brahma Console**, go to **Strategies > iBGT Automation**.

• Your **Infrared vault position** will appear under the **Vaults** tab.

• Click **Activate**, sign the transaction, and automation will begin.

**2. Sit Back & Earn**

• The automation will **claim and stake iBGT** at regular intervals.

• Additional token rewards (HONEY, WBERA) will be automatically harvested.

• If you deposit more LP into the vault, the automation **automatically updates** to claim for the full balance.

• You can **stop the automation anytime**, which will unstake all compounded iBGT.

</details>

### If You Don’t Have an Existing Infrared Position

{% embed url="<https://youtu.be/yccSRC2oIic>" %}

{% hint style="info" %}
TLDR:

* **Create a Brahma Account** ([console.brahma.fi](https://console.brahma.fi/))
* **Deposit liquidity & stake LP tokens** on Infrared.
* **Activate the automation** in your Brahma Account.
  {% endhint %}

#### **Step-by-Step Guide**

**1. Deposit into a Vault**

• Visit [Infrared Vaults](https://infrared.finance/vaults) and select a vault.

• Click **Mint** or follow the **protocol link** to the vault’s dApp.

• Connect your wallet via **WalletConnect**, copy the pairing code, and return to Brahma.

• Paste the code in the **Search Apps bar** and **deposit liquidity** into the vault.

**2. Stake LP Tokens on Infrared (Same process as above.)**

• Go to **Infrared** and select **Stake**.

• Choose your LP tokens and **connect to Infrared using WalletConnect**.

• Stake the tokens again to start earning iBGT rewards.

**3. Activate iBGT Automation**

• In **Brahma Console**, go to **Strategies > iBGT Automation**.

• Your Infrared vault position/s should now appear.

• Click **Activate**, sign the transaction, and the automation will begin managing rewards.

**4. Manage & Earn**

• **Automation claims & stakes iBGT** at your chosen frequency (default is 1 hour).

• **Manually deposit iBGT** from your Brahma Account for extra compounding.

• **Withdraw iBGT from individual automated vaults** anytime without stopping automation.

• **Stop anytime** to unstake all compounded iBGT.

## **Risks**

• The automation **only interacts with public claim/stake functions** on Infrared.

• Your **LP position remains in your self-custodial Brahma Account**.

• The automation **cannot move funds elsewhere**—it only executes claim and stake functions, and sends funds back to your Brahma Account.

• The **Automation Account is isolated from your main account**, limiting exposure.

• You can stop **or modify the automation anytime**.

## **Fees**

• **0.1% fee (10bps) applies to iBGT rewards auto-claimed**. No fees on other reward tokens.

• **Brahma covers all gas fees**, ensuring cost-free execution for users.

**Example:** If **30 iBGT** is claimed, the fee is **0.03 iBGT**, leaving **29.97 iBGT** in your balance.

## FAQ – Infrared iBGT Automation

{% hint style="info" %}

* **Can I use the automation for my Infrared position in Metamask or a similar wallet?**

  No, the automation only works when the position is in a **Brahma Account** (smart contract wallet). Brahma’s infrastructure enables **delegated onchain execution** using agents or bots that trigger transactions directly from your account. This level of automation isn’t possible with standard EOA wallets like Metamask.

* **Can I transfer an existing Infrared-staked position from my wallet to my Brahma Account?**

  No, **Infrared positions don’t issue a receipt token**, meaning they cannot be transferred directly. However, you can:

  1. **Unstake your position** on Infrared from your existing wallet.
  2. **Transfer the underlying LP tokens** (Berahub-BEX Vault, Kodiak, Dolomite, etc.) to your Brahma Account.
  3. **Re-stake** the LP tokens on Infrared using your Brahma Account.
  4. **Activate the automation** to start compounding iBGT rewards.

* **Why isn’t the automation claiming all my iBGT rewards?**
  * The automation **only claims iBGT earned after activation**. If you have iBGT in your Account already, you can also add them to the automation once started :arrow\_down: &#x20;
  * Once you start the automation, you can manually deposit iBGT from your Account to the Automation to compound them. Click on `Compound iBGT`&#x20;
  * If you have staked iBGT (siBGT) in your Brahma Account, the automation will automatically claim rewards for it to your Account too.

* **Why don’t I see the staked iBGT from automation in my Brahma Account?**

  Automations run through your **Brahma Automation Account**, a segregated SubAccount owned by your Brahma Account. This ensures:

  • Your **main Infrared LP position** remains in your **Brahma Account**.

  • Your **Brahma Automation Account** (SubAccount) executes:

  • **iBGT claims** from your LP position.

  • **iBGT staking** within the Automation Account.

  • **Transfers back other harvested rewards** (e.g., HONEY, WBERA) to your Brahma Account.

  This setup improves **security and risk isolation**, ensuring only **limited actions and tokens** have automation permission.

* **How can I verify that my iBGT rewards are being claimed?**

  1. In **Brahma Console**, scroll to the **Automations** section on the home screen.
  2. Click **Refresh Positions** if your position isn’t displaying.
  3. The top right will show your **Automation Account address**—click it.
  4. Use **Etherscan or Debank** to check the staked iBGT balance in your Automation Account.
  5. Additionally, in the history tab on Home you can see all the automation transactions which run

* **Does the automation compound iBGT rewards in real-time?**

  No, the automation **runs at scheduled intervals** based on your chosen frequency (default: every **1 hour**). This reduces gas costs and prevents unnecessary transactions.

* **Do I need to manually claim Infrared rewards after enabling automation?**

  No, automation **claims all rewards** for the Infrared Vault LP position it’s active on.

  However, if you:

  • **Had previously earned iBGT before activating automation**, it won’t be auto-compounded.

  • **Have another vault position that isn’t automated**, you will still need to manually claim rewards for that position.

* **What happens to my staked iBGT when I stop the automation?**

  When you **cancel the automation**, it will:

  1. **Harvest all remaining rewards**.
  2. **Unstake the staked iBGT** in your Automation Account.
  3. **Send everything back to your Brahma Account**.

  Your **Automation Account will be emptied**, making it ready for when you decide to restart automation.\
  **Note: You can also withdraw iBGT from specific vaults if you need them, without stopping automation.**

* **Can I modify or stop the automation at any time?**

  Yes, you can start/stop automation per vault, manually deposit iBGT, or withdraw iBGT from specific vaults anytime with a single signature.

* **Why do I still have to manually open the position for automation to run?**

  This first version of the automation **only handles claim and stake operations**. However, we are working on future updates to:

  ✅ Allow **direct migration of existing positions from external wallets**.

  ✅ Enable **full deposit automation**—you select an input token, and Brahma automatically handles LP staking and iBGT compounding.

  For now, users must **manually deposit and stake their LP tokens** before activating automation.

* **How often does the automation claim and stake iBGT?**

  The automation **runs based on the frequency you select** (default: **every 1 hour**). You can choose a different interval (e.g., **every 2 hours, 6 hours, etc.**) to optimize gas efficiency.

* **Is my LP position safe?**

  Yes. Your LP position **always remains in your Brahma Account**, which is a **self-custodial smart contract wallet controlled by you**.

  * The automation **only has permission to execute claim and stake functions** on Infrared.
  * It **cannot move funds anywhere else**—only **back to your Brahma Account**.

    This ensures **maximum security** while allowing automated compounding.

* **What happens if I deposit more LP into an active vault?**

  The automation **automatically adjusts** to manage your **updated LP balance**.

  ✅ It will **continue claiming and compounding rewards** for the full position without requiring manual restarts.

* **What is the cost of using the automation?**
  * A **0.1% fee (10bps) is applied** on the **iBGT amount auto-claimed**.
  * The fee isn’t applied to other reward tokens claimed like HONEY, WBERA etc, only to iBGT
  * **Brahma covers all gas fees**, ensuring **no additional transaction costs** for users.

    💡 **Example:**

    *If the automation **claims 30 iBGT**, the fee is **0.03 iBGT**, leaving **29.97 iBGT** in your balance.*

* **How can I get help if I have an issue?**

  If you need support, you can:

  🗨️ [**Join our Discord**](https://discord.com/invite/khXHEnvS6N) to ask questions and get real-time assistance.

  💬 **Use the Support chat bubble** in your **Brahma Account (bottom left corner)** to chat with our team directly.
  {% endhint %}

<details>

<summary>FAQ</summary>

<br>

</details>


---

# 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.brahma.fi/brahma-accounts/strategies-and-agents/automation-and-agents/infrared-ibgt-automation.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.
