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
Post a Comment