From 528e9af0603abbba9b46b7eec0bd46933ae7bdbb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 10 Mar 2024 19:26:49 +0100 Subject: document p2p push --- taler-wallet.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) 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 ------------------------------ -- cgit v1.2.3