V3 keystore
This example demonstrates how to encrypt and decrypt keystore V3.
Import necessary classes from the Web3j and kaia libraries(web3j-ext
).
Define the keystore password, this password is used for decrypting the keystores
Read keystores from json files, for example we have a list of different accounts: "RoleBased_V4.json", "Multi_V4.json" and "Public_V4.json"
Decrypt the keystore with its password.
After decryped, you can access the public and private key.