A next-generation token launchpad platform built with React, TypeScript, and Vite. LiquidLaunch combines Dynamic wallet integration for secure authentication, Uniswap V4 hooks for token listings, and the Uniswap Widget for seamless token swapping.
LiquidLaunch is an innovative token launchpad designed to make the onboarding experience into cryptocurrency seamless and user-friendly. The platform integrates cutting-edge Web3 technologies, such as Uniswap V4 Hooks, the Uniswap Swap Widget, and Dynamic.xyz, to create a cohesive ecosystem for token launches and trading.
Key Features and Technologies:
Authentication and Profile Management (Dynamic.xyz) LiquidLaunch uses Dynamic.xyz for secure user authentication and profile creation. Multi-wallet support allows users to manage accounts flexibly, ensuring secure and straightforward access to the platform.
Token Launchpad with Uniswap V4 Hooks The platform leverages Uniswap V4 Hooks to implement a multi-stage token sale model. Each campaign can define custom price curves, enabling unique pricing strategies for each round of the token sale. Hooks ensure a highly customizable and efficient launch mechanism while maintaining compatibility with Uniswap liquidity pools.
Integrated Swapping via Uniswap Widget Users can directly swap tokens within the LiquidLaunch interface using the Uniswap Swap Widget. This eliminates the need to navigate to external exchanges, making the process intuitive for first-time crypto users.
Seamless User Flow From account creation to participating in a token sale and trading tokens post-launch, LiquidLaunch ensures a frictionless experience. The platform is designed with simplicity in mind, catering to both crypto-savvy users and complete newcomers.
Why LiquidLaunch?
Problem Addressed: Entering the cryptocurrency space can be overwhelming, especially for first-time users. Complex interfaces, multiple platforms, and a lack of user-friendly tools create barriers to adoption.
Solution Offered: LiquidLaunch combines powerful tools to provide a single, integrated platform for token sales and trading, streamlining the process and reducing friction for users. The use of Uniswap V4 Hooks adds flexibility for project teams, while the Uniswap Widget and Dynamic.xyz ensure an intuitive experience for users.
Outcomes and Future Potential: A prototype showcasing a complete user journey: account creation, token sale participation, and seamless trading. Detailed exploration of Uniswap V4 Hooks to implement more advanced pricing curves post-hackathon. A platform ready to onboard new crypto users, reducing the steep learning curve associated with decentralized finance (DeFi). LiquidLaunch: Your gateway to the crypto world, made simple.
LiquidLaunch is built as a modular platform using a combination of cutting-edge Web3 technologies and developer-friendly frameworks. The project integrates Uniswap V4 Hooks, Dynamic.xyz, and the Uniswap Swap Widget to create a seamless user experience. Each component plays a critical role in delivering a secure, efficient, and user-friendly token launch and trading process.
Technologies and Architecture
Frontend: Framework: React.js The frontend was built with React.js to provide a dynamic and responsive user interface. It acts as the gateway for users, enabling them to interact with the platform seamlessly.
Uniswap Swap Widget Integration: The widget is embedded within the frontend to allow users to perform token swaps directly within the application. Configuration involved setting up supported tokens and connecting it to the Ethereum mainnet for real-time trading.
Backend and Smart Contracts: Uniswap V4 Hooks: Built custom hooks such as CustomPriceHook and WhiteListHook. The CustomPriceHook defines flexible pricing curves using the PRICE_MULTIPLIER constant, tested for scenarios with varying price models.
The WhiteListHook implements address-based access control for token swaps, ensuring only whitelisted addresses can participate during specific token sale stages.
CampaignModel_01 Contract: Acts as the backbone for multi-stage token sale campaigns. Features custom pricing per round, inherited by Uniswap V4 hooks for advanced functionality. Modular design ensures compatibility with future extensions or hook upgrades.
Testing: Unit testing was conducted using Foundry, with key scripts under /test directories. Each contract underwent rigorous testing for edge cases to ensure robustness during the hackathon.
Authentication and User Management: Dynamic.xyz: Used for managing secure authentication and user profiles. Simplified onboarding with multi-wallet support and a customizable interface for user profiles. Reduced development overhead by outsourcing complex authentication processes, enabling us to focus on the core functionalities of the launchpad.
Blockchain Integration: Ethereum and Uniswap Protocols: The platform interacts with the Ethereum blockchain for both mainnet and testnet environments. Swaps and liquidity operations leverage the Uniswap V4 protocol, ensuring high compatibility and efficiency.
JSON-RPC and Web3.js: Used for blockchain communication to fetch real-time data like token prices, user balances, and transaction statuses.
Hacky and Notable Aspects Custom Price Hook Exploration: We pushed the boundaries of Uniswap V4 Hooks by prototyping advanced price curves that go beyond the standard linear models. While the implementation is in progress, we identified potential optimizations for pool balance and dynamic pricing.
Seamless Integration of Uniswap Widget: Instead of relying on outdated configurations, we manually patched and tested the widget to ensure compatibility with the latest tokens and network settings.
Rapid Prototyping of Modular Contracts: Contracts were designed to be highly modular, allowing developers to easily extend the functionality for future use cases like vesting schedules, multi-token campaigns, and staking rewards.
Dynamic Pricing in Record Time: During the hackathon, we developed and tested a complete pipeline for defining, deploying, and testing dynamic pricing strategies, showcasing the flexibility of Uniswap V4 Hooks.
Benefits of Partner Technologies Uniswap V4 Hooks: Provided flexibility for implementing custom logic directly into the liquidity pools, making it possible to support advanced token sale models.
Dynamic.xyz: Simplified authentication and profile management, saving significant time and ensuring a robust user management system.
Uniswap Widget: Seamlessly integrated swapping functionality, reducing the technical overhead and enhancing user experience.
LiquidLaunch is a testament to the power of modular, decentralized technologies, enabling a streamlined process for token launches while lowering the barriers for first-time crypto users.