connect watching wallet with blockchain

connect watching wallet with blockchain

i have created watch wallet
Wallet wallet = Wallet.fromWatchingKeyB58(params, tPub, DeterministicHierarchy.BIP32_STANDARDISATION_TIME_SECS); How can i link this with block chain i am using WalletAppKit class

kit = new WalletAppKit(params, walletFile, APP_NAME);
kit.startAsync(); kit.awaitRunning();

after that i add wallet in PeerGroup kit.peerGroup().addWallet(wallet) after that i print address of a wallet System.out.println(kit.wallet().currentReceiveAddress()); but this address and System.out.println(wallet.currentReceiveAddress()); this is not same. i am using bitcoinj for this, i have sent multiple transaction on wallet.currentReceiveAddress() but did not receive any of them, i don't know what i am doing wrong here, kindly help!

https://ift.tt/2qWfNEo

Comments

Popular posts from this blog

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password

When downloading the blockchain my application is become unusable, is there an issue with my code or am I using the BitcoinJ library incorrectly?

Mistakenly sent BTC from my personal wallet back to one of the exchange wallet addresses that I had received BTC from before - help recovering!