Token can't be purchased in PancakeSwap

I deployed a smart contract through "remix.ethereum" and after that, I added 1 BNB for LP in PancakeSwap, and then I renounced the ownership.

I did everything right, but I can't buy my token in PancakeSwap... is there someone could you help me?

THIS IS THE ERROR MESSAGE:

The transaction cannot succeed due to error: Pancake: TRANSFER FAILED. This is probably an issue with one of the token you are swapping

:computer: Environment
Remix

Hi ronaldoguedess, welcome to the forums!

Can you please link your contract. It would also be helpful to link your transactions.

You might want to try different amounts of swapping. If you’re doing a safemoon clone, some amounts might not work because of math operations in the code.

1 Like

Hi Tsushima, yes, of course!
it's so similar to a Safemoon project, but it's a "Milk Token" clone... actually it's very very similar with some clarity implementations.

My contract code: 0xe1c8340c092d0d006aca07c26c6ddd43e309fc05

Here the steps I did.

  • I checked and paste the code in “remix.ethereum”;
  • Compiled only the "FlashMoon.sol" using the right solidity version with optimization;
  • I burned/transfer 50% of the coins for the "black hole". 0x000... ...dead;
  • I create the team's wallet and I transfer 3% for each;
  • I added 1 BNB for LP thought PancakeSwap for 370.000.000.000.000.000000000;
  • I renounced the ownership

So, this is the error code!

The transaction cannot succeed due to error: Pancake: TRANSFER FAILED. This is probably an issue with one of the token you are swapping

and I have no idea what's wrong.

I’ve got some extremely bad news and sent it to you in a DM.

1 Like

Hi Tsushima, I’m interested to learn about the problem and solution too as I’m having the same issue myself. Please reply when available thanks

Hi sir im interested too at the solution of the problem have the same issue. In add i can remove liquidity from pool. Thanks a lot for ur time.

@MozzyDog @Coniare_Conio Please refer to:

It's either SwapAndLiquify or MaxTxPercent.