How to make an auto burn feature similiar to safemoon?

:computer: Environment

I am using the wizard to create ERC 20 token. I want to deploy this on the fantom network using remix.

I want to make an auto burn feature similar to safemoon. When someone sends a transaction, 10% fee is taken. 5% of proceeds go to one address and 5% to another.
:1234: Code to reproduce


Hello @Park_Dalton welcome to the community. When you create a new topic, the forum suggests potential similar topics you could join instead of creating a new one. This is super important so people like you can find answers more quickly, and it also enriches the discussion itself for people looking for it in the future e.g. by googling.

There are at least three (there are actually many) other topics that this one is a duplicate of.

Please continue discussion in one of those. Closing.

1 Like