Where can we set the price for our cake tokens for swapping

I have created a custom token by cloning pancakeswap. Now before performing the swap, where can I set the price of this token so that it can convert to bnb? This is the link of the contract that I have cloned.

You’ll need to read about AMM and understand that your price is automatically determined given the ratio of BNB/Token.

If you are trying to force prices then you will likely need to add and adjust parameters to force a price to be higher than it would given the ratio. This is a BAD idea. You could really screw up the price of what it should be when doing this.

2 Likes