diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-01-24 04:23:40 -0500 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2022-01-24 04:23:40 -0500 |
commit | 8de9a0e211a813b682eeaedf6ff2437c7c5d801b (patch) | |
tree | 3a33e9b55de0f2a367659d854005ef2d72ec6ca3 /manpages | |
parent | 7bfee7b21546be9513ea371ec1c9867050065763 (diff) | |
download | docs-8de9a0e211a813b682eeaedf6ff2437c7c5d801b.tar.gz docs-8de9a0e211a813b682eeaedf6ff2437c7c5d801b.tar.bz2 docs-8de9a0e211a813b682eeaedf6ff2437c7c5d801b.zip |
write ‘default-exchange’ description, including example
Diffstat (limited to 'manpages')
-rw-r--r-- | manpages/libeufin-sandbox.1.rst | 17 |
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`` |