Renounce ownership of a token on BSC

Hello can you help me to renounce ownership a token BSC

2 Likes

Hi! I think why you want to use the proxy pattern is that you want to ensure you can update the implementation later, if you do want to renounce ownership, the proxy pattern will not work.
If you just want to renounce ownership, maybe you can call changeAdmin to address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE), lol, but be careful about this action!!!

2 Likes

Hi @Voice_Of_Viral,

Welcome to the community :wave:

If you just mean renounce Ownable, then you can use:
https://docs.openzeppelin.com/contracts/4.x/api/access#Ownable-renounceOwnership--

1 Like

Hi, if you are still around, my question is the same, how to renounce ownership of token...before launch right? hehe

Hi, welcome! :wave:

I think it is up to your contract, If you contract is derived from openzeppelin-contracts/Ownable.sol, I think you can call the function renounceOwnership to renounce the ownership.
And generally speaking, the owner of the contract is a wallet account at early stage, cause maybe there are some configs to set, so it is convenient to just use a wallet account. And later, you can transfer ownership to a governance contract, it will be controlled by all token holders rather than only a wallet account.