From 4f19e9a7f5ab794a7ce099b9732cf42b6f3312ab Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 2 Jan 2024 16:18:06 +0100 Subject: [PATCH] ReadMe --- README.md | 41 ++++------------------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 1a083e8e..4b7ba900 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ USE "[astro.js](templates/ZenStation/G1PalPay_fichiers/astro.js)" ``` -## ➤ PRIVATE ZONE (fonctionne sur toutes les Stations.) +## ➤ SALT API ### ```/?salt=${SALT}&pepper=${PEPPER}&${APPNAME}=${WHAT}&${OBJ}=${VAL}...``` ### Créer (ou téléporter) un PLAYER TW : OFFICIAL <3BOX : @@ -337,7 +337,7 @@ GET /?salt=${SALT}&pepper=${PEPPER}&pay=1&g1pub=DsEx1pS33vzYZg4MroyBV9hCw98j1gtH | `pay` | `integer` | **Required** G1 AMOUNT | | `g1pub` | `G1PUB` | **Required** destination "wallet key" | -## ➤ PLAYER ZONE (disponible uniquement sur la Station qui héberge ${PLAYER}) +## ➤ PLAYER (works only on LAN Station) ### ```/?player=${PLAYER}&${APPNAME}=${WHAT}&${OBJ}=${VAL}...``` ### Exporter Tiddlers.json depuis son TW selon valeur des "tags" ( ici TAG=G1CopierYoutube) @@ -351,17 +351,7 @@ GET /?player=${PLAYER}&moa=json&tag=G1CopierYoutube | `moa` | `string` | **Required** APP = output format | | `tag` | `${VAL}` | TW filtering default G1CopierYoutube | - -### Lancer la copie d'une URL (youtube | pdf ) par PLAYER dans son TW -```http -GET /?player=${PLAYER}&youtube=URLENCODED -``` - -| Parameter | Type | Description | -| :-------- | :------- | :-------------------------------- | -| `player` | `string` | **Required**. Your EMAIL token | -| `youtube or pdf` | `string` | **Required** URL kind = URL | - +> CAN BE EXTENDED ## ➤ AMZQR : Create a QRCode with "amzqr" ### ```/?amzqr=${URLENCODEDSTRING}&logo=${IMAGE}``` @@ -388,7 +378,7 @@ This API is used by OSM2IPFS code. DEMO : https://ipfs.copylaradio.com/ipns/copylaradio.com -### QRCODE (API SandBox) +### ➤ QRCODE (API SandBox) ```http GET /?qrcode=${G1PUB} | ${ASTRONAUTENS} | ${PGP_ASTROID_STRING} ``` @@ -398,29 +388,6 @@ GET /?qrcode=${G1PUB} | ${ASTRONAUTENS} | ${PGP_ASTROID_STRING} > Look for details & extend as you like in [~/.zen/Astroport.ONE/API/QRCODE.sh](API/QRCODE.sh) -### CODE BEHAVIOUR. monitor && rewards || fork signal - -* Is IPNS key & PLAYER is local ? Redirect to [make a ASTROID (security level 6)](http://g1billet.localhost:33101/?montant=0&style=xbian&dice=6) - -* Is G1*? Redirect to G1WishApp / Export Tagged Tiddlers json from TW - -[http://astroport.localhost:1234/?qrcode=G1G1Serie&tw=k51qzi5uqu5dgobi9ozzzvdftqfd3hd7a1488nzymky1edz8j779jov7sbemc0](https://astroport.copylaradio.com/?qrcode=G1G1Serie&tw=k51qzi5uqu5dgobi9ozzzvdftqfd3hd7a1488nzymky1edz8j779jov7sbemc0) -redirect to -[http://ipfs.localhost:8080/ipns/k51qzi5uqu5din47zmnzk6tmk1tjqaeaj9pbb3qilmstbsf9uyc12qpdmigtd3/](https://ipfs.asycn.io/ipns/k51qzi5uqu5din47zmnzk6tmk1tjqaeaj9pbb3qilmstbsf9uyc12qpdmigtd3/) - -[http://astroport.localhost:1234/?qrcode=G1G1Serie&tw=k51qzi5uqu5dgobi9ozzzvdftqfd3hd7a1488nzymky1edz8j779jov7sbemc0&json](https://astroport.copylaradio.com/?qrcode=G1G1Serie&tw=k51qzi5uqu5dgobi9ozzzvdftqfd3hd7a1488nzymky1edz8j779jov7sbemc0&json) -redirect to pure "tag=" result json - -* Is G1PUB ... (FROM NEW ASTROID or empty G1BILLET) - - * If balance is "null" : Send 1 G1 (G1BILLET) - * if GChange+ account exists : send 10 G1 - * if Cesium+ account exists : send 50 G1 - -* Is ASTROID - * decode with PASS and make operation (same functions as SALT API are available) - - ## The Art of key derivation, chaining & use In order to make (a little) clear how we use cryptography,