# Makes your G1Wishes collide : merge and fork. G1Voeu derivated keys system)

This commit is contained in:
fred 2023-02-27 19:17:24 +01:00
parent bb829938cf
commit ec52ea6366
2 changed files with 80 additions and 5 deletions

View File

@ -23,7 +23,8 @@ network that players exchange through TW and Oasis.
## Fred Story
In 2018, following @Hugo-Trentesaux's example, I decided to refuse to have a profession to get € to live, and thanks to the RSA, transformed my apartment in Toulouse into a "G1FabLab" to realize several prototypes and experiments around the use and practice of G1.
In 2018, when most of my job oportunies were about Blockchain and IoT aiming to monitor anything... I understood that we should go with great advice in this new age. So.
I decided to refuse to have a profession to get € to live, and thanks to the RSA, transformed my apartment in Toulouse into a "G1FabLab" to realize several prototypes and experiments around the use and practice of G1.
Several prototypes developed on small computers (RaspberryPi ZeroW, 3B and 4B) appeared.
@ -69,5 +70,10 @@ With @aya the creator of Olympe Network, we are aware of this mutation. We have
From this association has just been born "THE ♥BOX", a software and network service that allows you to save your favorite "Youtube" channel or playlist. All these data are saved in "The Claude", a hybrid software using our keys so we can host and own the data we publish.
To try online with an email and a link to keep...
```
# Manipulate TW with tiddlywiki
~/.zen/game/players/*/ipfs/moa/index.html
# Makes your G1Wishes collide : merge and fork. G1Voeu derivated keys system)
~/.zen/game/world/*/.pepper
```
https://astroport.copylaradio.com

View File

@ -1,4 +1,6 @@
<html><head>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="icon" type="image/x-icon" href="https://ipfs.copylaradio.com/ipfs/QmNwECbSL6xihpS2QLpts8a8Boekk3rEVGeySuzg83jTDA/favicon.ico">
<title>Astroport.ONE - SAVE PLANET EARTH - IPFS / La<3BOX / IRL GAMING made by LaSTI /</title>
@ -10,13 +12,77 @@
</head>
<body>
<h1>SCANNEZ VOTRE QRCODE (<a href="https://cesium.app" target=_blank>CESIUM</a>)</h1>
<div class="subtitle">Présentez votre "G1Key"<br>Passeport TERRE</div>
<div id="demo">
<div id="description">
<center>
<h1>SCANNEZ VOTRE QRCODE (<a href=https://cesium.app>CESIUM</a>)</h1>
<video id="preview" style="transform: scaleX(-1);width: 240px;height: 240px;" autoplay="autoplay" class="active"></video>
<script type="text/javascript">
// BORIS STUFF COMES HERE
function cacheIt (appName, hash, nodeId = '') {
var gatewayProtocol = 'http';
var gatewayDomain = 'ipfs.localhost';
var gatewayPort = '1234';
var salt = 'totodu56';
var pepper = 'totodu56';
var query = 'salt='+ salt
query += '&pepper='+ pepper
query += '&' + appName
query += '&nodeid=' + nodeId
query += '&dataid=' + hash;
var fullURL = 'http://'+ gatewayDomain +':'+ gatewayPort + '/?' + query;
console.log(fullURL)
const controller = new AbortController()
const timeoutId = setTimeout( () => {
controller.abort()
}, 15000)
var fetchOpts = {
method: 'GET',
headers: {
'Accept': 'text/html'
// ,'Content-Type': 'text/html'
// // ,'Access-Control-Allow-Origin': '*',
// ,'Origin': 'la-bureautique'
// ,'Referrer-Policy': 'unsafe-url'
// ,'Redirect': 'manual'
},
signal: controller.signal
}
fetch(fullURL, fetchOpts)
.then(reponse => {
return reponse.text()
})
.then(html => {
// console.log(html)
var regex = /url='([^']+)/i;
var redirectURL = html.match(regex)[1]
return redirectURL
})
.then(url => {
console.log(url)
})
// JSON.stringify(json)
}
// BORIS STUFF COMES HERE
let scanner = new Instascan.Scanner({ video: document.getElementById('preview') });
scanner.addListener('scan', function (content) {
@ -27,7 +93,7 @@
type: 'GET'
});
//
// BORIS STUFF COMES HERE
});
@ -54,4 +120,7 @@
<h2> - Activez votre Capsule IPFS - </h2>
</center>
</div>
</div>
</body></html>