This repository is a collection of smart contracts that collectively form the UpOnly Protocol.
To read about the protocol in detail, make your way over to Protocol Doc and for more rough notes, there's a notes folder inside the docs directory.
UpOnly is a protocol designed to let users of the protocol deploy a new token without requiring any liquidity. The newly deployed token gets traded on a bonding curve with preset parameters of the curve(starting price, cap, etc). Once the token has reached the liquidity cap, the accrued liquidity along with a preset amount of tokens are added to Uniswap V2 to be openly tradeable for the public.
There are unit tests for all the four contracts —
And there's one end-to-end test here that runs on a fork of Base Mainnet. The forking is handled inside the test itself, you do not need to do anything special to run this test.
$ forge testIf you have any questions or thoughts about the protocol, hit me up on Telegram or X.