Launch ERC-20 tokens with Uniswap V4 and protect your token holders with Fair Trade.
Fair Trade is a Uniswap V4 pool that launches tokens with safety guarantees for future token holders and traders. By leveraging Uniswap V4 hooks, projects can safely raise ETH, distribute tokens, pool liquidity, and put time-locks on tokens.
launch
which will launch an ERC 20 token, distribute this token to initial liquidity providers, lock the token + ETH raised in a Uniswap V4 pool and then trading can begin.beforeInitialize
, afterInitialize
, beforeModifyPosition
, beforeSwap
Solady
test/FairTrade.t.sol
To use this hook:
FairTrade
contract (set a name, symbol, and decimals for your token)depositEth
. If your providers want to quit before your token launches, they can call quit
launch
. This function will kick off a token deployment, pool initialization, and token distribution with Uniswap V4 hooks (beforeInitialize
and afterInitialize
)launch
, LP and swap functions are available. Checks for who are trading the tokens are done in the beforeSwap
and beforeModifyPosition
Uniswap V4 hooksThis set of contracts also has a Next JS app ready. Features are listed below. This app is targeting users that are new to crypto so we've integrated with Privy and created a simple Next JS app.