[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] 03/03: write ‘default-exchange’ description, including exam
From: |
gnunet |
Subject: |
[taler-docs] 03/03: write ‘default-exchange’ description, including example |
Date: |
Mon, 24 Jan 2022 10:24:07 +0100 |
This is an automated email from the git hooks/post-receive script.
ttn pushed a commit to branch master
in repository docs.
commit 8de9a0e211a813b682eeaedf6ff2437c7c5d801b
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Mon Jan 24 04:23:40 2022 -0500
write ‘default-exchange’ description, including example
---
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
index 239a56c..6a6f0c6 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``
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.