Smart contract BSC adds liquidity

1. Formulate the ratio

We want the token to have the function of buying and selling. We need to formulate the exchange rate between the token and USDT/BNB, and add the liquidity of the pool before we can buy and sell. We first open the pancake, set the exchange rate of the token, click to increase liquidity, and copy our contract address into it. Below you can see that the name of SbZilla has appeared on the pancake. Click Import at this time, and there will be an unknown source confirmation In the pop-up window, we check I understand and click Import.

For example, we want to define the exchange rate as 100,000 SbZilla to exchange 1USDT. Then, we just fill in the values ​​in the liquidity pool, as follows:
 

 Confirm the gas fee for this time:

2. Liquidity pool

After the exchange rate is added, continue to click Add Pool. Since it is a test, we only add 1U of funds as the pot here. It can also be verified here. The exchange rate of 100,000 to 1 we just defined has taken effect:

 Once permissions are approved and gas fees are provided, our liquidity pool is added.

Guess you like

Origin blog.csdn.net/cpcpcp123/article/details/122289512