Skip to content

hexcantcode/uniswep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniswepFun

A token launcher for Unichain that deploys ERC-20 tokens and creates Uniswap V3 pools with automatic LP position locking and fee sharing.

Overview

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)

Contracts

UniswepFun.sol

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

UniswepFunDeployer.sol

Handles the deployment of new ERC-20 tokens using a minimal proxy pattern for gas efficiency.

UniswepFunLpLocker.sol

Manages LP positions and fee sharing between token creators and the platform.

Features

  • 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

Installation

# Clone the repository
git clone https://github.com/hexcantcode/uniswep.git

# Install dependencies
npm install

Development

# Compile contracts
npx hardhat compile

# Run tests
npx hardhat test

Contract Addresses

  • UniswepFun: 0x2A787b2362021cC3eEa3C24C4748a6cD5B687382
  • UniswepFunLpLocker: 0x33e2Eda238edcF470309b8c6D228986A1204c8f9

License

MIT

Security

This project is in active development. Use at your own risk.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors