This project includes a proxy smart contract and a token template smart contract where user can interact with the proxy contract and generate BEP20 token with a fee
You can use it in any EVM compatible network with small changes. The currenct code is for BSC and PancakeSwap trading.
You need to deploy the token template contract first. Then deploy the proxy and its dependent contract. Use your owner wallet to set the base token address and the fee you want to charge.