A token launcher for Unichain that deploys ERC-20 tokens and creates Uniswap V3 pools with automatic LP position locking and fee sharing.
UniswepFun is a smart contract system that allows users to:
- Deploy new ERC-20 tokens
- Create Uniswap V3 pools for the tokens
- Lock LP positions
- Share trading fees between token creators and the platform (50/50 split)
The main contract that orchestrates the token deployment and pool creation process. It handles:
- Token deployment through the deployer contract
- Pool creation on Uniswap V3
- LP position minting and locking
- Fee sharing setup
Handles the deployment of new ERC-20 tokens using a minimal proxy pattern for gas efficiency.
Manages LP positions and fee sharing between token creators and the platform.
- Gas-Efficient Token Deployment: Uses minimal proxy pattern for token deployment
- Automatic Pool Creation: Creates Uniswap V3 pools with specified parameters
- LP Position Locking: Locks LP positions to ensure liquidity
- Fee Sharing: 50/50 split of trading fees between token creators and platform
- Unichain Integration: Built specifically for Unichain's Uniswap implementation
# Clone the repository
git clone https://github.com/hexcantcode/uniswep.git
# Install dependencies
npm install# Compile contracts
npx hardhat compile
# Run tests
npx hardhat test- UniswepFun:
0x2A787b2362021cC3eEa3C24C4748a6cD5B687382 - UniswepFunLpLocker:
0x33e2Eda238edcF470309b8c6D228986A1204c8f9
MIT
This project is in active development. Use at your own risk.