For example, I have deployed an ink! contract via polkadot apps.

Is it possible to obtain the private key of the contract account and sign an arbitrary message?

  • 1
    I think contract accounts are randomly generated by the chain and therefore have no known private keys.
    – kianenigma
    Feb 20 at 12:18
  • Added my comment to a follow up question
    – forgetso
    Feb 22 at 8:59

1 Answer 1


It's impossible to obtain the private key of a contract account.

Your Answer

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

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