0

Scenario:

  • Wallet A got hacked.
  • Wallet A is used in a smart contract where there are funds invested.
  • Wallet A cannot be used to withdraw funds from this contract as the funds are immediately flushed from the wallet when we do this.

Is it possible to transfer ownership to another address (wallet B), so that we can withdraw funds from the contract using wallet B?

1 Answer 1

0

Simple answer yes, if the wallet B is not compromised.

If Wallet A is owner of the contract, You need to call transferOwnership by giving Wallet B address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.