BRO system
This commit is contained in:
parent
ba40f680c3
commit
b83852a172
|
@ -377,7 +377,7 @@ else
|
||||||
## G1 PAYEMENT
|
## G1 PAYEMENT
|
||||||
$MY_PATH/../tools/jaklis/jaklis.py \
|
$MY_PATH/../tools/jaklis/jaklis.py \
|
||||||
-k ~/.zen/game/players/.current/secret.dunikey pay \
|
-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 +
|
## MESSAGE CESIUM +
|
||||||
$MY_PATH/../tools/jaklis/jaklis.py \
|
$MY_PATH/../tools/jaklis/jaklis.py \
|
||||||
|
|
|
@ -77,11 +77,13 @@ Nous mettons un TW dans une clef.
|
||||||
# "OPEN API" : "♥BOX"
|
# "OPEN API" : "♥BOX"
|
||||||
## http://astroport.localhost:1234
|
## 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 1234 publie API (REPONSE PORT TCP 12145 12445 )
|
||||||
* le port 12345 publie MAP(*) (JSON STATION CACHE IPNS KEY)
|
* le port 12345 publie MAP(*) (JSON STATION CACHE IPNS KEY)
|
||||||
* le port 33101 publie G1BILLETS (REPONSE PORT TCP 33102)
|
* 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 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".
|
Astroport utilise l'outil réseau le plus simple "netcat". Il s'agit d'un moteur STEP donnant accès à une "OPEN API".
|
||||||
|
|
|
@ -325,8 +325,8 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}"
|
||||||
--import ~/.zen/tmp/${MOATS}/lightbeam-natools.json "application/json" \
|
--import ~/.zen/tmp/${MOATS}/lightbeam-natools.json "application/json" \
|
||||||
--import ~/.zen/tmp/${MOATS}/local.api.json "application/json" \
|
--import ~/.zen/tmp/${MOATS}/local.api.json "application/json" \
|
||||||
--import ~/.zen/tmp/${MOATS}/local.gw.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 "$MY_PATH/../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_gateway.json" "application/json" \
|
||||||
--output ~/.zen/tmp/${MOATS} --render "$:/core/save/all" "tw.html" "text/plain"
|
--output ~/.zen/tmp/${MOATS} --render "$:/core/save/all" "tw.html" "text/plain"
|
||||||
|
|
||||||
[[ -s ~/.zen/tmp/${MOATS}/tw.html ]] \
|
[[ -s ~/.zen/tmp/${MOATS}/tw.html ]] \
|
||||||
|
@ -339,8 +339,8 @@ DISCO="/?salt=${USALT}&pepper=${UPEPPER}"
|
||||||
## MAKE IMAGE AVATAR WITH G1PUB QRCODE
|
## MAKE IMAGE AVATAR WITH G1PUB QRCODE
|
||||||
if [[ $(which amzqr) ]]; then
|
if [[ $(which amzqr) ]]; then
|
||||||
|
|
||||||
GIMG="$HOME/.zen/Astroport.ONE/images/moa_net.png"
|
GIMG="$MY_PATH/../images/moa_net.png"
|
||||||
CIMG="$HOME/.zen/Astroport.ONE/images/g1ticket.png"
|
CIMG="$MY_PATH/../images/g1ticket.png"
|
||||||
|
|
||||||
# QRG1avatar.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}/
|
[[ ! -s ~/.zen/game/players/${PLAYER}/QRG1avatar.png ]] && amzqr ${G1PUB} -l H -p "$CIMG" -c -n QRG1avatar.png -d ~/.zen/game/players/${PLAYER}/
|
||||||
|
|
Loading…
Reference in New Issue