Brahma Builder Kit

Introduction

The Brahma Builder Kit is a comprehensive framework that enables secure automation and delegation of digital asset management. It allows users to create automated workflows while maintaining granular control through a policy-driven architecture. By separating funds into Sub-Accounts and managing access through precise executor permissions, the system enables both security and efficiency in automated operations

  • Your account delegates funds to Automation Sub-Accounts for streamlined management

  • Executors receive privileged access to perform automated tasks

  • Sub-Account policies govern executor actions and ensure secure fund management

The which enables:

  • Fast and reliable automated operations through secure delegation, ensuring critical tasks execute seamlessly

  • Safe programmatic access to funds, allowing users to build custom automations while maintaining robust security controls through policy enforcement

Examples & Use-Cases

Here's what you can build with the Brahma Builder Kit's secure automation framework

Abstracted Lending Account

What: Monitors lending markets (AAVE, Morpho, Fluid, Euler) for liquid pairs, tracking Borrow APY, Deposit APY, and LTV to create a programmatic abstracted lending account. The automation identifies the cheapest and highest LTV market based on user's risk appetite and manages asset movement between these markets.

Why: With multiple markets offering the same assets, it's challenging to manage and automate positions across platforms while optimizing yields at scale.

How: Maintains a service that indexes on-chain rates. Using Builder Kit, an executor can rebalance between pools based on highest-yielding assets without having the user to interfer.

Rekt SAFU Account

What: Monitors user-participating pools across any smart contract on any chain. In the event of an active exploit, the account automatically withdraws from the pool using predefined slippage parameters with multiple retry attempts.

Why: Due to frequent on-chain attacks, users often lack the opportunity to withdraw funds during security incidents. This ensures asset safety during hacks or attacks.

How: Utilizes APIs from providers like FORTA and Hyperactive to monitor on-chain pools. During a hack/attack, the executor attempts fund withdrawal with specified slippage and retry parameters.

Leverage Management Account

What: Creates a programmatic account to manage multiple leverage positions across money markets including AAVE, Morpho, Euler, and Fluid.

Why: Large price movements and volatility can expose assets to liquidation risks. This account helps prevent liquidations and minimize losses.

How: Maintains a service monitoring Health Factor and rebalances between markets. Can integrate with CEX APIs (Binance, Bybit, etc.) to facilitate withdrawals during on-chain liquidity crunches.

AI Trading Account

What: Implements autonomous trading based on AI analysis of social signals (Twitter/X) and market data, combining social sentiment with AI-driven execution.

Why: Enables automated trading strategies based on both social signals and AI analysis, catering to users seeking algorithmic trading solutions and social sentiment-based execution.

How: Utilizes AI models to analyze social signals and market trends for generating trading insights, while implementing protective policies to manage risk

Account Recovery System

What: Implements an automated recovery mechanism that transfers funds to a designated EOA if the account becomes inactive for a specified period.

Why: Protects against lost access scenarios (lost keys, forgotten credentials) by ensuring funds can be recovered through a predetermined backup mechanism.

How: Monitors account inactivity periods and automatically triggers fund transfers to pre-configured recovery addresses when thresholds are met, with customizable timeframes and recovery parameters.

Last updated