Why can't i set address to dead(0x000.000dead)

So yeah i am just testing some of the contracts and for example if you try to set fee address or masterchef owner to 0x00...dead or 0x00...000, it won't allow you to do so and the transaction will fail.

Doing it through etherscan. Why is it so? How can you make it to transfer ownership to a dead address(so no-one has access to it ?)

Or is a solution for example to just deploy a blank contract that can't do anything and then you set the owner to that address and that's how basically no-one owns it?

Can you share the code? Would be easier for us to help

1 Like

Hi mate,

If you cannot set a specific address as the owner, recipient, etc. it must be because the contract you're interacting with does not allow that specifically. If you shared the contract we could tell you specifically what's going on.

But burning eth or burning the keys of a contract (transferring ownership so a wallet that nobody has the keys of) basically means transferring it to any address that is unused. 0x00..dead or 0x00..00 are commonly used, but you can really use any address that's unused. There's no need to deploy an empty contract or anything of the sorts.

Cheers.