commit 8de9a0e211a813b682eeaedf6ff2437c7c5d801b parent 7bfee7b21546be9513ea371ec1c9867050065763 Author: Thien-Thi Nguyen <ttn@gnuvola.org> Date: Mon, 24 Jan 2022 04:23:40 -0500 write ‘default-exchange’ description, including example Diffstat:
| M | manpages/libeufin-sandbox.1.rst | | | 17 | ++++++++++++++++- |
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/manpages/libeufin-sandbox.1.rst b/manpages/libeufin-sandbox.1.rst @@ -87,7 +87,22 @@ and allows registrations. Command ``default-exchange`` ============================ -.. WRITEME +This command sets the exchange that a demobank will use. +It requires two arguments, ``EXCHANGE-BASEURL`` and ``EXCHANGE-PAYTO``. +The option ``--demobank NAME`` (default: ``default``) specifies +which demobank this setting affects. + +For example: + +.. code-block:: console + + $ libeufin-sandbox default-exchange \ + --demobank bank01 \ + https://exchange.example.com/ \ + payto://iban/CH9300762011623852957 + +This sets the default exchange for demobank ``bank01``. +It is an error if the demobank does not exist. Command ``make-transaction``