41 lines
2.4 KiB
HTML
41 lines
2.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="Twist, a modular Kotlin network and contract implementation.">
|
|
<title>Twist</title>
|
|
<style>
|
|
:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #0b1020; color: #e5edf8; }
|
|
body { max-width: 960px; margin: 0 auto; padding: 5rem 1.25rem; }
|
|
h1 { font-size: clamp(3rem, 10vw, 6rem); margin: 0; color: #a78bfa; }
|
|
h2 { color: #c4b5fd; margin-top: 2.5rem; }
|
|
p { max-width: 70ch; line-height: 1.6; color: #cbd5e1; }
|
|
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
|
|
article { padding: 1.25rem; border: 1px solid #334155; border-radius: .75rem; background: #121a2d; }
|
|
code, a { color: #5eead4; }
|
|
footer { margin-top: 4rem; color: #94a3b8; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<p>Modular Kotlin protocol implementation</p>
|
|
<h1>Twist</h1>
|
|
<p>
|
|
A local-first network and smart-contract laboratory with persistent state, content-addressed
|
|
metadata, bytecode execution, peer networking, decentralized identifiers, and off-chain jobs.
|
|
</p>
|
|
<section class="grid" aria-label="Project components">
|
|
<article><h2>Node</h2><p>TCP peer handshake, framed broadcast, persistent state, and basic consensus checks.</p></article>
|
|
<article><h2>Contracts</h2><p>256-bit metered VM, Lisp IR compiler, capability checks, and Twisto example token.</p></article>
|
|
<article><h2>Identity</h2><p><code>did:key</code> documents plus explicitly gated <code>did:twist</code> overlay identities.</p></article>
|
|
<article><h2>Tools</h2><p>CPU mining, staking, peer reflection, static API documentation, and repeatable Just recipes.</p></article>
|
|
</section>
|
|
<h2>Run locally</h2>
|
|
<p><code>just up</code> builds the tools, deploys Twisto metadata, records a stake, indexes the bootstrap peer, mines a bounded proof, and starts a TCP node.</p>
|
|
<p><code>just docs</code> writes generated SmartDoc pages to <code>build/docs/api</code>.</p>
|
|
<p><a href="../build/docs/api/index.html">Generated API documentation</a></p>
|
|
</main>
|
|
<footer>Experimental software. It is not an audited production network.</footer>
|
|
</body>
|
|
</html>
|