summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-10 19:26:49 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-10 19:26:49 +0100
commit528e9af0603abbba9b46b7eec0bd46933ae7bdbb (patch)
tree7285f6b6fa528b64f889da98934ec2863d9dff73
parent85e4a88881a77abf6f9928f226a1b78c925a608a (diff)
downloaddocs-528e9af0603abbba9b46b7eec0bd46933ae7bdbb.tar.gz
docs-528e9af0603abbba9b46b7eec0bd46933ae7bdbb.tar.bz2
docs-528e9af0603abbba9b46b7eec0bd46933ae7bdbb.zip
document p2p push
-rw-r--r--taler-wallet.rst47
1 files changed, 47 insertions, 0 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index 1d1a3991..4a975340 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -192,6 +192,53 @@ Manual withdrawing
--amount EUR:5
+P2P push payments
+-----------------
+
+The following code generates a P2P push transaction over 1 CHF
+with an expiration time of 30 days (assuming the wallet has a
+sufficient balance):
+
+.. code-block:: console
+
+ $ taler-wallet-cli p2p initiate-push-debit \
+ --purse-expiration="30 d" \
+ --summary="The summary" \
+ CHF:1
+
+The final URL can then be found in the transaction list:
+
+.. code-block:: console
+
+ $ taler-wallet-cli transactions
+
+Background wallet
+-----------------
+
+A wallet can be launched in the background:
+
+.. code-block:: console
+
+ $ taler-wallet-cli advanced serve &
+
+You can then run various Taler operations faster against
+this one persistent instance:
+
+.. code-block:: console
+
+ $ taler-wallet-cli --wallet-connection=wallet-core.sock ...
+
+Here ``...`` needs to be changed to the commando to run.
+Make sure to run
+
+.. code-block:: console
+
+ $ taler-wallet-cli --wallet-connection=wallet-core.sock \
+ run-until-done
+
+to wait for pending transactions to complete.
+
+
Testing an exchange deployment
------------------------------