Security aspects
The ERC-20 smart contracts deal with values or money. Of course, if tokens were not worthwhile, then we wouldn’t be having this conversation. However, there are ERC-20 smart contracts that are valuable. For example, USDC or USDT are ERC-20 smart contracts. They are valuable because 1 USDT or USDC can be redeemed with 1 US Dollar.
So, it would be a nightmare if people could increase their balances in USDT or USDC smart contracts illegally.
You want to secure the ERC-20 smart contracts that you’re going to create. There are some steps you can take to increase the security of the ERC-20 smart contracts.
First, you should follow the ERC-20 standard as closely as possible. Important functions such as transfer, transferFrom, and approve have been written and audited by other people. So you can just use them and not write them from scratch. The functions have been battle-tested. You can add other improvements to the smart contract while maintaining...