From b83852a172aee277f674c0663809641631d41869 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 31 Mar 2023 17:47:28 +0200 Subject: [PATCH] BRO system --- API/QRCODE.sh | 2 +- README.md | 4 +++- tools/VISA.new.sh | 8 ++++---- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/API/QRCODE.sh b/API/QRCODE.sh index 4c940d2b..47cade6e 100755 --- a/API/QRCODE.sh +++ b/API/QRCODE.sh @@ -377,7 +377,7 @@ else ## G1 PAYEMENT $MY_PATH/../tools/jaklis/jaklis.py \ -k ~/.zen/game/players/.current/secret.dunikey pay \ - -a ${PALPE} -p ${QRCODE} -c "ASTRO:${RANDOM}:ZEN_00${PALPE}00" -m + -a ${PALPE} -p ${QRCODE} -c "ASTRO:BRO:" -m ## MESSAGE CESIUM + $MY_PATH/../tools/jaklis/jaklis.py \ diff --git a/README.md b/README.md index 9044c2ab..a0ac3565 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,13 @@ Nous mettons un TW dans une clef. # "OPEN API" : "♥BOX" ## http://astroport.localhost:1234 -Une fois votre Station Astroport démarrée (```~/.start.sh```): +Une fois votre Station Astroport démarrée: * le port 1234 publie API (REPONSE PORT TCP 12145 12445 ) * le port 12345 publie MAP(*) (JSON STATION CACHE IPNS KEY) * le port 33101 publie G1BILLETS (REPONSE PORT TCP 33102) +* le port 8080, 4001 et 5001 sont ceux de la passerelle IPFS + ⚠ ASTROPORT NETCAT SYSTEM ⚠ Astroport utilise l'outil réseau le plus simple "netcat". Il s'agit d'un moteur STEP donnant accès à une "OPEN API". diff --git a/tools/VISA.new.sh b/tools/VISA.new.sh index bf5a552c..f7bad862 100755 --- a/tools/VISA.new.sh +++ b/tools/VISA.new.sh @@ -325,8 +325,8 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" --import ~/.zen/tmp/${MOATS}/lightbeam-natools.json "application/json" \ --import ~/.zen/tmp/${MOATS}/local.api.json "application/json" \ --import ~/.zen/tmp/${MOATS}/local.gw.json "application/json" \ - --import "$HOME/.zen/Astroport.ONE/templates/tw/\$ _ipfs_saver_api.json" "application/json" \ - --import "$HOME/.zen/Astroport.ONE/templates/tw/\$ _ipfs_saver_gateway.json" "application/json" \ + --import "$MY_PATH/../templates/tw/\$ _ipfs_saver_api.json" "application/json" \ + --import "$MY_PATH/../templates/tw/\$ _ipfs_saver_gateway.json" "application/json" \ --output ~/.zen/tmp/${MOATS} --render "$:/core/save/all" "tw.html" "text/plain" [[ -s ~/.zen/tmp/${MOATS}/tw.html ]] \ @@ -339,8 +339,8 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}" ## MAKE IMAGE AVATAR WITH G1PUB QRCODE if [[ $(which amzqr) ]]; then - GIMG="$HOME/.zen/Astroport.ONE/images/moa_net.png" - CIMG="$HOME/.zen/Astroport.ONE/images/g1ticket.png" + GIMG="$MY_PATH/../images/moa_net.png" + CIMG="$MY_PATH/../images/g1ticket.png" # QRG1avatar.png [[ ! -s ~/.zen/game/players/${PLAYER}/QRG1avatar.png ]] && amzqr ${G1PUB} -l H -p "$CIMG" -c -n QRG1avatar.png -d ~/.zen/game/players/${PLAYER}/