Templates
Last updated
Last updated
Templates in Console 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.
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 Console 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.
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.
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 Console 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.
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.