commit f4189383cd53a999dabaf6d66945699a20431244 parent 88dbc7e0b58b7183c96aa21b030dcaecc920fcd9 Author: Florian Dold <florian@dold.me> Date: Fri, 22 Aug 2025 21:57:21 +0200 docs for faking wallet transactions Diffstat:
| M | extract-tsdefs/pnpm-lock.yaml | | | 53 | +++++++++++++++++++++++++++++++---------------------- |
| M | taler-wallet.rst | | | 21 | +++++++++++++++++++++ |
2 files changed, 52 insertions(+), 22 deletions(-)
diff --git a/extract-tsdefs/pnpm-lock.yaml b/extract-tsdefs/pnpm-lock.yaml @@ -1,41 +1,50 @@ -lockfileVersion: '6.1' +lockfileVersion: '9.0' settings: autoInstallPeers: true excludeLinksFromLockfile: false -devDependencies: - '@types/node': - specifier: ^18.8.1 - version: 18.8.1 - '@types/prettier': - specifier: ^2.7.1 - version: 2.7.1 - prettier: - specifier: ^2.7.1 - version: 2.7.1 - typescript: - specifier: ^4.8.4 - version: 4.8.4 +importers: + + .: + devDependencies: + '@types/node': + specifier: ^18.8.1 + version: 18.8.1 + '@types/prettier': + specifier: ^2.7.1 + version: 2.7.1 + prettier: + specifier: ^2.7.1 + version: 2.7.1 + typescript: + specifier: ^4.8.4 + version: 4.8.4 packages: - /@types/node@18.8.1: + '@types/node@18.8.1': resolution: {integrity: sha512-vuYaNuEIbOYLTLUAJh50ezEbvxrD43iby+lpUA2aa148Nh5kX/AVO/9m1Ahmbux2iU5uxJTNF9g2Y+31uml7RQ==} - dev: true - /@types/prettier@2.7.1: + '@types/prettier@2.7.1': resolution: {integrity: sha512-ri0UmynRRvZiiUJdiz38MmIblKK+oH30MztdBVR95dv/Ubw6neWSb8u1XpRb72L4qsZOhz+L+z9JD40SJmfWow==} - dev: true - /prettier@2.7.1: + prettier@2.7.1: resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} engines: {node: '>=10.13.0'} hasBin: true - dev: true - /typescript@4.8.4: + typescript@4.8.4: resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} engines: {node: '>=4.2.0'} hasBin: true - dev: true + +snapshots: + + '@types/node@18.8.1': {} + + '@types/prettier@2.7.1': {} + + prettier@2.7.1: {} + + typescript@4.8.4: {} diff --git a/taler-wallet.rst b/taler-wallet.rst @@ -588,3 +588,24 @@ Example: # Fake version 10:0:0 for https://exchange.demo.taler.net/ taler://dev-experiment/start-fakeprotover?base_url=https%3A%2F%2Fexchange.demo.taler.net%2F&fake_ver=10%3A0%3A0 + + +Faking Transactions +------------------- + + +**Withdrawal Transaction:** + +.. code:: none + + taler://dev-experiment/add-fake-tx?txType=withdrawal&amountEffective=KUDOS:5 + +Options: + +* ``amountEffective``: Mandatory. Effective amount of the withdrawal. +* ``tRel``: Optional (defaults to ``0s``). Relative time that indicates + when in the past the transaction was started (and finished). +* ``exchangeBaseUrl``. Optional (defaults to ``https://exchange.demo.taler.net``). + Exchange base URL used for the withdrwal. + +