summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manpages/libeufin-sandbox.1.rst17
1 files changed, 16 insertions, 1 deletions
diff --git a/manpages/libeufin-sandbox.1.rst b/manpages/libeufin-sandbox.1.rst
index 239a56cf..6a6f0c6c 100644
--- 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``