I am new to the process of coding a token (and a smart contract).
I wish to create a token (using your library) with a 5% tax on the seller, half of it would be burned and the other half would be sent to a pool witch would then be used to finance the staking.
Could you show me how to integrate both codes together or maybe find me an example of an existing one please ?
Thanks for your attention. I’m looking forward to your reply.
It is an erc20, in the role of a sender.
I meant that I want to create 2.5% burn and 2.5% sent to a pool to finance the staking at each transaction where the user will sell the token so effectively sender.
You could override transfer and transferFrom or _transfer to potentially implement this functionality, though you should investigate how this impacts other services that you may want to use your token with.