A sophisticated Aptos blockchain frontend designed for seamless liquidity pool management and migration, featuring an intuitive dark-themed interface for crypto enthusiasts and developers.
- Create and manage liquidity pools on Aptos blockchain
- Migrate liquidity between pools
- Track transaction history
- Dark mode UI for better eye comfort
- Responsive design for all devices
- Frontend: React, TypeScript, Tailwind CSS, shadcn/ui
- Backend: Express, Node.js
- Database: PostgreSQL with Drizzle ORM
- Blockchain: Aptos with @aptos-labs/ts-sdk
The application requires the following environment variables:
# PostgreSQL Database
DATABASE_URL=your_postgresql_connection_string
# Aptos Configuration
APTOS_MODULE_ADDRESS=your_module_address
APTOS_MODULE_NAME=your_module_name
APTOS_NETWORK=devnet|testnet|mainnet
- Node.js 18+
- PostgreSQL database
- Clone the repository
- Install dependencies:
npm install - Set up environment variables in
.envfile - Build the application:
npm run build - Run database migrations:
npm run db:push - Start the server:
npm run start
This project is configured for easy deployment with Replit:
- Set up the required environment variables in Replit Secrets
- Click the "Deploy" button in the Replit interface
- The application will automatically build and deploy
The frontend communicates with an Aptos blockchain backend written in Move language. The contract handles:
- Creating liquidity pools
- Migrating liquidity between pools
- Managing token transactions
The contract address and module name must be configured in the environment variables.
- Connect your Aptos wallet
- Create a new liquidity pool or select an existing one
- Deposit or migrate liquidity
- View your transaction history