Each bot has its own gRPC channel and set of service stubs,
and a single bot's channel & stubs last the bot's lifetime.
However, RegtestTradePaymentSimulator instance is a bot too, with it's
own channel & stubs, which should be closed at the end of each run().
- When bot is run from a *nix terminal, password input will not be echoed.
- When bot is run from an IDE, it's virtual terminal will echo the input
(cannot be avoided).
Validate the input during startup, to fail early instead of waiting for
the right offer to take, then failing to unlock the wallet with an
incorrect password.
Use the existing Bisq API CLI utils for making calls to the daemon,
and formatting responses.
When/if the CLI is released on jitpack, this code can be removed
from this repo, and loaded from a gradle dependency.
This might give Python devs an easier time than if all the sample
code lived deep inside a gradle project. This means there is
no root project gradle build file; the reference-doc-builder and
java-examples modules are separate java projects, with their own
build files.