summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-11-30 13:49:25 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-11-30 13:49:25 +0100
commit8202f6dda3a685e4b0e727a939295a3f3615b635 (patch)
tree158369c73aa148aaff73cbf90705b3285f4dd08c /bin
parent551711274ce5d3630fe0162f89214052fd6c8076 (diff)
downloaddeployment-8202f6dda3a685e4b0e727a939295a3f3615b635.tar.gz
deployment-8202f6dda3a685e4b0e727a939295a3f3615b635.tar.bz2
deployment-8202f6dda3a685e4b0e727a939295a3f3615b635.zip
make "update topper" a legal taler-deployment-* command
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-deployment-top-reserve12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/taler-deployment-top-reserve b/bin/taler-deployment-top-reserve
new file mode 100755
index 0000000..33d1fd6
--- /dev/null
+++ b/bin/taler-deployment-top-reserve
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+source $HOME/activate
+
+taler-exchange-reservemod \
+ --add="$TALER_CONFIG_CURRENCY:100.0" \
+ --reserve=S98FEXHW3VJ93EA73CRAQ5E8E4DJE96Z9JXYFHFD169FWS9NS8A0 \
+ --sender='{"bank_uri":"https://bank.$TALER_ENVNAME.taler.net/","account_number":7,"type":"test"}' \
+ --transfer='ZUV321'
+
+# note: account number (7) is hardcoded, as tipping
+# is only being tested against the 'default' instance.