Skip to content

zenith-protocols/orbit-swap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

markdown# Orbit Swap

Orbit Swap is a decentralized exchange (DEX) built on the Stellar blockchain using Soroban smart contracts. It implements concentrated liquidity positions similar to Uniswap v3, allowing liquidity providers to allocate their assets more efficiently within customized price ranges.

Features

  • Concentrated Liquidity Pools: Create and manage liquidity positions in specific price ranges for maximum capital efficiency
  • Multiple Fee Tiers: Pools support different fee levels (0.01%, 0.05%, 0.3%) optimized for various trading pairs these are currently not used
  • Hooks: Not fully working but a basis for hook implementations as seen in Uniswap v4
  • Interactive UI: Visualize liquidity distributions and manage positions through an intuitive interface
  • Wallet Integration: Seamless connection with Stellar wallets (Freighter, xBull, Lobstr, etc.)
  • Real-time Price Charts: Monitor price movements and liquidity concentrations

Technology Stack

  • Frontend: Next.js with React, TailwindCSS, Recharts for visualizations
  • Smart Contracts: Soroban (Stellar's smart contract platform) written in Rust
  • Wallet Integration: Stellar Wallets Kit for connecting to various Stellar wallets

How It Works

Orbit Swap enables users to:

  1. Browse Pools: View existing liquidity pools with key metrics like TVL, volume, and current prices
  2. Add Liquidity: Deposit tokens into customized price ranges to earn trading fees
  3. Swap Tokens: Exchange tokens with optimized routing and minimal slippage
  4. Track Positions: Monitor the performance of liquidity positions

The concentrated liquidity model allows providers to allocate capital within specific price ranges, potentially generating higher returns from trading fees compared to traditional AMMs.

Project Structure

The repository contains both the Soroban smart contracts (written in Rust) and the frontend application (built with Next.js). The contracts handle the core DEX functionality, while the React frontend provides an intuitive interface for interacting with the protocol.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages