Demonstrate how to add and manipulate liquidity step by step.
- Demo contract
- Add Token
- Calc Liquidity
- Remove Liquidity
- Back Token
To get started with this boilerplate, you just need to follow these simple steps:
-
Connect to MetaMask in Remix
-
Deploy contracts on Remix
-
Move
.env.example
file to.env
and add the values for the following keys:NEXT_PUBLIC_SEPOLIA_JTOKEN_A= NEXT_PUBLIC_SEPOLIA_JTOKEN_B= NEXT_PUBLIC_SEPOLIA_JSWAPFACTORY= NEXT_PUBLIC_SEPOLIA_UNISWAPV2PAIR=
-
Get a 2:1 tokens via the faucet button
-
Operate in order of tabs and observe data changes to understand contract features
By MIT licensed.