gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-marketing] branch master updated: update for API change as per #6


From: gnunet
Subject: [taler-marketing] branch master updated: update for API change as per #6363
Date: Sun, 23 Apr 2023 22:38:27 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository marketing.

The following commit(s) were added to refs/heads/master by this push:
     new 58de643  update for API change as per #6363
58de643 is described below

commit 58de6434fd6dc3227a5f1365bff87ac771acfad1
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Apr 23 22:38:25 2023 +0200

    update for API change as per #6363
---
 2023-fsf/walkthrough.sh | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/2023-fsf/walkthrough.sh b/2023-fsf/walkthrough.sh
index c771643..2a2f24e 100755
--- a/2023-fsf/walkthrough.sh
+++ b/2023-fsf/walkthrough.sh
@@ -42,7 +42,7 @@ echo "2/8 Setup dns config and database "
 echo 127.0.0.1 bank.taler auditor.taler exchange.taler merchant.taler | tee -a 
/etc/hosts
 
 #install database and create a default user for the whole setup
-apt install -y postgresql 
+apt install -y postgresql
 service postgresql start
 su - postgres -c "createuser -d -l -r -s root"
 psql postgres -c "ALTER USER root PASSWORD 'root'"
@@ -220,7 +220,7 @@ libeufin-cli accounts task-schedule nexus-exchange \
 ### configuration of nexus
 echo "5/8 Creating nexus facade for the exchange"
 
-#Expose Bank Integration API 
+#Expose Bank Integration API
 #https://docs.taler.net/core/api-bank-integration.html
 libeufin-cli facades new-taler-wire-gateway-facade \
   --currency $CURRENCY \
@@ -251,7 +251,7 @@ taler-config -s exchange -o base_url -V 
http://exchange.taler/
 
 #database location
 taler-config -s exchangedb-postgres -o config -V postgres:///exchange
-taler-config -s exchange-account-1 -o payto_uri -V 
"payto://iban/$EXCHANGE_IBAN?receiver-name=Exchanger" 
+taler-config -s exchange-account-1 -o payto_uri -V 
"payto://iban/$EXCHANGE_IBAN?receiver-name=Exchanger"
 taler-config -s exchange-account-1 -o enable_debit -V yes
 taler-config -s exchange-account-1 -o enable_credit -V yes
 
@@ -265,7 +265,7 @@ taler-config -s taler -o currency -V $CURRENCY
 taler-config -s taler -o aml_threshold -V $CURRENCY:10000
 taler-config -s taler -o currency_round_unit -V $CURRENCY:0.1
 
-#Generate coins denominations from value 0.1 to 20 
+#Generate coins denominations from value 0.1 to 20
 # * fees by operations: refresh, refund, deposit and withdraw
 #   * no fee for refund, refresh and withdraw
 #   * 0.1 fee for deposit
@@ -278,12 +278,12 @@ taler-harness deployment gen-coin-config \
   --max-amount $CURRENCY:20 >> /etc/taler/taler.conf
 
 # override default withdraw duration to 1 year
-for coinSection in $(taler-config --list-sections | grep COIN); do 
+for coinSection in $(taler-config --list-sections | grep COIN); do
   taler-config -s $coinSection -o duration_withdraw -V "1 year"
 done
 
 #create tables
-taler-exchange-dbinit 
+taler-exchange-dbinit
 
 #start crypto helpers
 taler-exchange-secmod-eddsa -l log.secmod.eddsa -L debug &
@@ -386,7 +386,7 @@ sleep 1
 curl 'http://merchant.taler/management/instances' \
   --unix-socket /var/run/taler/merchant-httpd/merchant-http.sock \
   -X POST -H 'Authorization: Bearer secret-token:secret' \
-  --data-raw 
'{"id":"default","payto_uris":["payto://iban/'$MERCHANT_IBAN'?receiver-name=merchant"],"default_pay_delay":{"d_us":7200000000},"default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us":172800000000},"name":"FSF","email":"","default_max_deposit_fee":"'$CURRENCY':3","default_max_wire_fee":"'$CURRENCY':3","auth":{"method":"token","token":"secret-token:secret"},"address":{},"jurisdiction":{}}'
+  --data-raw 
'{"id":"default","accounts":[{"payto_uri":"payto://iban/'$MERCHANT_IBAN'?receiver-name=merchant"}],"default_pay_delay":{"d_us":7200000000},"default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us":172800000000},"name":"FSF","email":"","default_max_deposit_fee":"'$CURRENCY':3","default_max_wire_fee":"'$CURRENCY':3","auth":{"method":"token","token":"secret-token:secret"},"address":{},"jurisdiction":{}}'
 
 # create a product to be sold
 curl 'http://merchant.taler/instances/default/private/products' \
@@ -399,4 +399,3 @@ read -p "8/8 merchant ready. Press any key to close."
 echo ==========================================================================
 echo ==========================================================================
 echo ==========================================================================
-

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]