From 14ef3a1cbe6966f8fde8abb0c76958f348d81caa Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 5 Feb 2024 14:05:19 +0100 Subject: [PATCH] TODATENS --- README.md | 8 ++++---- RUNTIME/UPLANET.refresh.sh | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fb9be1da..3189bb6f 100644 --- a/README.md +++ b/README.md @@ -366,19 +366,19 @@ GET /?player=${PLAYER}&moa=json&tag=G1CopierYoutube check available "logo.png" in [./images](./images) ## ➤ UPLANET : Create Umap, AstroID & ZenCard for PLAYER (email) -### ```/?uplanet=${PLAYER}&salt=${LAT}&pepper=${LON}&g1pub=${PASS}``` +### ```/?uplanet=${PLAYER}&zlat=${LAT}&zlon=${LON}&g1pub=${PASS}``` | Parameter | Type | Description | | :-------- | :------- | :-------------------------------- | | `uplanet` | `email` | **Required** Your EMAIL token | -| `salt` | `decimal` | **Required** LATITUDE with 2 decimals digits | -| `pepper` | `decimal` | **Required** LONGITUDE with 2 decimals digits | +| `zlat` | `decimal` | **Required** LATITUDE with 2 decimals digits | +| `zlon` | `decimal` | **Required** LONGITUDE with 2 decimals digits | | `g1pub` | `string` | **Facultative** choose Umap AstroID PASS | Create à Umap key (LAT/LON), then a PLAYER TW with GPS as Umap IPNS reference This API is used by OSM2IPFS code. -UPlanet Entrance : https://qo-op.com +* [UPlanet Entrance](https://qo-op.com) ### ➤ QRCODE (API SandBox) ```http diff --git a/RUNTIME/UPLANET.refresh.sh b/RUNTIME/UPLANET.refresh.sh index 8c746812..e532a004 100755 --- a/RUNTIME/UPLANET.refresh.sh +++ b/RUNTIME/UPLANET.refresh.sh @@ -180,7 +180,7 @@ echo "" > ~/ COINS=$($MY_PATH/../tools/COINScheck.sh ${SECTORG1PUB} | tail -n 1) echo "SECTOR : ${SECTOR} (${COINS} G1) WALLET : ${SECTORG1PUB}" - ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${SECTOR}.priv "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}" + ${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${SECTOR}.priv "${TODATE}${UPLANETNAME}${SECTOR}" "${TODATE}${UPLANETNAME}${SECTOR}" ipfs key rm ${SECTORG1PUB} > /dev/null 2>&1 ## AVOID ERROR ON IMPORT SECTORNS=$(ipfs key import ${SECTORG1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${SECTOR}.priv) ipfs key rm ${SECTORG1PUB} @@ -232,8 +232,8 @@ echo "" > ~/ ################################## ## OSM2IPFS ### UMAP = 0.01° Planet Slice - UMAPGEN="${EARTHCID}/Umap.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${UMAPNS}/_index.html" - USATGEN="${EARTHCID}/Usat.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${UMAPNS}/_index.html" + UMAPGEN="${EARTHCID}/Umap.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${TODATENS}/_index.html" + USATGEN="${EARTHCID}/Usat.html?southWestLat=${LAT}&southWestLon=${LON}°=0.01&ipns=${TODATENS}/_index.html" echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/Umap.html echo "" > ~/.zen/tmp/${MOATS}/${UMAP}/Usat.html