# Bonsai

The Unified DeFi Layer

**Overview**

[Bonsai Finance](/) streamlines the DeFi experience, offering seamless one-click and gasless transactions.&#x20;

Utilizing the innovative approach of account abstraction, we seamlessly integrate premier DeFi DApps to facilitate automated, optimized strategies, making sophisticated financial operations accessible to all users with ease and efficiency.

**The Problem**

Navigating the DeFi landscape presents a complex challenge, both for newcomers and seasoned users alike. The current ecosystem demands constant vigilance in managing diverse positions across various platforms, the tedious task of switching blockchains, and the utmost care in safeguarding seed phrases that often extend to 12 or 24 words. The sheer volume of information to remember, coupled with the intricacies of engaging with new protocols for yield generation, can be daunting. This multifaceted environment, while rich in opportunity, often leads to an overwhelming experience, heightening the risk of missteps that could result in the loss of funds.

**What we are building**

\
At Bonsai, we are revolutionizing the DeFi interface by introducing login capabilities via email, a step away from traditional wallet connections. This innovation is made possible by account abstraction, enhancing security and simplifying user experience. With Bonsai, entering the DeFi space is as straightforward as logging in with an email, bolstered by two-factor authentication. Engage effortlessly with a variety of DeFi vaults and investments through a single action.

Moreover, Bonsai enables the automation of trades and investments. For instance, users can set up strategies to swap USDC for ETH when the price hits a specific threshold, or sell ETH at higher price points, and then reinvest the proceeds in platforms like AAVE to earn a consistent APY. This automation leverages [**Session Keys**](https://thegraph.com/blog/account-abstraction-explained/), granting users the flexibility to authorize transactions and manage their financial strategies efficiently, with the option to revoke permissions as needed, ensuring security and control.

**Pay Gas Fees with USDC or ERC-20 Tokens on Bonsai**

Bonsai, operating on the Optimism network, takes advantage of reduced gas fees. This innovative approach allows users to avoid holding ETH in their Bonsai wallets. Thanks to account abstraction, gas fees can be conveniently paid using USDC or other ERC-20 tokens, streamlining transactions and enhancing user experience.

<br>


# DeFi strategies

Our initial DeFi integrations include **AAVE** and our proprietary **Swap aggregator**. We are actively exploring other protocols with strong liquidity and robust code audits to add to Bonsai Finance.

Utilizing these tools, you can effortlessly dollar-cost average and automate transactions. For example, swap ETH for USDC using our aggregator and join the AAVE pool for yield generation, all with a single click.


# Batched Transactions

We are streamlining the user experience with batch transactions, ensuring a seamless DeFi journey. This is enabled by the capabilities of smart contract wallets. With Bonsai, approving and swapping in a single transaction is just a click away. Moreover, transactions are executed in full or reversed entirely, enhancing safety and efficiency.

```json
  {
    target: "targetAddress1",
    data: "callData1",
    value: value1,
  },
  {
    target: "targetAddress2",
    data: "callData2",
    value: value2,
  },
```


# Supported Networks

Currently, Bonsai is exclusively developed on the Optimism network, with plans to expand to other EVM-compatible networks where it's practical. Our focus on a single network allows us to closely monitor use cases and establish strong DeFi integrations.&#x20;

We look forward to adding more networks following our beta launch.

<br>


# Automated DCA

Account abstraction allows for more complex logic to be executed within a single transaction. This means with Bonsai, you can set up Dollar-Cost Averaging (DCA) strategies directly within your wallet.

&#x20;Through smart contract logic, you can predefine the conditions under which purchases are made, such as the amount and frequency, without the need for manual execution each time. This automated process is executed by the wallet's smart contract, which can sign transactions on behalf of the user, leveraging the flexibility and programmability that account abstraction provides.


# Deposit into Bonsai

We are exploring various solutions like Coinbase Pay for easy onboarding, streamlining the top-up and withdrawal process on Bonsai. Additionally, direct deposits are a breeze with our '**Top-Up with Metamask**' feature – simply enter the amount, click the button, and it seamlessly connects Bonsai to your Metamask, facilitating fund transfers to your account.


