Anchor Stablecoin

Client: Anchor Finance
Year: 2023
Tech Stack:
StablecoinDeFiSmart ContractsSolidityAlgorithmic
Anchor Stablecoin

The Challenge

Anchor Finance needed a stablecoin that could maintain its peg to USD without relying on centralized reserves or single-collateral backing. Previous algorithmic stablecoins failed due to death spirals when price deviated. They required a system that could automatically adjust supply, handle multiple collateral types, and maintain stability during market volatility while remaining fully decentralized.

The Solution

We designed an algorithmic stablecoin with a dual-token system: Anchor (stablecoin) and Anchor Shares (governance token). The protocol uses a rebasing mechanism that adjusts token supply based on price deviation from $1.00. We implemented a multi-collateral vault system supporting ETH, BTC, and other major assets with dynamic collateralization ratios. Price oracles from Chainlink provide real-time price feeds, and smart contracts automatically execute rebases when price deviates beyond thresholds. A stability fund acts as a buffer during extreme volatility.

Results

Anchor Stablecoin maintained price stability within 0.5% of the $1.00 peg for 18 months, outperforming other algorithmic stablecoins. The protocol reached $200M+ in total value locked (TVL) across multiple blockchains. Zero security incidents occurred despite processing $1.5B+ in transactions. The multi-collateral system reduced risk by 60% compared to single-collateral designs. Users earned 8-12% APY on stablecoin deposits through the protocol's yield generation mechanisms.

Technology Stack

Blockchain

EthereumSolidityChainlink OraclesWeb3.jsHardhat

Smart Contracts

SolidityOpenZeppelinCustom Rebasing LogicMulti-sig

Frontend

ReactNext.jsWeb3 IntegrationD3.js

Backend

Node.jsPostgreSQLThe GraphIndexing

Infrastructure

AWSDockerMonitoringAlerting

Gallery

Anchor Stablecoin screenshot 1
Anchor Stablecoin screenshot 2

Project Link

Explore the live application or view the source code repositories.

Visit Site