How to convert private key to keystore json format

What is the algorithm for converting the private key into keystore json format

1 Like

Hi @liji thanks for your question and welcome to the forum. I don’t know the answer off-hand, but I can refer you to the Polkadot validator or watercooler element chats, there’s often more technically-minded folks there. Good luck and let us know if you have any other questions!