You can transfer ownership of a contract by using the transferOwnership function of the contract.
This could be useful in cases where you'd like your Manifold Creator contract to be owned by a Gnosis Safe or when you've created your contract with a software wallet and want to transfer it to a hardware wallet.
We recommend this method to transfer your contract if your wallet is compromised.
Things to note before you transfer ownership:
Only the current owner of the contract has permission to transfer ownership.
Transferring ownership is an irrevocable action. Make sure you are transferring to the correct address before confirming your transaction.
How to Transfer Ownership of a contract
Go to Etherscan https://etherscan.io or the link of the network the contract was deployed to.
Enter your contract address in the "Search by address" field
On the contract page select "Contract" tab,
In the "Contract" tab select the "Write as Proxy" tab.
Connect your wallet by selecting the "Connect to Web3" button.
β
βNavigate to the function "Transfer Ownership"
Enter the address of the wallet that you wish to transfer ownership to in the "NewOwner(address)" input field
βClick "Write"
Confirm the transaction on your wallet.
Verify the contract was transferred
To verify the contract was transferred, follow the same steps as above to get to your contract's Contract tab.
2. Navigate to 'Owner'
3. If the contract has been transferred properly, you will see the new wallet in this field. (Please note that Studio that the previous wallet will still show up in Studio, but minting/admin functionalities will be removed)