# Decentralized Finance (DeFi)

The blockchain space has seen a lot of innovation since DeFi summer in 2020. However, public blockchain is still struggling with MEV (Miner Extractable Value) and de facto anyone swapping through AMMs are subject to front-running or sandwich attack. More than $611million was [collected in MEV since January 2020](https://explore.flashbots.net/).

### How Secret Solves MEV

These problems are solved with Secret by having an encrypted state and a validators set which know nothing about the transactions they are processing.

You will be able to use the standard DeFi primitives such as lending, borrowing and providing liquidity in pools without revealing your liquidation targets, your position size or your strategies as all your interactions are private.

### Future DeFi landscape on Secret

Let’s now talk about what could be built on Secret (or what’s being built).

We could have a private credit scoring enabling you to borrow more with less collateral or even without.

Borrowing stablecoins against your assets and providing liquidity on an AMM on Secret or on Cosmos chain through IBC smart contract call, all of that privately is opening the field of new revenue opportunities.

Secret could also enable DAOs treasury assets and farming positions to only be visible to the DAO community.

Shade Protocol is launching an algorithmic stablecoin (SILK) pegged to a basket of currencies and commodities for maximum volatility shock absorption.

> Learn more --> [What Is Shade Protocol?](https://medium.com/@shadeprotocoldevs/what-is-shade-protocol-efc1ef7aeabf)

### Dark Pools

Large investors are using dark pools in traditional finance for huge transactions. They are then subject to front-running from High-Frequency Trading firms. Private dark pools on Secret could lead to a massive amount of liquidity exchanged and finally provide foundations for the institutions and big players to enter the DeFi space with Secret.

> Source: [Pros and Cons of Dark Pools of Liquidity](https://www.investopedia.com/articles/investing/060915/pros-and-cons-dark-pools-liquidity.asp)

> More about DeFi dApp on Secret? - [Sienna Network](https://app.sienna.network/) - [Button Group](https://btn.group/secret_network/button_swap) - [Shade Protocol](https://shadeprotocol.io/)


---

# 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://docs.scrt.network/secret-network-documentation/overview-ecosystem-and-technology/secret-network-overview/use-cases/decentralized-finance-defi.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.
