Hi, I’m trying to make a safemoon fork on the testnet for a school project.
What I need help on is the liquidity pool for pankcakeswap.
I approved the testnet router address “0xD99D1c33F9fC3444f8101754aBC46c52416550D1” to use 1000000 of my tokens, then I used the addLiquidityETH function on its interface to try creating the pool with the 1000000 of my tokens and 1 BNB.
Now there’s the Cake LP contract address with my 1m tokens and 1BNB, and all the supply of 0.031622 Cake-LP is on my own wallet address.
Is it supposed to work like that?
Is there any way I can check if I can actually trade between the 2 tokens on the testnet? I tried going on pancake swap and inserting my token address and swapping some of them but it says that there’s Insufficient liquidity for this trade.
Am I doing anything wrong?
1 Like
It seems like you have created a pair, and 1BNB= 1000000 YOUR_Token,
I think you can use a small amount to have a try! How about using 10 token or 0.001BNB?
Did you get the solution to your problem?
1 Like
When I buy using the wallet that I added the liquidity works, however when I try to buy with another wallet it appears:
The transaction cannot succeed due to error: undefined. This is probably an issue with one of the tokens you are swapping.
1 Like