Brahma Docs
Access Console
  • Brahma Overview
  • Brahma Accounts
    • Key benefits
    • Which Account Version Is Right for You?
    • Understanding the dashboard
    • Brahma
      • Onboarding to Brahma
      • In-App Features
        • Swapping
        • Bridging
        • Lending
      • Multichain
      • Transacting in Brahma
        • Transaction Builder
        • Smart Execution
      • Connecting to Onchain Applications
        • Brahma Connect
        • Wallet Connect
      • Portfolio Management
        • Unified History
        • Positions
    • Brahma Pro
      • Converting your account to Pro
      • Onboarding to Brahma Pro
      • In-App Features
        • Swapping
        • Bridging
        • Lending
      • Multichain
      • Transacting in Brahma pro
        • Transaction Builder
        • Smart Execution
      • Connecting to Onchain Applications
        • Brahma Connect
        • Wallet Connect
      • Portfolio Management
        • Unified History
        • Positions
      • Team Management & Access Control
        • Inviting Operator & Role Management
        • Sub-Accounts
        • Policies
          • Types of Policies
      • Custom Transaction Builder
    • Brahma | Strategies
      • Automations
        • TWAP | DCA Automation
        • Morpho Yield Optimizer
        • Infrared iBGT Automation
        • BGT Automation
        • Berabaddies AutoBGT
      • Templates
        • Morpho Earn
  • Brahma ConsoleKit
    • API Reference
  • Rewards
    • Brahma Rewards
      • Brahma Imprint NFT
      • Karma & Levels | SNAPSHOTED
  • Brahma Agents | Built with Console kit
    • Surge & Purge Agent
    • 🦋Morpho Agent
  • FAQs
    • Brahma Imprint NFT | FAQs
    • Brahma & Brahma Pro FAQs
    • Brahma Connect FAQs
  • Others
    • Security Audits
    • Pricing & Fees
    • Risks
      • Counterparty Risk
      • Other Risks
    • Error Codes
  • Change log
  • Github
  • Discord
  • Press Kit
  • Developer
    • Deployed Contracts: Console
    • Brahma Console Integration [for dApp developers]
Powered by GitBook
On this page
  1. Brahma Accounts
  2. Brahma | Strategies

Templates

PreviousBerabaddies AutoBGTNextMorpho Earn

Last updated 3 months ago

Templates in Brahma allow you to perform complex multi-step actions in a single transaction, saving time, signatures, and gas fees. These pre-built strategies are designed to streamline your onchain interactions, offering a quick and secure way to access various DeFi opportunities.

How Templates Work

Templates are designed to let you execute multiple steps within a single transaction, whether you’re entering a position, lending assets, or interacting with protocols. Instead of manually approving each step, you can customise certain parameters—like token amounts and assets—directly from the Brahma UI and execute the entire sequence in one go.

  • Time-Saving: Templates eliminate the need to interact with multiple app frontends or sign separate transactions for each step. You complete the process in a single, efficient action.

  • Security: All actions performed through templates interact directly with the smart contracts of the underlying protocols, bypassing the need to rely on external app frontends. This ensures a higher level of security and reduces the chances of frontend vulnerabilities or risks.

Cross-Chain Expansion

Currently, templates are chain-specific, meaning they only work on a single specific chain. However, cross-chain templates are coming soon. These will allow you to not only execute actions across different chains but also seamlessly bridge assets between them within the same transaction. This will further enhance the flexibility of your DeFi strategies and streamline multi-chain interactions.

Built by Brahma, Expandable by Developers

Templates have been carefully crafted by the Brahma team, with the goal of simplifying access to DeFi opportunities. Now, we’re expanding that capability: protocols and developers can directly integrate with Brahma through the Brahma Builder Kit. This allows external protocols to create their own templates, bringing more onchain opportunities directly to users and reducing friction when interacting with multiple apps.

Why Use Templates?

  • One-Click Access to DeFi Opportunities: Instantly allocate funds or manage positions in a single transaction. No need to manually navigate between apps or sign multiple steps.

  • Customisation: While templates come pre-configured, you have the flexibility to adjust parameters like the assets you want to use, how much you want to allocate, and more.

  • Seamless Integration: Templates connect directly to protocol contracts, ensuring your transactions are executed efficiently and securely without relying on frontend interfaces.

Template Usage

Template operations are subject to a 0.15% fee. This fee structure supports the advanced automation and security features provided by Brahma's template system. The fee is applied to the total transaction value executed through the template.