# Money Legos

One of the most exciting applications of DeFi is a phenomenon known as composability, or in Web3 parlance, “money legos”.&#x20;

DeFi protocols run using open-sourced software, which means that any of the apps listed above can be easily programmed to interact with others.  As such, you can think of each individual app as a “lego brick” that can be combined with others in an infinite number of ways to create more complex and innovative financial products. &#x20;

One example of the benefits of composability can be seen in the creation of Yearn Finance.&#x20;

Yearn began as a passion project.  The original program was designed by Andre Cronje to automate the process of identifying the lenders (e.g. Aave, Compound) with the highest returns and moving his tokens to them.&#x20;

Other users noticed his success and began to contribute funds and join him, and the project soon expanded to liquidity mining on AMMs such as Curve and Balancer.&#x20;

Eventually, this developed into more complicated, actively managed strategies known as vaults.  One of the more popular vaults – known as Yearn ETH – uses Ethereum to create Dai, then uses the Dai to invest in Curve’s Y pool, which provides interest and rewards in the form of the CRV token, which are then staked to Curve Gauge to earn even more interest and rewards. &#x20;

While the strategy eventually petered out and shut down, at one point it was earning users a 60% annual yield on ETH!

<figure><img src="/files/jy42wj5KxAb57k7MNRTe" alt=""><figcaption></figcaption></figure>

Oh, along the way Yearn also issued a token which increased to over $3B in market cap within its first year…

So Andre basically created a multi-billion dollar crypto-hedge fund without needing to register with any authorities all because he could freely access and move tokens between other protocols.

And that’s the great thing about DeFi and about composability in particular – innovation is practically unlimited as it’s no longer constrained by the imagination of a few select individuals locked deep within the bowels of the banking system.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.digitalnations.xyz/web3-overview/the-web3-ecosystem/defi/whats-new-in-defi/money-legos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
