AqyntSwap is a feature-rich decentralized exchange (DEX) running on the Somnia Shannon Testnet. It provides a user-friendly interface for swapping tokens and managing liquidity pools.
- Token Swapping: Execute token swaps with real-time price updates. The interface is designed to be intuitive, showing you the approximate value you will receive in return.
- Liquidity Provision: Add your tokens to liquidity pools to facilitate trades and earn fees on the platform.
- Pool Management: View all available liquidity pools or just the ones you are participating in. Easily add more liquidity or remove your existing stake.
- Wallet Integration: Connects seamlessly with popular wallets like MetaMask and Rainbow Wallet through RainbowKit.
- Dark & Light Mode: A sleek interface with support for both dark and light themes to suit your preference.
This project is built with a modern, robust, and type-safe technology stack:
- Framework: Next.js (with App Router)
- Language: TypeScript
- UI Components: ShadCN UI
- Styling: Tailwind CSS
- Blockchain Interaction:
- Wallet Connection: RainbowKit for a polished wallet connection experience.
- State Management: Zustand for simple, scalable state management.
To get a local copy of AqyntSwap up and running, follow these simple steps.
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
The application will be available at
http://localhost:9002.
To interact with the DEX, you will need Somnia Test Tokens (WSTT) and other testnet ERC20 tokens. You can get these from the Somnia faucet. A "Faucet" link is conveniently located in the application's header.