Angle is a decentralized, capital efficient and over-collateralized stablecoin protocol. Get to know how it works under the hood!
Welcome to Angle Developers Guide ⚒️! The goal of this guide is to help developers understand how Angle protocol works under the hood and how to build on top of it.
In this documentation you'll find details about:
- The different smart contracts at stake in the Angle Protocol
- Tools you can use to easily build on Angle (SDK, API, ...)
Angle is a decentralized, capital efficient and over-collateralized stablecoin protocol composed of smart contracts running on open blockchains. The protocol was launched in November 2021 and you can start using it at app.angle.money.
It can be used to issue stablecoins, called agTokens, that are pegged to a specific value. This means that these tokens are designed to mirror the value of the asset they are pegged to.
Angle has started with agEUR, a Euro (EUR - €) stablecoin.
On top of its stablecoin product, Angle protocol also offers to its users ways to:
- Trade perpetual futures
- Earn yield from strategies
- Get leverage on a wide range of assets
Precisely speaking, the protocol consists of several different modules, or set of smart contracts, from which agTokens can be issued or minted. While Angle was launched with a single minting module (the Core module), a Borrowing module allowing to borrow Angle stablecoins against deposited collateral has been introduced.
The protocol is also engaged into Algorithmic Market Operations (AMOs) where agTokens are invested in protocols for Angle to get a yield on.
Angle Core module is deployed on Ethereum mainnet. It relies on three types of agents that form a balanced ecosystem maintaining agTokens' peg (or stability). These agents are users minting and burning the stablecoins, Hedging Agents covering the protocol collateral from price changes, and Standard Liquidity Providers helping to over-collateralize the protocol in exchange for yield.
Angle Borrowing module is deployed on multiple EVM compatible networks, including Ethereum mainnet, sidechains like Polygon and layer 2s like Optimism. It allows users to deposit collateral and borrow agTokens (debt) against this collateral. It is designed to enable getting leverage on almost any asset through an agToken loan, or to simply let people get access to stablecoins while keeping their exposure to a volatile asset or to a yield-bearing token.
- All operations are designed to be capital efficient
- The borrowing experience is optimized with notably an improved liquidation engine which allows liquidated addresses to face minimal losses compared with what they can experience in more traditional models.
This developers guide is maintained by Angle Labs Inc., a company which, among other things, contributes to the Angle Protocol.