document, add circuit diagram

This commit is contained in:
2024-12-30 10:35:34 +01:00
parent 28aca46a46
commit 2477471560
11 changed files with 156 additions and 116 deletions

View File

@@ -5,7 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ETHdos fold</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
@@ -69,29 +68,26 @@
</div>
<div class="col-md-6 box">
<h2 class="text-center mb-4">ETHdos fold</h2>
<p style="font-style:italic;font-size:80%;" class="text-center">(simple browser demo)</p>
<p>Follows the ideas of ETHdos (<a target="_blank" href="https://ethdos.xyz/blog">https://ethdos.xyz/blog</a>), but using Folding Schemes.</p>
<p style="font-size:90%;">It uses <a target="_blank" href="https://github.com/privacy-scaling-explorations/sonobe">Sonobe</a> under the hood, compiled to WASM.</a>
<p style="font-style:italic;font-size:80%;">
Current version does not parallelize in wasm. Same execution can be run natively (no wasm), instructions <a target="_blank" href="https://github.com/arnaucube/ethdos-fold">in the repo</a>.<br>
In the same laptop, natively takes ~290ms per step, in-browser takes ~1700ms per step.
Current version does not parallelize in wasm. Same execution can be run natively (no wasm), instructions <a target="_blank" href="https://github.com/arnaucube/ethdos-fold">in the ethdos-fold repo</a>.<br>
</p>
<button id="btn_gen_params" class="btn btn-primary">1. gen_params</button>
<div class="mb-3">
<!-- <label for="params" class="form-label">params:</label> -->
<textarea id="params" class="form-control" rows="3">params</textarea>
</div>
<div class="mb-3">
<button id="btn_gen_sigs" class="btn btn-primary">2. gen_sigs</button><br>
<!-- <label for="sigs" class="form-label">sigs and pks:</label> -->
<textarea id="sigs" class="form-control" rows="3">sigs and pks</textarea>
</div>
<div class="mb-3">
<button id="btn_fold_sigs" class="btn btn-primary">3. fold_sigs</button><br>
<!-- <label for="ivc_proof" class="form-label">ivc proof:</label> -->
<textarea id="ivc_proof" class="form-control" rows="3">ivc proof</textarea>
</div>
<button id="btn_verify_proof" class="btn btn-primary">4. verify_proof</button>
@@ -108,7 +104,6 @@
</div>
</div>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script type="module">