There's any private key rotation using substrate ? i ask this question regarding a did implementation, step are :

  1. hash a data and signe it with an account

  2. another account should be able to verify this data buy using the public key and the data signed

  3. i have this question, if the private key is rotated how i can implement the step 2

thank you in advance for your help

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Mar 16, 2023 at 9:28
  • the question there is any private key rotation internally speaking or not ?
    – lsroudi
    Mar 16, 2023 at 13:51

1 Answer 1


Check this method rotate_keys that generates new session keys and returns the corresponding public keys: code.

And this previous question on StackExchange: What does author_rotateKeys do?

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.