What is BeraSwap?
BeraSwap is the native decentralized exchange (DEX) protocol of Berachain, built as a fork of Balancer V2. BeraSwap enables trading between any combination of tokens through weighted and stable pools.
BeraSwap can be accessed on Berachain Mainnet here: https://docs.berachain.com/
How BeraSwap Works
BeraSwap uses an AMM model where traditional order book markets are replaced with liquidity pools. Users can create and provide liquidity to two types of pools:
- Weighted pools with up to 8 tokens and customizable weights
- Stable pools optimized for tokens of similar value
BeraSwap is run entirely within a single smart contract, making BeraSwap extremely efficient and lightweight. The design of BeraSwap is inspired by the innovations pioneered by Balancer.
Key Features
BeraSwap's architecture choices provide several core advantages:
- Accommodates traditional full-range liquidity pools (i.e., "Uniswap V2 style"), providing a simple and efficient trading experience
- Supports custom weights such as 80/20 for customized exposure
- Supports stable swap curves for trading pegged assets
- Unified vault architecture increases capital efficiency and gas costs