Create Wallet

Using this createWallet function you can create a wallet:

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

binanceManager.createWallet("{{wallet_password}}", this)
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(wallet -> {
                    String walletAddress = wallet.getAddress();
                    String keystore = wallet.getKeystore();
                }, error -> {
                    System.out.println(error);
                });