-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
394 lines (361 loc) · 16.1 KB
/
Copy pathindex.html
File metadata and controls
394 lines (361 loc) · 16.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>00zeven - Verifiable AI Agents on Zcash</title>
<meta name="description" content="AI agents with shielded wallets. Every action committed to a Merkle tree on Zcash. Proofs verified on any chain.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #060810; color: #c8ccd4; font-family: 'Space Grotesk', sans-serif; }
.mono { font-family: 'JetBrains Mono', monospace; }
a { color: #c9a227; text-decoration: none; }
a:hover { text-decoration: underline; }
.hero {
min-height: 100vh; display: flex; flex-direction: column;
justify-content: center; align-items: center; text-align: center;
padding: 40px 20px; position: relative; overflow: hidden;
}
.hero::before {
content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
background: radial-gradient(ellipse at 50% 30%, rgba(139,92,246,0.08) 0%, transparent 60%),
radial-gradient(ellipse at 20% 80%, rgba(201,162,39,0.05) 0%, transparent 50%);
}
.hero > * { position: relative; z-index: 1; }
.badge {
font-family: 'JetBrains Mono', monospace; font-size: 11px;
color: #c9a227; letter-spacing: 0.15em; text-transform: uppercase;
border: 1px solid #c9a22733; padding: 6px 16px; border-radius: 20px;
margin-bottom: 32px; display: inline-block;
}
h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; color: #eceef1;
letter-spacing: -0.03em; line-height: 1; margin-bottom: 24px; }
h1 span { color: #8b5cf6; }
.subtitle { font-size: clamp(16px, 2.5vw, 22px); color: #6b7385;
max-width: 640px; line-height: 1.6; margin-bottom: 48px; }
.stats {
display: flex; gap: 40px; flex-wrap: wrap; justify-content: center;
margin-bottom: 48px;
}
.stat { text-align: center; }
.stat-value { font-family: 'JetBrains Mono', monospace; font-size: 28px;
font-weight: 700; color: #eceef1; }
.stat-label { font-size: 12px; color: #6b7385; margin-top: 4px;
text-transform: uppercase; letter-spacing: 0.08em; }
.cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta a {
padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 14px;
transition: all 0.2s;
}
.cta-primary { background: #c9a22722; color: #c9a227; border: 1px solid #c9a22744; }
.cta-primary:hover { background: #c9a22744; text-decoration: none; }
.cta-secondary { background: #8b5cf622; color: #8b5cf6; border: 1px solid #8b5cf644; }
.cta-secondary:hover { background: #8b5cf644; text-decoration: none; }
.section { max-width: 900px; margin: 0 auto; padding: 80px 20px; }
.section h2 { font-size: 32px; color: #eceef1; margin-bottom: 16px; font-weight: 700; }
.section .lead { color: #6b7385; font-size: 16px; line-height: 1.7; margin-bottom: 40px; }
.stack {
display: grid; gap: 16px;
}
.stack-layer {
background: #0c0f17; border: 1px solid #181e2a; border-radius: 12px;
padding: 24px; display: flex; align-items: flex-start; gap: 16px;
}
.stack-icon {
width: 40px; height: 40px; border-radius: 8px; display: flex;
align-items: center; justify-content: center; font-size: 18px;
flex-shrink: 0;
}
.stack-icon.capability { background: #c9a22722; color: #c9a227; }
.stack-icon.privacy { background: #8b5cf622; color: #8b5cf6; }
.stack-icon.proof { background: #4a9e9322; color: #4a9e93; }
.stack-icon.cross { background: #e8590722; color: #e85907; }
.stack-content h3 { color: #eceef1; font-size: 16px; margin-bottom: 6px; }
.stack-content p { color: #6b7385; font-size: 14px; line-height: 1.6; }
.code-block {
background: #0c0f17; border: 1px solid #181e2a; border-radius: 12px;
padding: 24px; font-family: 'JetBrains Mono', monospace; font-size: 13px;
color: #c8ccd4; overflow-x: auto; line-height: 1.7; margin: 24px 0;
}
.code-comment { color: #4a5568; }
.code-string { color: #c9a227; }
.code-keyword { color: #8b5cf6; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card {
background: #0c0f17; border: 1px solid #181e2a; border-radius: 12px;
padding: 24px;
}
.card h3 { color: #eceef1; font-size: 15px; margin-bottom: 8px; }
.card p { color: #6b7385; font-size: 13px; line-height: 1.6; }
.card .mono { color: #c9a227; font-size: 12px; }
.live-badge {
display: inline-block; background: #22c55e22; color: #22c55e;
font-size: 10px; padding: 2px 8px; border-radius: 10px;
font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em;
text-transform: uppercase;
}
footer {
text-align: center; padding: 40px 20px; color: #3e4556; font-size: 12px;
border-top: 1px solid #181e2a;
}
footer a { color: #6b7385; }
@media (max-width: 640px) {
.stats { gap: 24px; }
.stat-value { font-size: 22px; }
.section { padding: 60px 16px; }
}
</style>
</head>
<body>
<div class="hero">
<div class="badge">Zcash Attestation Protocol</div>
<h1>00<span>zeven</span></h1>
<p class="subtitle">
AI agents with shielded wallets.
Every action committed to a Merkle tree on Zcash. Proofs verified on any chain.
</p>
<div class="stats" id="live-stats">
<div class="stat">
<div class="stat-value" id="stat-anchors">3</div>
<div class="stat-label">Mainnet anchors</div>
</div>
<div class="stat">
<div class="stat-value" id="stat-leaves">31</div>
<div class="stat-label">Attested events</div>
</div>
<div class="stat">
<div class="stat-value">21</div>
<div class="stat-label">Event types</div>
</div>
<div class="stat">
<div class="stat-value">22</div>
<div class="stat-label">Repos</div>
</div>
</div>
<div class="cta">
<a href="https://github.com/Frontier-Compute/openclaw-zap1" class="cta-primary">Install plugin</a>
<a href="https://github.com/Frontier-Compute/zap1/blob/main/TUTORIAL.md" class="cta-secondary">Tutorial</a>
<a href="/dashboard.html" class="cta-secondary">Live dashboard</a>
</div>
</div>
<div class="section">
<h2>The stack</h2>
<p class="lead">Three layers. One plugin install.</p>
<div class="stack">
<div class="stack-layer">
<div class="stack-icon capability">C</div>
<div class="stack-content">
<h3>Capability <span class="live-badge">OpenClaw</span></h3>
<p>Full agent runtime. Shell, browser, search, code execution, 90+ messaging channels. Any LLM provider. Local-first, cross-platform.</p>
</div>
</div>
<div class="stack-layer">
<div class="stack-icon privacy">P</div>
<div class="stack-content">
<h3>Privacy <span class="live-badge">Orchard</span></h3>
<p>Shielded wallet via Zcash Orchard pool. Balances invisible. Amounts hidden. Counterparties private. </p>
</div>
</div>
<div class="stack-layer">
<div class="stack-icon proof">A</div>
<div class="stack-content">
<h3>Accountability <span class="live-badge">ZAP1 v0.2.0</span></h3>
<p>8 hooks, 14 tools, policy enforcement, session tracking. Every action attested to a BLAKE2b Merkle tree on Zcash mainnet. Proofs verified cross-chain via Solidity.</p>
</div>
</div>
<div class="stack-layer">
<div class="stack-icon cross">V</div>
<div class="stack-content">
<h3>Verification <span class="live-badge">Ethereum</span></h3>
<p>Same proofs verifiable on Ethereum via EIP-152 BLAKE2b precompile. DeFi protocols gate access based on agent behavior. No bridge. No custodian.</p>
</div>
</div>
</div>
</div>
<div class="section">
<h2>Install in 30 seconds</h2>
<div class="code-block">
<span class="code-comment"># Install the plugin</span><br>
openclaw plugins install <span class="code-string">@frontiercompute/openclaw-zap1</span><br>
<br>
<span class="code-comment"># Configure your agent</span><br>
<span class="code-keyword">{</span><br>
<span class="code-string">"agentId"</span>: <span class="code-string">"my-agent"</span>,<br>
<span class="code-string">"apiKey"</span>: <span class="code-string">"your-key"</span><br>
<span class="code-keyword">}</span><br>
<br>
<span class="code-comment"># Every tool call, LLM response, and message</span><br>
<span class="code-comment"># is now attested to Zcash. No code changes.</span>
</div>
</div>
<div class="section">
<h2>What gets attested</h2>
<div class="grid-3">
<div class="card">
<h3>Tool calls</h3>
<p>Every tool the agent invokes. Tool name, input hash, output hash. Anchored to the Merkle tree.</p>
<div class="mono">AGENT_ACTION (0x42)</div>
</div>
<div class="card">
<h3>LLM responses</h3>
<p>Every model output. Model identifier, response hash. Proves the LLM generated the result.</p>
<div class="mono">AGENT_ACTION (0x42)</div>
</div>
<div class="card">
<h3>Messages</h3>
<p>Every outbound message across any channel. Channel ID, message hash. Cross-platform audit trail.</p>
<div class="mono">AGENT_ACTION (0x42)</div>
</div>
<div class="card">
<h3>Identity</h3>
<p>Agent registration. Public key hash, model hash, initial policy hash. On-chain identity.</p>
<div class="mono">AGENT_REGISTER (0x40)</div>
</div>
<div class="card">
<h3>Policy</h3>
<p>Decision rules committed before acting. Spending limits, tool allowlists, counterparty restrictions.</p>
<div class="mono">AGENT_POLICY (0x41)</div>
</div>
<div class="card">
<h3>Sessions</h3>
<p>Session start and end boundaries with action counts. Full audit trail of what happened between login and logout.</p>
<div class="mono">AGENT_ACTION (0x42)</div>
</div>
<div class="card">
<h3>Policy enforcement</h3>
<p>Tool allowlists checked before execution. Blocked actions attested. The agent proves it followed its own rules.</p>
<div class="mono">AGENT_POLICY (0x41)</div>
</div>
<div class="card">
<h3>Cross-chain</h3>
<p>Every proof verifiable on Ethereum. DeFi protocols gate access based on agent track record.</p>
<div class="mono">Sepolia verifier</div>
</div>
</div>
</div>
<div class="section">
<h2>Verify anything</h2>
<div class="code-block">
<span class="code-comment"># Check your agent's attestation history</span><br>
curl <span class="code-string">https://pay.frontiercompute.io/lifecycle/my-agent</span><br>
<br>
<span class="code-comment"># Verify a specific proof</span><br>
curl <span class="code-string">https://pay.frontiercompute.io/verify/{leaf_hash}/check</span><br>
<br>
<span class="code-comment"># Run the full protocol check</span><br>
git clone <span class="code-string">https://github.com/Frontier-Compute/zap1.git</span><br>
bash scripts/check.sh<br>
<br>
<span class="code-comment"># Verify on Ethereum</span><br>
bash examples/verify_crosschain.sh <span class="code-string">{leaf_hash}</span>
</div>
</div>
<div class="section">
<h2>Protocol</h2>
<div class="grid-3">
<div class="card">
<h3>22 repos</h3>
<p>Protocol, verification SDKs (Rust, JS, Solidity), wallet parsers, OpenClaw plugin, memo decoder, explorer, simulator.</p>
</div>
<div class="card">
<h3>21 event types</h3>
<p>7 families: lifecycle, staking, governance, ZSA, mining pool, Crosslink validator, sovereign agents. All deployed on mainnet.</p>
</div>
<div class="card">
<h3>MIT licensed</h3>
<p>Deploy your own instance. One command generates keys, config, and docker-compose. Conformance kit included.</p>
</div>
</div>
</div>
<div class="section">
<h2>Live on Zcash mainnet</h2>
<p class="lead">Real proofs from real agents. Independently verifiable right now.</p>
<div id="live-proof" class="code-block" style="min-height: 120px;">
<span class="code-comment">Loading latest agent attestation from mainnet...</span>
</div>
<div style="display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px;">
<a href="https://pay.frontiercompute.io/anchor/history" class="cta-primary" style="padding: 10px 20px; border-radius: 6px; font-size: 13px;">Anchor history</a>
<a href="https://sepolia.etherscan.io/address/0x3fD65055A8dC772C848E7F227CE458803005C87F" class="cta-secondary" style="padding: 10px 20px; border-radius: 6px; font-size: 13px;">Etherscan contract</a>
<a href="https://frontiercompute.io/bridge.html" class="cta-secondary" style="padding: 10px 20px; border-radius: 6px; font-size: 13px;">Cross-chain demo</a>
</div>
</div>
<div class="section">
<h2>Why this matters</h2>
<div class="stack">
<div class="stack-layer">
<div class="stack-icon capability">1</div>
<div class="stack-content">
<h3>Agents are getting wallets</h3>
<p>Autonomous agents are acquiring wallets. The Open Wallet Standard ships with Zcash integration. Agents will hold and spend ZEC through Orchard. Their financial activity will be invisible.</p>
</div>
</div>
<div class="stack-layer">
<div class="stack-icon privacy">2</div>
<div class="stack-content">
<h3>Invisible operations need visible proof</h3>
<p>A principal deploying an agent needs to know what it did. A counterparty needs to verify the agent follows a policy. An auditor needs a trail. But the wallet is shielded.</p>
</div>
</div>
<div class="stack-layer">
<div class="stack-icon proof">3</div>
<div class="stack-content">
<h3>ZAP1 fills the gap</h3>
<p>Every action committed to a Merkle tree. Roots anchored to Zcash. Proofs verifiable by anyone, on any chain. The agent proves what it did without revealing what it spent.</p>
</div>
</div>
</div>
</div>
<div class="section" style="text-align: center; padding: 40px 20px;">
<h2>Talk to 00zeven</h2>
<p class="lead">Message the agent directly on Signal. Get a trial API key, check proofs, or ask questions. Every interaction attested on-chain.</p>
<a href="https://signal.me/#eu/1sQCFhZ0NBmx2O8JwcqWhxlJ0nMy4nHM7PPQf3eekHIXajdvGoZFnZeAigmqYQC8" class="cta-primary" style="padding: 14px 32px; font-size: 16px;">Message on Signal</a>
</div>
<footer>
<a href="https://github.com/Frontier-Compute/zap1">Protocol</a> ·
<a href="https://github.com/Frontier-Compute/openclaw-zap1">Plugin</a> ·
<a href="https://github.com/Frontier-Compute/zap1-verify-sol">Solidity</a> ·
<a href="https://github.com/Frontier-Compute/zap1/blob/main/TUTORIAL.md">Tutorial</a> ·
<a href="https://sepolia.etherscan.io/address/0x3fD65055A8dC772C848E7F227CE458803005C87F">Etherscan</a> ·
<a href="https://frontiercompute.io">Frontier Compute</a>
<br><br>
Built by <a href="https://github.com/Zk-nd3r">zk_nd3r</a>
</footer>
<script>
fetch('https://pay.frontiercompute.io/stats')
.then(r => r.json())
.then(d => {
document.getElementById('stat-anchors').textContent = d.total_anchors;
document.getElementById('stat-leaves').textContent = d.total_leaves;
})
.catch(() => {});
// Load latest agent events
fetch('https://pay.frontiercompute.io/events?limit=5')
.then(r => r.json())
.then(d => {
const el = document.getElementById('live-proof');
const events = d.events || [];
const agentEvents = events.filter(e =>
e.event_type.startsWith('AGENT_') ||
e.event_type === 'GOVERNANCE_PROPOSAL' ||
e.event_type === 'GOVERNANCE_VOTE'
);
const show = agentEvents.length > 0 ? agentEvents : events.slice(0, 3);
let html = '<span class="code-comment">Latest attestations from Zcash mainnet:</span>\n\n';
show.forEach(e => {
const type = e.event_type;
const hash = e.leaf_hash.slice(0, 20) + '...';
const desc = e.description || type;
html += `<span class="code-keyword">${type}</span> <span class="code-string">${hash}</span> ${desc}\n`;
});
html += '\n<span class="code-comment">Each leaf is independently verifiable via the proof path.</span>';
el.innerHTML = html;
})
.catch(() => {
document.getElementById('live-proof').innerHTML =
'<span class="code-comment">Connect to pay.frontiercompute.io to see live attestations.</span>';
});
</script>
</body>
</html>