ERC20 tokens are developed under the ethereum smart contracts. The smart contract stores the negotiations and rules in terms of the agreement. Also, to develop an ERC20 token, the developers should follow some standards. >>> https://www.icoclone.com/blog/ethereum-wallet-development/