A regtest setup will save you a lot of time as it allows you to test Zap 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 Zap 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 Zap Android
- Make sure the Tor setting is turned off in the apps settings.
- Paste the copied connect string in Zap on the connect remote node screen or on the general scan screen.
- In Zap, 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. - Have fun testing!
Please note that connecting to regtest nodes will only work when building with debug build variant.