A regtest setup will save you a lot of time as it allows you to test BitBanana in a simulated network.
The easiest way to create and manage simulated regtest networks is by using Polar.
- Download Polar
- Setup a network in Polar with at least one LND node.
To connect BitBanana with a simulated LND node:
- Click on a LND node in Polar and navigate to the connect tab.
- Select "LND Connect" in the sub tab.
- Copy the connect string using the copy icon.
- Open BitBanana
- Paste the copied connect string in BitBanaa on the connect remote node screen or on the general scan screen.
- In BitBanana, tap on the currently active node name at the top of the home screen. Then choose "Manage...". Choose the freshly added node. Then tap on "Change data".
- If you are using an Android Studio Emulator, replace the IP address with
10.0.2.2
. If you are using an android phone, replace the IP address with the IP address of the computer running polar. - Scroll down and make sure both Tor & Certificate verification are turned off.
- Have fun testing!
Please note that connecting to regtest nodes will only work when building with debug build variant.