Welcome to Pegasys Docs
What is Pegasys
Learn about the core concepts of the Pegasys Protocol, Swaps, Pools, Concentrated Liquidity and more.
Integrate with Pegasys
Learn how to integrate with Pegasys by building a dApp through guided examples.
The Pegasys smart contracts
Learn about the architecture of the Pegasys Protocol smart contracts through guided examples.
Integrate your dApp
Explore these guided tutorials to get started integrating with Pegasys in your dApp.
Fetch token prices
Fetch the price of tokens in a specific Pool
Create a Trade
Fetch a Quote for a Trade and execute the Trade
Route trades
Use Routing to get optimized prices for your Trades
Provide liquidity
Contribute to a Pool's liquidity by using tokens to earn fees
UI Component
Integrate with the Swap Widget, a React component that works out of the box
Integrate your smart contracts
Explore these guided tutorials to get started integrating with Pegasys in your smart contracts.
Setup your environment
Prepare your local environment by installing the required dependencies
Implement a Swap
Start swapping from a smart contract in Solidity
Provide Liquidity
Provide liquidity from a smart contract in Solidity
Mine Liquidity
Start Mining liquidity from a smart contract in Solidity
Implement Flash Swaps
Implement Flash Swaps from a smart contract in Solidity