Create Wallet

Using this createWallet function you can create a wallet:

FieldTypeDescription
wallet_passwordStringThe password which you set up once for your wallet.
QKCManager qkcManager = QKCManager.getInstance();

qkcManager.createWallet("{{wallet_password}}", this)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(wallet -> {
                    String walletAddress = wallet.getAddress();
                    String keystore = wallet.getKeystore();
           
            String qckWalletAddress = QKCManager.
                            getQCKAddress(walletAddress,this);
            int chainId = 1;
            int shardId = 0;
            String chainId1 = QKCManager.getQCKAddressByChainIdAndShardId(qckWalletAddress, chainId , shardId, this);

            
            
                }, error -> {
                    System.out.println(error);
                });