gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated (2c0db9f -> 8de9a0e)


From: gnunet
Subject: [taler-docs] branch master updated (2c0db9f -> 8de9a0e)
Date: Mon, 24 Jan 2022 10:24:04 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a change to branch master
in repository docs.

    from 2c0db9f  Adjustments to extensions
     new d6d3763  reorder command ‘config’ before ‘default-exchange’
     new 7bfee7b  write ‘config’ description, including example
     new 8de9a0e  write ‘default-exchange’ description, including example

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 manpages/libeufin-sandbox.1.rst | 41 ++++++++++++++++++++++++++++++++++++-----
 1 file changed, 36 insertions(+), 5 deletions(-)

diff --git a/manpages/libeufin-sandbox.1.rst b/manpages/libeufin-sandbox.1.rst
index 1e58173..6a6f0c6 100644
--- a/manpages/libeufin-sandbox.1.rst
+++ b/manpages/libeufin-sandbox.1.rst
@@ -46,7 +46,7 @@ The interaction model is as follows:
    Or are some of the commands to be used AFTER ‘serve’ starts?
    Or is it a mix?  (I believe it is a mix, but am not sure.)
 
-- Configure the sandbox with commands ``default-exchange``, ``config``,
+- Configure the sandbox with commands ``config``, ``default-exchange``,
   ``make-transaction``, and ``camt053tick``.
 
 - Start the HTTP server with command ``serve``.
@@ -62,16 +62,47 @@ The interaction model is as follows:
 The following sections describe each command in detail.
 
 
+Command ``config``
+==================
+
+This command takes argument ``NAME`` and creates a demobank with that name.
+
+Option ``--currency CUR`` (default: ``EUR``) specifes another currency.
+Option ``--bank-debt-limit N`` (default: 1000000) specifies that
+the bank debt limit should be N (units of currency).
+Similarly, option ``--users-debt-limit N`` (default: 1000) specifies
+that the users debt limit should be N (units of currency).
+
+For example:
+
+.. code-block:: console
+
+  $ libeufin-sandbox config default
+
+This creates the demobank ``default`` with currency ``EUR``,
+bank debt limit 1000000, users debt limit 1000,
+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:
 
-Command ``config``
-==================
+.. code-block:: console
 
-.. WRITEME
+  $ 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]