open-standards/sandbox/sandbox-rs/crates/sandbox-proof-wasm/browser/index.html
Transaction Science ba1212361f Add aac, map, sandbox standards; catalog the standards family
Commit the previously-untracked standard directories and catalog them in the
root README alongside proof:

- aac/    — communication cargo class: portable boards + a ten-level
            offline-first cascade (Apache-2.0 code / CC-BY-4.0 spec).
- map/    — geospatial cargo class: range-requestable signed tilesets +
            an F0–F4 fidelity cascade (Apache-2.0 code / CC-BY-4.0 spec).
- sandbox/— isolated, metered, attested execution across the heterogeneous
            compute fabric (Apache-2.0 code / CC-BY-4.0 spec).
- jouleclaw-otel-authz, jouleclaw-trust — new jouleclaw reference crates.

Root README now lists aac, map, sandbox, and proof in the catalog, the tree,
and the contribution guide.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-07 17:04:36 -04:00

23 lines
754 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Sandbox — in-browser proof cell</title>
</head>
<body>
<pre id="out">running…</pre>
<script type="module">
import init, { prove } from "../pkg/sandbox_proof_wasm.js";
// The wasm isolate has no clock; the page supplies wall-clock micros.
const at_us = Date.now() * 1000;
init().then(() => {
const json = prove(at_us);
window.__SANDBOX_CELL__ = json; // picked up by the Playwright runner
document.getElementById("out").textContent = json;
}).catch((e) => {
window.__SANDBOX_CELL__ = JSON.stringify({ error: String(e) });
document.getElementById("out").textContent = String(e);
});
</script>
</body>
</html>