Is it safe to deploy a ERC20 token without an Owner at all?

Hello friends! I am new to Solidity and I have a question. Is it safe to deploy a ERC20 token (coin) contract without owner at all? Without this:

import "@openzeppelin/contracts/access/Ownable.sol";

I understand that it will be a basic contract that can't be changed. But still... Is it safe not to have an owner at all for a coin?

Yes.

The owner is technically just a state variable which stores the address of the contract deployer.
If you're not using it in any of the contract functions (which the ERC20 standard indeed does not dictate), then there's no reason for the contract to be Ownable and maintain that state variable.

1 Like