I'm developing a simple app to learn how to use the bitcoinj library. I'm using the WalletAppKit
object to simplify the process and I'm following the official documentation.
When developing I prefer to use bitcoind regtest mode as it's faster than the testnet3 and I don't need to be connected to the i
if (params == RegTestParams.get()) {
// Regression test mode is designed for testing and development only, so there's no public network for it.
// If you pick this mode, you're expected to be running a local "bitcoind -regtest" instance.
kit.connectToLocalHost();
}
I was playing with the WalletTemplate example desktop app and it works just fine on the regnet. Now I'm trying to do the same on my Android app but I don't know how to connect it to my regnet instance running on my machine.
Does anyone know how can I do that?
Thanks in advance,
Felipe