summaryrefslogtreecommitdiff
path: root/taler-build/update_tip_reserve.sh
blob: 66978703c170bf234870984c0b112e8a32a69ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# This command must be run under {test,demo}-{blue,green}
# home directories.

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.