Import Wallet By Keystore

Using this importFromKeystore function you can import your wallet from keystore:

FieldTypeDescription
wallet_passwordStringThe password which you set up already for your wallet.
json_formatStringThe Keystore is an encrypted version of your private key in JSON format.
QKCManager qkcManager = QKCManager.getInstance();
String password = "{{wallet_password}}";
String keystore = "{{json_format}}";
qkcManager.importFromKeystore(keystore, password, this)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(walletAddress -> {

                    Toast.makeText(this, "Wallet Address : " + walletAddress, Toast.LENGTH_SHORT).show();

                }, error -> {

                });