logo academy

Algorithmic stablecoins: the race for stable and decentralised cryptos

October 21, 2021

8 min

Algorithmic stablecoins: the race for stable and decentralised cryptos
Intermediate

Stablecoins are a possible solution to cryptocurrency volatility: they exist in various forms, including algorithmic ones. Unlike ‘classic’ stablecoins, the price of algorithmic ones should remain stable even without reserves.

Algorithmic stablecoins, therefore, aim to break free from centralised systems and collateral issues. We delve into how algorithmic stablecoins work, the unresolved issues and their potential.

Stablecoins: what are they?

Stablecoins are cryptocurrencies whose purpose is to have a stable, ‘pegged’ price and thus similar to that of fiat currencies.

These cryptos were born with the aim of solving the problem of volatility, making them not only a unit of account but also a widespread medium of exchange. Thus, they reflect all the requirements of a traditional currency but with the incredible potential provided by blockchain technology.

There are stablecoins that are collateralised by fiat currencies or even cryptocurrencies, i.e. based on reserves of currencies in a 1:1 ratio with the tokens issued, thus securing, when effective, the value of each unit of the stablecoin.

Centralised stablecoins, such as USDC and USDT, are collateralised by traditional assets, such as fiat currencies. However, the transparency of the reserves, i.e. the possibility to know their composition, has not always been absolute. Moreover, the assets that make up these reserves are not 100% liquid cash, which would ensure a true 1:1 correspondence between tokens and fiat units. In fact, bonds and other securities are often also held as reserves, assets that are inherently less liquid than cash. Finally, centralised stablecoins are directly dependent on centralised systems, i.e. banks and governments, which control the fiat currencies and other assets that make up the reserves.

Decentralised stablecoins, on the other hand, are collateralised almost exclusively by cryptocurrencies, such as Bitcoin and Ethereum. These stablecoins, although volatile, are liquid and transparent, as they are easily exchanged and verified by the blockchain’s immutable ledger. DAI is the most common example for this type of stablecoin.

Finally, there is also a third type of stablecoin, algorithmic stablecoins: let’s discover their characteristics in a general sense and analyse the unfortunately unsuccessful example of TerraUSD (UST) to understand the difficulty of creating a code guaranteeing ‘stability’.

Since 30 June 2024, the MiCA regulation has entered into force in Europe, making the situation on stablecoins thorny to say the least. The regulation defines this type of ‘crypto assets’ as being ‘unpacked’ into two different categories: ART tokens (Asset-Referenced Token) and EMT tokens (E-money Token), which are required to be backed by liquid reserves in a 1:1 ratio.Therefore, as far as Europe is concerned, algorithmic stablecoins are non-compliant with regulations and thus cannot be bought, sold and held on centralised exchanges in the Union. In any case, it is important to know about them to have a complete overview of the global landscape of this type of crypto.

How algorithmic stablecoins work: the TerraUSD (UST) case

Algorithmic stablecoins are not backed by any reserves: their peg is in fact maintained solely by an algorithm.

This code manages the supply and demand of the currency, usually the US dollar, to keep its price pegged to it.Usually, to achieve this peg and thus preserve the price, the algorithm issues more stablecoins when the corresponding price rises too high, buyingthemback instead when the price falls below the unit value (usually $1).

Usually in order to achieve this peg, and thus preserve the price, the algorithm causes more stablecoins to be issued when the corresponding price increases excessively, buying them back instead when the price falls below the unit value ($1, usually).

This mechanism is similar to seigniorage, the practice of central banks creating or destroying currency to regulate its supply or value: in practice, algorithms influence the price of stablecoin by managing its scarcity. Moreover, because they are pure code and rules, the functioning of these currencies can be modified according to community proposals, through decentralised governance, putting seigniorage in the hands of all those who use the currency and not the banks.

Such an algorithm seems to be the perfect solution to decentralise a stablecoin and make it independent of underlying reserves or volatility. Events have also shown that further study and testing will be required to create truly invulnerable mechanisms. The stablecoin of the Terra project (TerraUSD, UST) failed in its quest for stability, despite being among the most capitalised projects on the crypto market.

In short, the price of UST was influenced by the supply of its ‘sister’ cryptocurrency LUNA: when the stablecoin exceeded the price of $1, the protocol would convert $1 of LUNA into 1 UST, so as to increase the availability of the stablecoin and thus decrease its value. What matters most to us, however, is the opposite case: when the price of the stablecoin fell below the dollar threshold, the algorithm would sell 1 UST for 1$ of LUNA, in order to create scarcity and recover the value of $1.

terrausd

This, however, triggered a crisis in May 2022. UST lost its peg to the dollar and the ‘depeg‘ caused a terrible chain reaction. The algorithm, trying to support the price of UST, dramatically increased the supply of LUNA causing its price to collapse. The algorithm also failed to recover the dollar peg of the stablecoin, which in turn lost value.

This crisis reminds us that Decentralised Finance (DeFi) is a nascent field and therefore is still developing technological reality: science advances thanks to mistakes, and making mistakes is allowed if it leads to success. Indeed, research has not been abandoned in the face of this defeat and new projects are now being outlined and developed.

The future and challenges of algorithmic stablecoins

The failure of the Terra ecosystem has caused many losses in the crypto world and allegedly also contributed to its non-compliance with European regulations. The collapse of the price of the stablecoin UST and the cryptocurrency LUNA has wiped out the value of immense capital and drained the liquidity of other directly or indirectly related projects (e.g., Celsius, Three Arrow Capital).

What was the real cause of the disaster? There is no single culprit: we should rather ask ‘what’ went wrong and not ‘who’ was responsible (with whom many have associated the name of Do Kwon, the creator of Terra-LUNA). Thus, after the storm subsided and the damage was assessed, the detractors of cryptocurrencies aired their doubts. Blockchain and algorithms would, in their opinion, be inadequate to create a stable economy. Although, as we have said, there is still plenty of room for improvement in the mechanisms of cryptocurrencies and stablecoins. The origin of the chaos revolving TerraUSD there would be another concept: collateralisation, i.e. the aforementioned use of stores of value to support the price of a currency.

Algorithmic stablecoins are not supposed to have collateral: they create and destroy coins to keep their price stable (pegged to the dollar). So was it collateralisation that ruined UST? According to this Financial Times‘s article, it would seem so: the cryptocurrency LUNA would have acted as ‘endogenous collateral’, because it was created by the Terra project itself, whose price collapse triggered the so-called ‘death spiral‘. In a nutshell, TerraUSD would have failed because its scarcity was not purely algorithmic, but dependent on LUNA’s volatility, as events proved.

Thus, the real reason for the collapse was the design of the collateralisation, not the algorithm itself, nor the blockchain technology in a more general sense; this is the key aspect that legislators should consider in order to prevent similar cases in the future. Banning blockchain and algorithms altogether is not the solution, as it would mean preventing technological evolution.

The innovations of Web 3 and DeFi must be embraced, understood, but above all guided by appropriate laws. In general. stablecoins should comply with collateralisation requirements, according to liquidity parameters for instance, and their reserves should be transparent and subject to regular checks (audits). Algorithmic stablecoins, on the other hand, would have to substitute collateral with equally valid mechanisms, among other things eliminating the need to trust collateral reserves, thanks to the impartiality of the codes. 

These guidelines would give further impetus to the cryptoeconomy by stimulating mass adoption: participants in the decentralised cryptocurrency economy would finally be reassured by clear rules and protected from the recurrence of similar crises. 

Related