diff --git a/RUNTIME/VISA.new.sh b/RUNTIME/VISA.new.sh index 1f712d85..c509f2b4 100755 --- a/RUNTIME/VISA.new.sh +++ b/RUNTIME/VISA.new.sh @@ -282,6 +282,7 @@ sed -i "s~_ASTRONAUTENS_~/ipns/${ASTRONAUTENS}~g" ~/.zen/game/players/${PLAYER}/ cat ${MY_PATH}/../templates/data/AstroID.json \ | sed -e "s~/ipfs/bafybeifbebc3ewnzrzbm44arddedbralegnxklhua5d5ymzaqtf2kaub7i~${ASTROQR}~g" \ -e "s~_PLAYER_~${PLAYER}~g" \ + -e "s~_MOATS_~${MOATS}~g" \ -e "s~_G1PUB_~${G1PUB}~g" \ -e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \ -e "s~_HPASS_~${HPASS}~g" \ diff --git a/RUNTIME/VOEUX.refresh.sh b/RUNTIME/VOEUX.refresh.sh index 82c9ccc2..2879cc5e 100755 --- a/RUNTIME/VOEUX.refresh.sh +++ b/RUNTIME/VOEUX.refresh.sh @@ -317,8 +317,12 @@ if [[ ${wishnumbers} -gt 0 ]]; then echo "GRATITUDE ${GRATITUDE} ZEN (${G1AMOUNT} G1) to UMAP_${LAT}_${LON} WALLET ${UMAPG1PUB}" echo "************************************************************" + YUSER=$(echo ${PLAYER} | cut -d '@' -f1) # YUSER=geg-la_debrouille + LYUSER=($(echo "$YUSER" | sed 's/[^a-zA-Z0-9]/\ /g')) # LYUSER=(geg la debrouille) + CLYUSER=$(printf '%s\n' "${LYUSER[@]}" | tac | tr '\n' '.' ) # CLYUSER=debrouille.la.geg. + YOMAIN=$(echo ${PLAYER} | cut -d '@' -f 2) # YOMAIN=super.chez-moi.com MYWISHFLUX=$(ipfs add -qHwr ~/.zen/tmp/${IPFSNODEID}/WISH/${PLAYER}/g1voeu/* | tail -n 1) # ADDING JSONS TO IPFS - ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/${PLAYER}/secret.dunikey" "${G1AMOUNT}" "${UMAPG1PUB}" "UPLANET:UWISH:${PLAYER}:/ipfs/${MYWISHFLUX}" + ${MY_PATH}/../tools/PAY4SURE.sh "${HOME}/.zen/game/players/${PLAYER}/secret.dunikey" "${G1AMOUNT}" "${UMAPG1PUB}" "UPLANET:UWISH:$CLYUSER$YOMAIN:/ipfs/${MYWISHFLUX}" fi ################################################ ################################################ GRATITUDE SENT TO SECTOR diff --git a/templates/data/AstroID.json b/templates/data/AstroID.json index f44bd6db..50acef02 100644 --- a/templates/data/AstroID.json +++ b/templates/data/AstroID.json @@ -1 +1,17 @@ -[{"created":"20230227185225098","text":"","creator":"_PLAYER_","title":"AstroID","type":"image/png","modified":"20231009130017694","modifier":"_PLAYER_","tags":"$:/isAttachment _PLAYER_ $:/isIpfs G1AstroID","_canonical_uri":"/ipfs/bafybeifbebc3ewnzrzbm44arddedbralegnxklhua5d5ymzaqtf2kaub7i","PASS":"_PASS_","HPASS":"_HPASS_","g1pub":"_G1PUB_","astronautens":"_ASTRONAUTENS_"}] +[ + { + "created": "20230227185225098", + "text": "", + "creator": "_PLAYER_", + "title": "AstroID", + "type": "image/png", + "modified": "20231009130017694", + "modifier": "_PLAYER_", + "tags": "$:/isAttachment _PLAYER_ $:/isIpfs ToDelete", + "_canonical_uri": "/ipfs/bafybeifbebc3ewnzrzbm44arddedbralegnxklhua5d5ymzaqtf2kaub7i", + "PASS": "_PASS_", + "HPASS": "_HPASS_", + "g1pub": "_G1PUB_", + "astronautens": "_ASTRONAUTENS_" + } +]