How keystore in block 2 code?

how to create keystore in block 2code??