Guys, I’m trying to make a copy of the Safemoon contract for studies.
Currently I managed to understand all the topics below.
- Create the Token, modifying Name, Supply, decimals.
- Add a liquidity pair on PancakeSwap
- Buying and selling within PancakeSwap
The version of PancakeSwap I’m using for testing is this:
The router address I am using is: 0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3
My problem is just the following.
Wallet A has the token.
Wallet B also has the token, but sells 100 units in pancakeswap.
In this case 3 units go to the PL (This is not happening).
And 2 units should be distributed to Wallet A (which is also not happening).
I’m suspecting that I need to change something else, or that the PancakeSwap I’m using for testing doesn’t work for these two functions.