diff options
author | MS <ms@taler.net> | 2021-08-18 23:04:45 -1100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-08-18 23:04:53 -1100 |
commit | 79bf37a131b7e34c7971f041708ea86742bae7cb (patch) | |
tree | 3b3eb332b8ca2db2c54eb03de4010db7d16afa71 /libeufin/nexus-tutorial.rst | |
parent | 2f9fa629636c2aa8a40083d6287c30c711c42ad9 (diff) | |
download | docs-79bf37a131b7e34c7971f041708ea86742bae7cb.tar.gz docs-79bf37a131b7e34c7971f041708ea86742bae7cb.tar.bz2 docs-79bf37a131b7e34c7971f041708ea86742bae7cb.zip |
Anastasis/LibEuFin tutorial
Diffstat (limited to 'libeufin/nexus-tutorial.rst')
-rw-r--r-- | libeufin/nexus-tutorial.rst | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst index 4b9b1f0e..2ce4367a 100644 --- a/libeufin/nexus-tutorial.rst +++ b/libeufin/nexus-tutorial.rst @@ -550,6 +550,42 @@ as the Taler Wire Gateway base URL located when listing the facades: $ libeufin-cli facades list +Creating a Anastasis facade +=========================== + +The following command creates a Anastasis facade: + +.. code-block:: console + + $ libeufin-cli facades new-anastasis-facade \ + --currency EUR \ + --facade-name $FACADE_NAME \ + $CONNECTION_NAME \ + $LOCAL_ACCOUNT_NAME + +If the previous command succeeded, it is possible to see the +facade's base URL with: + +.. code-block:: console + + $ libeufin-cli facades list + +At this point - unless the facade is used with superuser privileges - +a history permission should be set on the facade. The following command +does it: + +.. code-block:: console + + $ libeufin-cli permissions grant \ + user $USERNAME \ + facade $FACADENAME \ + facade.anastasis.history + +.. note: + + There is no need to set/unset a transfer permission on the facade + since this one does not offer any endpoint to issue wire transfers. + Managing Permissions and Users ============================== |