🌴
Babylon.finance
  • Getting Started
    • Introduction
    • Terminology
    • User Guides
      • 1. Funding a Web3 Wallet:
      • 2. Joining a Garden:
      • 3. Creating a Garden:
      • 4. Growing Your Garden:
      • 5. Buying BABL Tokens:
      • 6. Staking BABL Tokens:
      • 7. Bonding ETH/BABL:
    • 📹Video Guides
      • Deposit into a Garden
      • Creating a strategy
    • FAQ
      • Supported Software and Devices
    • Links
      • Media Appearances
      • Press Releases
      • Research Threads / Articles
  • Protocol
    • Litepaper
      • Participants
    • Gas Optimizations
      • 🪄Gasless Deposits
    • Integrations
    • Roadmap
  • 🖥️Developers
    • Building on Babylon
    • 🛠️Custom Integrations
    • Smart Contract API
      • BabController
      • Garden
      • Strategy
      • Custom Integrations
    • Error codes
    • Deployments
  • BABL
    • Tokenomics
    • 🫀 Heart
      • Heart Bonds
    • BABL Mining Program
    • Governance
      • Babylon Governor
      • Proposals
  • Prophets
    • 🛡️ 2592 Prophets
    • The Prophets Arrival (Concluded)
      • Great Prophets Auction
  • Security
    • Security
    • Risks
Powered by GitBook
On this page
  • Why build on Babylon?
  • Built-in Features
  • What can you build?
  • Testnets
  • Smart Contracts
  • How to get started

Was this helpful?

  1. Developers

Building on Babylon

PreviousRoadmapNextCustom Integrations

Last updated 3 years ago

Was this helpful?

Why build on Babylon?

Babylon provides a new DeFi lego building block for developers: Babylon Gardens.

Babylon Gardens are the first DeFi Investment DAO primitive (ERC-20).

See our workshop video in HackMoney 2022 to learn how to get started.

Gardens are tokenized investment clubs/DAOs where users can deposit digital assets and receive a tokenized share (ERC-20) representing their ownership.

Developers can build on top of Babylon Gardens and benefit from all the following built-in features.

You can read more in our medium announcement here

Built-in Features

  • Garden ERC-20 tokens are fully composable and transferrable.

  • Gardens are non-custodial and trust minimized. Only users have access to their funds. Capital can only be allocated to strategies approved by the club.

  • Gardens also provide an NFT Membership token (ERC-721). Members of a garden that meet selected requirements can mint their NFT.

  • Built-in light governance system with signature-based voting. Gas-free.

  • DeFi execution costs are automatically shared between all members of a Garden, increasing the capital efficiency.

  • Smart capital allocation between strategies based on current gas costs and settings.

  • Garden UI where users & managers can deposit/withdraw and monitor the performance of their investment club.

What can you build?

The design space is unlimited. You can connect the gardens with the rest of DeFi and web3 in many different ways.

For example:

  • Automatically create and deploy strategies to react to events and market conditions. You can execute and trigger strategies directly from your smart contracts.

Gardens and strategies can be created on-chain directly from your smart contracts in a response to an event or directly through our user interface. Check the section below to learn more about the API.

Testnets

Babylon Finance integrates with +15 DeFi protocols. Therefore creating a full-working deployment on testnests like Kovan or Ropsten is really cumbersome and prone to errors.

Hardhat lets you clone Ethereum Mainnet and run the clone on your local machine and then you can deploy contracts on top of your cllone.

That way you can build on top of mainnet with all its functionality and DeFi protocols with Ease.

Smart Contracts

You can view all the information required in our API docs.

You can see their deployment addresses on the deployments page:

Do you want to connect Babylon to another DeFi protocol that is not supported? Now you can build a custom integration and potentially receive bounties.

How to get started

Here are the steps we recommend to get started.

  1. Once the garden is created, you have your own fully composable tokenized investment DAO as an ERC-20.

No-hassle and No code UI to create strategies and deploy capital to including Aave, Compound, Uniswap, Curve, and Convex.

You can read more on our .

Create an investment club to invest with your friends through a Babylon garden. This was the original usecase that prompted us to start Babylon. You can learn more about our origin story .

You can use a garden as a way to generate an index of different DeFi opportunities. For example, here is a Garden that gives exposure .

You can use a garden to simplify access to DeFi opportunities across different protocols. For example, the ⛲ generates yield on ETH by taking advantage of staking opportunities across different protocols.

You can use a garden to create a supercharged staking mechanic for any ERC-20 token. You can see more information . We use a garden to create a staking mechanic for BABL itself, 🫀.

Instead of using Ethereum testnets like Ropsten or Kovab, Babylon Finance uses chain for testing and local development.

You can create an investment club by calling createGarden on the or using our UI at .

You can compose gardens and their strategies with the rest of #DeFi. Check the and APIs to see the functions available.

If you want to connect Babylon to a different protocol, please follow the .

If you have any trouble, please head to the and we'll do our best to help.

🖥️
+15 DeFi protocols
managers page
here
to many different Pickle Jars at once
Fountain of ETH
here
see the Heart
Hardhat
Smart Contract API
Deployments
🛠️Custom Integrations
Babylon Controller
https://babylon.finance/explore
Garden
Strategy
custom integration guide
development channel in our Discord
🌴
🛠 Babylon on-chain SDKMedium
Logo