Onchain token launch with permanently locked liquidity and DEX routing (Uniswap v3 + v4). No admin keys, no mint/blacklist. MIT licensed. Deployed addresses in README.
Qian V2 Contracts (Ethereum)
Qian is a multichain DEX and launchpad. You launch a token, its supply goes straight into a locked Uniswap position, and anyone can trade it in plain ETH. MIT licensed. No proxies, and no admin key over user funds.
The core contracts carry the same addresses on every chain (Robinhood Chain, Base, Ethereum), because each one was deployed from a fresh key at nonce 0. This repo is the Ethereum copy (chainId 1); the addresses below hold on all three.
Deployed addresses
| Contract | Address |
|---|---|
| QianLocker | 0x73Da198D58fFD43B5754a2d72D989cab1c9aF0ce |
| QianFactoryV3 | 0xaC83b491b76Dd686db516c0fE9152320c83618a7 |
| QianFactoryV4 | 0x750d0bc66baa12CF1710a8ba939B97DB4aD005c3 |
| QianFeeRouter | 0xDe598E5F0b428B38EFaA6e887458FEF70bFA9436 |
| QianSwapRouter | 0xEE540d2496cfFDf17E29a04bcd7b6dc795C61d66 |
| Create2Factory | 0x175ae2c5EC7edaD3eE88e892C677bBDE815A2803 |
| GuardHook | 0xa27D4eef437Ab754074c8C9E6bCbC55184dE2000 |
Every address above is source-verified on https://etherscan.io.
How it works
- Two factories.
QianFactoryV3andQianFactoryV4mint a fixed 1,000,000,000-supply ERC20 and seed the whole supply as one-sided liquidity in a Uniswap V3 or V4 pool. - QianLocker takes ownership of that LP position at launch. The contract is immutable and exposes no withdrawal path, so the liquidity stays where it is.
- Creator fees.
QianFeeRouter.collectFees(token)is a permissionless call that routes a token's accrued trading fees to its creator. The receiver lives in the locker, and the controller can reassign it for a community takeover. The token's owncreatorfield stays fixed as the record of who launched it. - Creator tax is the Uniswap V4 pool fee, anywhere from 0.5% to 20%, picked at launch. It lives in the PoolKey, so it never changes after that. V3 pools use the fixed 1% tier.
- QianSwapRouter handles user trades: buy or sell any Qian token for plain ETH, with a 1% platform fee on the WETH leg. It keeps no balances between trades.
Token
A launched token is ERC20 plus Burnable, and little beyond that. owner()
returns the zero address, so it reads as renounced. There is no mint, pause,
blacklist, or transfer hook. It stores immutable platform and creator
records, a MAX_SUPPLY, and its IPFS metadata through metadata() and
tokenURI().
Hooks
GuardHook is the only hook we deploy. It limits pool initialization to the
factory, which stops anyone from front-running a launch and bricking it. At trade
time it does nothing: every swap-time flag reads false, so the Uniswap V4
PoolManager never calls it on a swap. Qian launches ship with no fee, tax, or
anti-snipe hook.
Layout
dtm-v3/contracts: Uniswap V3 factory stack (QianFactoryV3,QianToken, LP provider)dtm-v4/contracts: Uniswap V4 factory stack, the sharedQianLocker,QianFeeRouter, andQianSwapRouter, plusGuardHookchains/: chain config and deployed addresses
Build
Solidity 0.8.24 with the optimizer on: 200 runs for the V3 tree, 1 run for the V4
tree, viaIR enabled. Each contract's exact verified build lives on https://etherscan.io;
this repo is the plain-source mirror.
License
MIT