-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
1168 lines (1108 loc) · 101 KB
/
Copy pathindex.html
File metadata and controls
1168 lines (1108 loc) · 101 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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sluice · Casper events, the moment they land</title>
<meta name="description" content="Sluice pushes every matching Casper event to your webhook, your AI agent (MCP), or your dashboard (WebSocket) in under a second, median webhook dispatch under ~150 ms on testnet. No polling. No indexer. No glue code.">
<link rel="canonical" href="https://sluice.unitynodes.com/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Sluice">
<meta property="og:url" content="https://sluice.unitynodes.com/">
<meta property="og:title" content="Sluice · Casper events, the moment they land">
<meta property="og:description" content="Sluice pushes every matching Casper event to your webhook, your AI agent via MCP, or your dashboard via WebSocket. Median webhook dispatch under ~150 ms on testnet, typically well under a second.">
<meta property="og:image" content="https://sluice.unitynodes.com/og.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="Sluice: Casper events, the moment they land. Push delivery to a webhook, an AI agent over MCP, or a dashboard, with a median webhook dispatch under 150 milliseconds on testnet.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Sluice · Casper events, the moment they land">
<meta name="twitter:description" content="Push delivery to your webhook, your AI agent over MCP, or your dashboard over WebSocket. Median webhook dispatch under ~150 ms on testnet. No polling, no indexer.">
<meta name="twitter:image" content="https://sluice.unitynodes.com/og.jpg">
<meta name="twitter:image:alt" content="Sluice: Casper events, the moment they land.">
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 24 24%22%3E%3Crect width%3D%2224%22 height%3D%2224%22 fill%3D%22%23000%22/%3E%3Cpolygon points%3D%2210%2C7 17%2C12 10%2C17%22 fill%3D%22%23bcfc07%22/%3E%3C/svg%3E">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
@font-face {
font-family: 'Casper Sans';
src: url('https://cdn.prod.website-files.com/668fef77d8ac075ed5e3f57a/669e9356044f833870fa154e_CasperSans-Light.woff2') format('woff2');
font-weight: 300; font-display: swap;
}
@font-face {
font-family: 'Casper Sans';
src: url('https://cdn.prod.website-files.com/668fef77d8ac075ed5e3f57a/669e9356e52d55b6d0c78fce_CasperSans-Regular.woff2') format('woff2');
font-weight: 400; font-display: swap;
}
@font-face {
font-family: 'Casper Sans';
src: url('https://cdn.prod.website-files.com/668fef77d8ac075ed5e3f57a/669e9356732f668b7ff62d68_CasperSans-Medium.woff2') format('woff2');
font-weight: 500; font-display: swap;
}
body { margin: 0; background: #f4f4f4; font-family: 'Casper Sans', Inter, system-ui, sans-serif; color: #000; -webkit-font-smoothing: antialiased; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(188,252,7,.55); } 50% { box-shadow: 0 0 0 8px rgba(188,252,7,0); } }
@keyframes pulse-green { 0%,100% { box-shadow: 0 0 0 0 rgba(62,220,100,.5); } 50% { box-shadow: 0 0 0 6px rgba(62,220,100,0); } }
@keyframes sluice-dot-pulse { 0%,100% { transform: scale(1); opacity:.9 } 50% { transform: scale(1.35); opacity:.4 } }
::selection { background: #bcfc07; color: #000; }
a { color: inherit; }
/* ───────── MOBILE PASS (≤ 880px) ─────────
* Targets inline grid-template-columns via attribute selectors so we don't
* have to refactor every section. Pads shrink, multi-col grids stack.
*/
@media (max-width: 880px) {
nav > div { padding-left: 16px !important; padding-right: 16px !important; gap: 12px !important; flex-wrap: wrap; height: auto !important; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
.agent-grid { grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
nav > div > div[style*="display:flex;gap:2px"] { order: 99; flex-basis: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; gap: 4px; }
nav a[href="/app"] { padding: 8px 14px !important; font-size: 13px !important; }
/* one-column stacks for hero, two-audience, code, transparency, workspace, mcp-demo, v0.1 limits, final CTA */
section [style*="grid-template-columns:minmax(0,1.1fr)"],
section [style*="grid-template-columns:minmax(0,.9fr)"],
section [style*="grid-template-columns:minmax(0,.7fr)"],
section [style*="grid-template-columns:1fr 1fr"],
section [style*="grid-template-columns:.8fr 1.2fr"],
section [style*="grid-template-columns:.9fr 1.1fr"],
section [style*="grid-template-columns:.7fr 1.3fr"],
section [style*="grid-template-columns:1.4fr 1fr"],
footer [style*="grid-template-columns:1.6fr 1fr 1fr 1fr 1fr"] {
grid-template-columns: 1fr !important;
gap: 24px !important;
}
footer [style*="grid-template-columns:1.6fr 1fr 1fr 1fr 1fr"] {
grid-template-columns: 1fr 1fr !important;
gap: 32px 20px !important;
}
/* numbers strip 4 → 2x2; how-it-works 3 → 1 */
section [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
section [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
/* trim section padding so content uses the screen */
section > div[style*="padding:88px"],
section > div[style*="padding:96px"],
section > div[style*="padding:120px"],
section > div[style*="padding:80px"] {
padding: 56px 18px !important;
}
section > div[style*="padding:64px 32px 28px"] { padding: 40px 18px 20px !important; }
/* hero typography */
h1[style*="clamp(44px,7.4vw,104px)"] { font-size: clamp(32px, 9vw, 56px) !important; line-height: 1 !important; }
h2[style*="clamp(44px,6.5vw,88px)"] { font-size: clamp(30px, 8.5vw, 48px) !important; }
h2[style*="clamp(40px,5.4vw,72px)"],
h2[style*="clamp(36px,4.6vw,60px)"],
h2[style*="clamp(36px,4.3vw,56px)"],
h2[style*="clamp(34px,4.4vw,56px)"],
h2[style*="clamp(34px,4vw,52px)"] { font-size: clamp(26px, 7vw, 38px) !important; }
h2[style*="clamp(30px,3.6vw,44px)"],
h2[style*="clamp(26px,3vw,36px)"] { font-size: clamp(22px, 6vw, 30px) !important; }
/* hero terminal, narrower padding + collapse the inner 4-col live-rows header */
#live-rows { min-height: 200px !important; }
/* nudge inner card padding down */
section [style*="padding:48px 44px"],
section [style*="padding:44px 40px"],
section [style*="padding:40px 36px"],
section [style*="padding:36px 44px"],
section [style*="padding:32px 28px"] { padding: 28px 20px !important; }
section [style*="padding:28px 28px"] { padding: 24px 18px !important; }
/* hero CTA buttons full-width-ish */
section [style*="display:flex;align-items:center;gap:12px;flex-wrap:wrap"] > a,
section [style*="display:flex;align-items:center;gap:12px;flex-wrap:wrap"] > button { padding: 14px 18px !important; font-size: 14px !important; flex: 1 1 auto; justify-content: center; }
/* MCP demo chat box shadow is too far; trim */
[style*="box-shadow:8px 8px 0 #bcfc07"] { box-shadow: 4px 4px 0 #bcfc07 !important; }
/* hide the live-deploys 80px-wide first col labels nicely, let them wrap */
#live-deploys [style*="grid-template-columns:80px 1fr 100px"] { grid-template-columns: 70px 1fr 80px !important; gap: 8px !important; font-size: 12px !important; }
/* nav stripe (version pill) shrinks */
nav [style*="V0.1 · TESTNET"] { font-size: 10px !important; padding: 4px 8px !important; }
/* hero terminal data grid, tighten cols on tiny screens */
[style*="grid-template-columns:72px 70px 1fr 88px"] { grid-template-columns: 52px 52px 1fr 60px !important; gap: 8px !important; font-size: 10px !important; padding-left: 12px !important; padding-right: 12px !important; }
/* the "transparency" box gets a smaller column inside */
[style*="grid-template-columns:80px 1fr 100px"] { grid-template-columns: 60px 1fr 70px !important; }
/* tour modal, tighten its margins */
#tour-modal > div { margin: 16px !important; }
#tour-modal [style*="padding:32px 40px"] { padding: 22px 18px !important; }
}
@media (max-width: 480px) {
nav [style*="display:flex;gap:2px"] a { padding: 6px 10px !important; font-size: 13px !important; }
section [style*="grid-template-columns:repeat(4,1fr)"] > div { padding: 22px 16px !important; }
section [style*="grid-template-columns:repeat(4,1fr)"] [style*="font:500 44px"] { font-size: 28px !important; }
}
/* Scroll-reveal. Elements with data-reveal start faded + shifted, land
when they enter the viewport. IntersectionObserver in landing.js toggles
the .revealed class. Delay steps add subtle staggering. */
[data-reveal] {
opacity: 0;
transform: translateY(24px);
transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"].revealed { transition-delay: .08s; }
[data-reveal-delay="2"].revealed { transition-delay: .16s; }
[data-reveal-delay="3"].revealed { transition-delay: .24s; }
[data-reveal-delay="4"].revealed { transition-delay: .32s; }
[data-reveal-delay="5"].revealed { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
[data-reveal] { opacity: 1; transform: none; transition: none; }
}
/* Keyboard users need to see where focus is. The default outline disappears
against the black panels, so pin a high-contrast lime ring. */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
outline: 3px solid #bcfc07;
outline-offset: 2px;
box-shadow: 0 0 0 1px #000;
}
input::placeholder, textarea::placeholder { color: #595959; opacity: 1; }
/* keyboard focus needs a visible ring even where inline styles set outline:none */
input:focus-visible, textarea:focus-visible { outline: 3px solid #bcfc07 !important; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } [data-reveal] { opacity: 1 !important; transform: none !important; } }
@media (max-width: 480px) {
#hero-cs .cs-head { flex-wrap: wrap; }
#hero-cs .cs-tabs { flex-wrap: wrap; }
#hero-cs .cs-tabs span { padding: 11px 12px; }
#hero-cs .cs-spacer { display: none; }
#hero-cs .cs-copy { display: none; }
}
</style>
<noscript><style>[data-reveal]{opacity:1 !important;transform:none !important}</style></noscript>
</head>
<body>
<!-- ============ ICON LIBRARY, reusable via <svg><use href="#icon-X"/></svg> ============ -->
<svg width="0" height="0" style="position:absolute" aria-hidden="true">
<defs>
<!-- Whale, line-art body + eye + spout -->
<symbol id="icon-whale" viewBox="0 0 24 24">
<path d="M2 15c2-3 5-4.5 9-4.5 3 0 5 1 7 3 1-1.5 2-2 3-2v3c-1 0-2 .5-3 1.5v3l-2-2c-2 1.5-4 2-6 2-4 0-7-1.5-9-4z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<circle cx="7.5" cy="13.5" r="0.9" fill="currentColor"/>
<path d="M12 8V5m-1.5 1.5h3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
</symbol>
<!-- Inbox, tray with arrow-in -->
<symbol id="icon-inbox" viewBox="0 0 24 24">
<path d="M3 13v6a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-6h-6l-1 2h-4l-1-2H3z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<path d="M12 3v8m-3-3l3 3 3-3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
</symbol>
<!-- Outbox, tray with arrow-out -->
<symbol id="icon-outbox" viewBox="0 0 24 24">
<path d="M3 13v6a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-6h-6l-1 2h-4l-1-2H3z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<path d="M12 11V3m-3 3l3-3 3 3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
</symbol>
<!-- Network waves, 3 stacked arcs -->
<symbol id="icon-network" viewBox="0 0 24 24">
<path d="M2 18c2-2 4-3 6-3s4 1 6 3 4 3 6 3M2 12c2-2 4-3 6-3s4 1 6 3 4 3 6 3M2 6c2-2 4-3 6-3s4 1 6 3 4 3 6 3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
</symbol>
<!-- Target, 3 concentric circles + crosshair -->
<symbol id="icon-target" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.6"/>
<circle cx="12" cy="12" r="5.5" fill="none" stroke="currentColor" stroke-width="1.6"/>
<circle cx="12" cy="12" r="2" fill="currentColor"/>
<path d="M12 1v3m0 16v3M1 12h3m16 0h3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
</symbol>
<!-- Recipient, arrow into a pin -->
<symbol id="icon-recipient" viewBox="0 0 24 24">
<path d="M12 21c-4-4-7-7.5-7-11a7 7 0 1 1 14 0c0 3.5-3 7-7 11z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<path d="M8 10l4 4 4-4M12 5v9" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
</symbol>
<!-- Sender, arrow out of pin -->
<symbol id="icon-sender" viewBox="0 0 24 24">
<path d="M12 21c-4-4-7-7.5-7-11a7 7 0 1 1 14 0c0 3.5-3 7-7 11z" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<path d="M8 9l4-4 4 4M12 14V5" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
</symbol>
<!-- Amount, coin stack -->
<symbol id="icon-amount" viewBox="0 0 24 24">
<ellipse cx="12" cy="6" rx="8" ry="3" fill="none" stroke="currentColor" stroke-width="1.6"/>
<path d="M4 6v4c0 1.66 3.58 3 8 3s8-1.34 8-3V6M4 10v4c0 1.66 3.58 3 8 3s8-1.34 8-3v-4M4 14v4c0 1.66 3.58 3 8 3s8-1.34 8-3v-4" fill="none" stroke="currentColor" stroke-width="1.6"/>
</symbol>
<!-- Block, chain link -->
<symbol id="icon-block" viewBox="0 0 24 24">
<rect x="3" y="8" width="8" height="8" rx="1.2" fill="none" stroke="currentColor" stroke-width="1.6"/>
<rect x="13" y="8" width="8" height="8" rx="1.2" fill="none" stroke="currentColor" stroke-width="1.6"/>
<path d="M11 12h2" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
</symbol>
<!-- Clock -->
<symbol id="icon-time" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="currentColor" stroke-width="1.6"/>
<path d="M12 7v5l3.5 2" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
</symbol>
<!-- Beaker (sandbox) -->
<symbol id="icon-beaker" viewBox="0 0 24 24">
<path d="M9 3h6M10 3v6l-5 8a2 2 0 0 0 1.7 3h10.6A2 2 0 0 0 19 17l-5-8V3" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/>
<path d="M7 15h10" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round"/>
</symbol>
<!-- Sparkle (AI) -->
<symbol id="icon-sparkle" viewBox="0 0 24 24">
<path d="M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8L12 3z" fill="currentColor"/>
<path d="M19 15l.9 2.1L22 18l-2.1.9L19 21l-.9-2.1L16 18l2.1-.9L19 15z" fill="currentColor"/>
</symbol>
<!-- Copy -->
<symbol id="icon-copy" viewBox="0 0 24 24">
<rect x="8" y="8" width="12" height="12" rx="1.5" fill="none" stroke="currentColor" stroke-width="1.6"/>
<path d="M16 8V5.5A1.5 1.5 0 0 0 14.5 4h-9A1.5 1.5 0 0 0 4 5.5v9A1.5 1.5 0 0 0 5.5 16H8" fill="none" stroke="currentColor" stroke-width="1.6"/>
</symbol>
<!-- Arrow right -->
<symbol id="icon-arrow-right" viewBox="0 0 24 24">
<path d="M5 12h14m-5-5l5 5-5 5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
</symbol>
</defs>
</svg>
<style>
/* Icon tile, dark square with green line-art glyph. */
.icon-tile { display:inline-flex; width:44px; height:44px; background:#000; color:#bcfc07; align-items:center; justify-content:center; flex-shrink:0; }
.icon-tile svg { width:24px; height:24px; }
.icon-tile.light { background:#f4f4f4; color:#000; border:1px solid #000; }
.icon-inline { display:inline-flex; width:14px; height:14px; vertical-align:-2px; color:#000; margin-right:4px; }
.icon-inline svg { width:14px; height:14px; }
/* MCP client picker pills. */
.mcp-pill { background:#0d0d0d; color:#999; border:1px solid #222; padding:8px 14px; font:500 12px 'JetBrains Mono'; letter-spacing:.02em; cursor:pointer; transition:border-color .15s, color .15s; }
.mcp-pill:hover { color:#fff; border-color:#444; }
.mcp-pill.active { background:#bcfc07; color:#000; border-color:#bcfc07; }
/* ══════════════════════════════════════════════════════════════════
* BLUEPRINT TERMINAL, design system for Sluice landing.
* Every section can carry these adornments to feel engineered:
* .bp-corners 4 tick marks pinned to section corners
* .bp-stamp coordinate/version tag in a corner
* .bp-tick-strip narrow strip with ruler marks (like an axis)
* .bp-hazard diagonal yellow/black hazard tape divider
* .bp-watermark massive outlined display word in the background
* Colours & fonts inherit from the existing Casper palette.
* ══════════════════════════════════════════════════════════════════ */
.bp-section { position:relative; overflow:hidden; }
.bp-corner {
position:absolute; width:44px; height:44px; pointer-events:none;
border:1px solid #000;
}
.bp-corner.tl { top:20px; left:20px; border-right:0; border-bottom:0; }
.bp-corner.tr { top:20px; right:20px; border-left:0; border-bottom:0; }
.bp-corner.bl { bottom:20px; left:20px; border-right:0; border-top:0; }
.bp-corner.br { bottom:20px; right:20px; border-left:0; border-top:0; }
.bp-corner.acc { border-color:#bcfc07; box-shadow:inset 0 0 0 1px rgba(188,252,7,.35); }
.bp-stamp {
position:absolute; z-index:2; pointer-events:none;
display:inline-flex; align-items:center; gap:8px;
font:500 10.5px/1 'JetBrains Mono',ui-monospace,monospace;
letter-spacing:.14em; color:#000; text-transform:uppercase;
background:#f4f4f4; padding:6px 10px; border:1px solid #000;
}
.bp-stamp .dot { width:5px; height:5px; background:#bcfc07; border-radius:50%; box-shadow:0 0 0 1px #000; }
.bp-stamp.tl { top:20px; left:80px; }
.bp-stamp.tr { top:20px; right:80px; }
.bp-stamp.bl { bottom:20px; left:80px; }
.bp-stamp.br { bottom:20px; right:80px; }
.bp-stamp.dark { background:#000; color:#bcfc07; }
.bp-watermark {
position:absolute; pointer-events:none; user-select:none;
font:500 clamp(180px,22vw,320px)/.82 'Casper Sans',Inter,sans-serif;
letter-spacing:-.05em; text-transform:uppercase;
color:transparent; -webkit-text-stroke:1px rgba(0,0,0,.08);
white-space:nowrap;
}
.bp-watermark.dark { -webkit-text-stroke-color: rgba(188,252,7,.10); }
.bp-hazard {
height:22px;
background:repeating-linear-gradient(-45deg, #000 0 12px, #bcfc07 12px 24px);
border-top:1px solid #000; border-bottom:1px solid #000;
}
.bp-hazard.thin { height:14px; }
.bp-tick-strip {
height:26px; position:relative; background:#000;
border-top:1px solid #000; border-bottom:1px solid #000;
color:#bcfc07;
font:500 10px/26px 'JetBrains Mono',ui-monospace,monospace;
letter-spacing:.18em; text-transform:uppercase;
padding:0 20px;
background-image:
repeating-linear-gradient(90deg, transparent 0 32px, rgba(188,252,7,.45) 32px 33px, transparent 33px 64px);
}
.bp-tick-strip > span { position:relative; z-index:1; background:#000; padding:0 8px; }
/* Dot-grid background, 24×24 dots, subtle, replaces the old 80×80 line grid */
.bp-dotgrid {
position:absolute; inset:0; pointer-events:none;
background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.14) 1px, transparent 1.4px);
background-size:24px 24px;
mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,0) 100%);
-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,0) 100%);
}
.bp-dotgrid.dark { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 1.4px); }
/* Small crosshair, decorative "pin" markers */
.bp-cross { position:absolute; width:14px; height:14px; pointer-events:none; }
.bp-cross::before, .bp-cross::after { content:""; position:absolute; background:#000; }
.bp-cross::before { left:6px; top:0; width:2px; height:14px; }
.bp-cross::after { top:6px; left:0; height:2px; width:14px; }
/* Section eyebrow with counter, "01 / 06 · SECTION TITLE" */
.bp-eyebrow {
display:inline-flex; align-items:center; gap:14px;
font:500 11px 'JetBrains Mono',ui-monospace,monospace;
letter-spacing:.16em; text-transform:uppercase; color:#000;
}
.bp-eyebrow .num {
background:#000; color:#bcfc07; padding:4px 8px 3px;
font:500 11px 'JetBrains Mono',ui-monospace,monospace; letter-spacing:.1em;
}
.bp-eyebrow .rule { width:32px; height:1px; background:#000; }
.bp-eyebrow.dark { color:#bcfc07; }
.bp-eyebrow.dark .num { background:#bcfc07; color:#000; }
.bp-eyebrow.dark .rule { background:#bcfc07; }
/* Live "tick" dot inside stamps */
@keyframes bp-blink { 0%,49% { opacity:1 } 50%,100% { opacity:.35 } }
.bp-blink { animation: bp-blink 1.2s steps(1,end) infinite; }
@media (max-width: 640px) {
.bp-corner { width:32px; height:32px; }
.bp-stamp.tl, .bp-stamp.bl { left:60px; }
.bp-stamp.tr, .bp-stamp.br { right:60px; }
.bp-watermark { font-size:clamp(120px,28vw,180px) !important; }
nav { position: static !important; }
}
@media (min-width: 641px) { html { scroll-padding-top: 72px; } }
</style>
<div style="background:#f4f4f4;min-height:100vh">
<!-- ============ NAV ============ -->
<nav style="background:#f4f4f4;border-bottom:1px solid #000;position:sticky;top:0;z-index:30">
<div style="max-width:1320px;margin:0 auto;padding:0 32px;display:flex;align-items:center;gap:32px;height:64px">
<a href="/" style="display:flex;align-items:center;gap:10px;text-decoration:none;color:#000">
<span style="display:inline-flex;width:24px;height:24px;background:#000;align-items:center;justify-content:center"><span style="display:block;width:0;height:0;border-left:6px solid #bcfc07;border-top:5px solid transparent;border-bottom:5px solid transparent;margin-left:2px"></span></span>
<span style="font:500 22px/1 'Casper Sans',Inter;letter-spacing:-.02em">sluice</span>
</a>
<div style="display:flex;gap:2px;font:400 14px 'Casper Sans',Inter;color:#000;flex-wrap:wrap">
<a href="#how" style="text-decoration:none;padding:8px 14px">How it works</a>
<a href="#recipes" style="text-decoration:none;padding:8px 14px">Recipes</a>
<a href="#mcp-demo" style="text-decoration:none;padding:8px 14px">MCP</a>
<a href="/status" style="text-decoration:none;padding:8px 14px">Status</a>
<a href="/demo" style="text-decoration:none;padding:8px 14px">Demo</a>
<a href="https://github.com/UnityNodes/Sluice#readme" target="_blank" rel="noopener" style="text-decoration:none;padding:8px 14px">Docs ↗</a>
</div>
<div style="flex:1"></div>
<div style="display:flex;align-items:center;gap:8px;font:500 11px 'JetBrains Mono';color:#000;background:#bcfc07;padding:6px 10px;letter-spacing:.04em">
<span style="width:6px;height:6px;background:#000;border-radius:50%"></span>
V0.1 · TESTNET
</div>
<a href="/app" style="text-decoration:none;background:#000;color:#fff;padding:11px 20px;font:500 14px 'Casper Sans',Inter;display:flex;align-items:center;gap:8px">Open app <span style="font-size:16px;line-height:1">→</span></a>
</div>
</nav>
<!-- ============ HERO ============ -->
<section style="border-bottom:1px solid #000;background:#f4f4f4;position:relative;overflow:hidden">
<div style="max-width:1320px;margin:0 auto;padding:88px 32px 96px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:end;position:relative;z-index:2">
<div style="min-width:0">
<h1 style="margin:28px 0 0;font:500 clamp(44px,7.4vw,104px)/.96 'Casper Sans',Inter;letter-spacing:-.035em;color:#000;overflow-wrap:normal;word-break:keep-all;hyphens:none">
<span style="white-space:nowrap">Casper events,</span><br/>
the moment <span style="background:#bcfc07;padding:0 .12em;display:inline-block;line-height:.95">they land.</span>
</h1>
<p style="margin:36px 0 0;font:400 20px/1.55 'Casper Sans',Inter;color:#333;max-width:600px">Pick what to watch on Casper by sender, recipient, or amount. Prepay once in CSPR. When something matches, Sluice pushes it three ways: a <b style="font-weight:500;color:#000">webhook</b> for your server, an <b style="font-weight:500;color:#000">MCP tool call</b> for your AI agent, or a <b style="font-weight:500;color:#000">live WebSocket</b> for your dashboard. Median webhook dispatch on testnet is <span style="color:#000">under ~150 ms</span>, and every match lands well within a second. No polling, no indexer, no glue code.</p>
<div style="margin-top:44px;display:flex;align-items:center;gap:12px;flex-wrap:wrap">
<a href="/app" style="text-decoration:none;background:#bcfc07;color:#000;padding:18px 28px;font:500 16px 'Casper Sans',Inter;display:inline-flex;align-items:center;gap:10px;border:1px solid #000">Open the app <span style="font-size:18px;line-height:1">→</span></a>
<button id="tour-open" type="button" style="background:#000;color:#fff;border:1px solid #000;padding:18px 24px;font:500 16px 'Casper Sans',Inter;cursor:pointer;display:inline-flex;align-items:center;gap:10px">▶ Watch a 30-second tour</button>
<a href="https://github.com/UnityNodes/Sluice#readme" target="_blank" rel="noopener" style="text-decoration:none;color:#000;padding:18px 24px;font:500 16px 'Casper Sans',Inter;border:1px solid #000;background:transparent">Read the docs ↗</a>
</div>
<!-- ============ HERO · INLINE AI PARSER ============ -->
<div id="hero-ai" style="margin-top:36px;background:#fff;border:1px solid #000;padding:18px 20px;box-shadow:4px 4px 0 #bcfc07;max-width:640px">
<div style="display:flex;align-items:center;gap:10px;font:500 11px 'JetBrains Mono';letter-spacing:.12em;color:#000;text-transform:uppercase">
<span style="display:inline-flex;width:18px;height:18px;background:#bcfc07;align-items:center;justify-content:center;color:#000"><svg width="12" height="12"><use href="#icon-sparkle"/></svg></span>
DESCRIBE YOUR EVENT IN PLAIN ENGLISH
<span style="flex:1"></span>
<span style="color:#666;font-weight:400;text-transform:none;letter-spacing:0;font-size:10.5px">offline rule-based parser · no LLM</span>
</div>
<div style="margin-top:10px;display:flex;gap:8px;align-items:stretch">
<input id="hero-ai-input" type="text" aria-label="Describe an on-chain event in plain English" maxlength="280" autocomplete="off" spellcheck="false"
placeholder="watch transfers over 100k cspr to dc7252…787c9c"
style="flex:1;min-width:0;border:1px solid #000;background:#fafafa;padding:11px 14px;font:500 14px 'JetBrains Mono';color:#000;outline:none">
<button id="hero-ai-go" type="button" style="background:#000;color:#bcfc07;border:1px solid #000;padding:11px 18px;font:500 14px 'Casper Sans',Inter;cursor:pointer;letter-spacing:.02em">Parse →</button>
</div>
<div id="hero-ai-suggest" style="margin-top:10px;display:flex;gap:6px;flex-wrap:wrap;font:500 10.5px 'JetBrains Mono';letter-spacing:.04em">
<span style="color:#666;padding:4px 0">TRY:</span>
<button class="hero-ai-chip" type="button" data-q="watch whales over 100k cspr">whales over 100k cspr</button>
<button class="hero-ai-chip" type="button" data-q="transfers under 10 cspr">transfers under 10 cspr</button>
<button class="hero-ai-chip" type="button" data-q="incoming to dc725246306b8ebfb6623feca7f777c4e9f52c96691cdccf338b797480787c9c above 5000 cspr">to address ≥ 5k cspr</button>
</div>
<div id="hero-ai-output" style="display:none;margin-top:14px"></div>
</div>
<style>
.hero-ai-chip { background:#fff;color:#000;border:1px solid #000;padding:4px 9px;font:inherit;cursor:pointer;text-transform:none }
.hero-ai-chip:hover { background:#bcfc07 }
</style>
<div style="margin-top:48px;display:flex;align-items:center;gap:24px;font:500 13px 'JetBrains Mono';color:#333;flex-wrap:wrap">
<span id="hero-status" style="display:inline-flex;align-items:center;gap:8px"><span id="hero-status-dot" style="width:8px;height:8px;background:#3edc64;border-radius:50%;animation:pulse-green 2s infinite"></span>MATCHER · CONNECTING…</span>
<span style="width:3px;height:3px;background:#ccc;border-radius:50%"></span>
<span id="hero-block" title="Live Casper testnet head block, polled every 5 seconds" style="display:inline-flex;align-items:center;gap:8px"><span id="hero-block-dot" style="width:8px;height:8px;background:#4589f6;border-radius:50%;animation:pulse-dot 1.6s infinite"></span>CASPER-TEST · BLOCK <span id="hero-block-h">…</span></span>
<span style="width:3px;height:3px;background:#ccc;border-radius:50%"></span>
<a href="/status" style="color:#000;text-decoration:underline;text-decoration-color:#bcfc07;text-decoration-thickness:3px;text-underline-offset:4px">STATUS →</a>
<a href="/app" style="color:#000;text-decoration:underline;text-decoration-color:#bcfc07;text-decoration-thickness:3px;text-underline-offset:4px">DASHBOARD →</a>
</div>
</div>
<!-- Live stream terminal -->
<div style="background:#000;color:#fff;overflow:hidden;border:1px solid #000;box-shadow:8px 8px 0 #bcfc07;min-width:0">
<div style="display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #222">
<div style="display:flex;gap:5px"><span style="width:9px;height:9px;background:#333"></span><span style="width:9px;height:9px;background:#333"></span><span style="width:9px;height:9px;background:#333"></span></div>
<div style="font:500 11px 'JetBrains Mono';color:#8f8f8f;letter-spacing:.06em">LIVE FEED · TESTNET</div>
<div style="flex:1"></div>
<div style="display:flex;align-items:center;gap:6px;font:500 10px 'JetBrains Mono';color:#bcfc07;letter-spacing:.1em"><span style="width:6px;height:6px;background:#bcfc07;border-radius:50%;animation:pulse-dot 1.6s infinite"></span>LIVE</div>
</div>
<div style="display:grid;grid-template-columns:72px 70px 1fr 88px;gap:12px;padding:10px 18px;background:#0d0d0d;font:500 9.5px 'JetBrains Mono';color:#8f8f8f;letter-spacing:.1em;text-transform:uppercase">
<div>Time</div><div>Sub</div><div>Event</div><div style="text-align:right">Status</div>
</div>
<div id="live-rows" style="font:400 12.5px/1.4 'JetBrains Mono';min-height:280px">
<div style="padding:24px 18px;color:#8f8f8f;font:400 12px 'JetBrains Mono';text-align:center">Connecting to live feed…</div>
</div>
<div style="padding:12px 18px;border-top:1px solid #222;font:500 11px 'JetBrains Mono';color:#8f8f8f;display:flex;align-items:center;gap:10px;letter-spacing:.04em">
<span id="hero-window">↑ ROLLING SNAPSHOT</span>
<span style="flex:1"></span>
<span title="A cron fires one real DemoDex swap every 15 minutes so the public feed keeps moving. Fire your own with scripts/demo-swap.sh." style="color:#8f8f8f">DEMO TRAFFIC: 1 REAL SWAP / 15 MIN</span>
<a href="/app" style="color:#bcfc07;text-decoration:none">OPEN FULL FEED ↗</a>
</div>
</div>
</div>
</section>
<!-- ============ NUMBERS STRIP ============ -->
<section style="background:#000;color:#fff;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:0">
<div style="padding:32px 32px;border-right:1px solid #222">
<div style="font:500 10.5px 'JetBrains Mono';letter-spacing:.12em;color:#8f8f8f;text-transform:uppercase">RECORDED ON-CHAIN · ALL TIME</div>
<div style="margin-top:14px;display:flex;align-items:baseline;gap:10px"><span id="ns-delivered" style="font:500 44px/.95 'Casper Sans',Inter;letter-spacing:-.025em;color:#fff">…</span></div>
</div>
<div style="padding:32px 32px;border-right:1px solid #222">
<div style="font:500 10.5px 'JetBrains Mono';letter-spacing:.12em;color:#8f8f8f;text-transform:uppercase">ESCROW-BACKED SUBS</div>
<div id="ns-active" style="margin-top:14px;font:500 44px/.95 'Casper Sans',Inter;letter-spacing:-.025em;color:#fff">…</div>
</div>
<div style="padding:32px 32px;border-right:1px solid #222">
<div style="font:500 10.5px 'JetBrains Mono';letter-spacing:.12em;color:#8f8f8f;text-transform:uppercase">WEBHOOK SUCCESS</div>
<div style="margin-top:14px;display:flex;align-items:baseline;gap:6px"><span id="ns-success" style="font:500 44px/.95 'Casper Sans',Inter;letter-spacing:-.025em;color:#fff">…</span><span id="ns-success-suffix" style="font:500 22px 'Casper Sans',Inter;color:#8f8f8f"></span></div>
</div>
<div style="padding:32px 32px;background:#bcfc07;color:#000;position:relative;overflow:hidden">
<div style="font:500 10.5px 'JetBrains Mono';letter-spacing:.12em;color:#000;text-transform:uppercase">P50 · WEBHOOK DISPATCH (MATCH → POST)</div>
<div style="margin-top:14px;display:flex;align-items:baseline;gap:6px"><span id="ns-latency" style="font:500 44px/.95 'Casper Sans',Inter;letter-spacing:-.025em;color:#000">…</span><span id="ns-latency-suffix" style="font:500 22px 'Casper Sans',Inter;color:#000">ms</span></div>
</div>
</div>
</section>
<!-- ============ HOW IT WORKS ============ -->
<section id="how" data-reveal style="background:#f4f4f4;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:120px 32px 96px">
<div style="display:flex;align-items:flex-end;gap:48px;flex-wrap:wrap;margin-bottom:64px">
<div>
<h2 style="margin:18px 0 0;font:500 clamp(40px,5.4vw,72px)/1.02 'Casper Sans',Inter;letter-spacing:-.03em;color:#000;max-width:780px">One escrow. One predicate.<br/>Every matching event, delivered.</h2>
</div>
<p style="margin:0 0 12px;font:400 16px/1.6 'Casper Sans',Inter;color:#666;max-width:380px">No polling. No chain indexer to operate. No glue code per integration. Sluice replaces ~600 lines of bespoke event-listener plumbing with one signed deploy.</p>
</div>
<div style="margin-bottom:32px;max-width:1080px;margin-left:auto;margin-right:auto"><img src="/pipeline.svg?v=r35" alt="Sluice pipeline. Casper events flow through the matcher, then fan out to your webhook and to an on-chain record_delivery receipt." style="width:100%;height:auto;display:block"></div>
<div style="display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:#fff;border:1px solid #000">
<!-- Step 1 -->
<div style="padding:40px 36px;border-right:1px solid #000;position:relative">
<div style="display:flex;align-items:center;gap:14px">
<div style="width:36px;height:36px;background:#000;color:#bcfc07;display:flex;align-items:center;justify-content:center;font:500 16px 'JetBrains Mono'">01</div>
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.16em;text-transform:uppercase">SUBSCRIBE</div>
</div>
<div style="margin-top:28px;font:500 26px/1.15 'Casper Sans',Inter;letter-spacing:-.02em;color:#000">Describe the event in JSON. Lock CSPR.</div>
<div style="margin-top:14px;font:400 15px/1.6 'Casper Sans',Inter;color:#666">Predicate fields are dot.notation paths into the Casper event schema. Locked CSPR is held in the on-chain escrow contract. Cancel anytime and get the remaining CSPR back.</div>
<div style="margin-top:26px;background:#000;color:#fff;padding:16px 18px;font:400 12px/1.7 'JetBrains Mono'">{<br/> "and":[<br/> { <span style="color:#bcfc07">"field"</span>:"amount",<br/> <span style="color:#bcfc07">"op"</span>:"gte",<br/> <span style="color:#bcfc07">"value"</span>:"<span style="color:#80cbc4">1000000000000</span>" }<br/> ]<br/>}</div>
</div>
<!-- Step 2 -->
<div style="padding:40px 36px;border-right:1px solid #000;position:relative;background:#fafafa">
<div style="display:flex;align-items:center;gap:14px">
<div style="width:36px;height:36px;background:#000;color:#bcfc07;display:flex;align-items:center;justify-content:center;font:500 16px 'JetBrains Mono'">02</div>
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.16em;text-transform:uppercase">MATCH</div>
</div>
<div style="margin-top:28px;font:500 26px/1.15 'Casper Sans',Inter;letter-spacing:-.02em;color:#000">Matcher reads the CSPR.cloud stream in real time.</div>
<div style="margin-top:14px;font:400 15px/1.6 'Casper Sans',Inter;color:#666">The matcher subscribes to the CSPR.cloud WebSocket feed and evaluates your predicate against every deploy as blocks land. Avg eval cost is sub-millisecond.</div>
<div style="margin-top:26px;background:#fff;border:1px solid #000;padding:16px 18px;font:400 13px/1.55 'JetBrains Mono';color:#000">
<div style="color:#666">block 5,127,843 →</div>
<div style="margin-top:6px"><span style="color:#000">deploy</span> a4f2c8…d09e</div>
<div style="color:#666">amount: 1,250,000,000,000 motes</div>
<div style="margin-top:10px;display:inline-block;background:#bcfc07;color:#000;padding:3px 8px;font-weight:500;letter-spacing:.04em">PREDICATE MATCHED</div>
</div>
</div>
<!-- Step 3 -->
<div style="padding:40px 36px;background:#000;color:#fff;position:relative">
<div style="display:flex;align-items:center;gap:14px">
<div style="width:36px;height:36px;background:#bcfc07;color:#000;display:flex;align-items:center;justify-content:center;font:500 16px 'JetBrains Mono'">03</div>
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.16em;text-transform:uppercase;color:#bcfc07">DELIVER</div>
</div>
<div style="margin-top:28px;font:500 26px/1.15 'Casper Sans',Inter;letter-spacing:-.02em;color:#fff">POST to your webhook. Log on-chain.</div>
<div style="margin-top:14px;font:400 15px/1.6 'Casper Sans',Inter;color:#999">Idempotency-keyed HTTPS POST with exponential retries. Every successful delivery is recorded by the escrow contract. Auditable, refundable, and your bill is verifiable.</div>
<div style="margin-top:26px;background:#1a1a1a;color:#fff;padding:16px 18px;font:400 13px/1.7 'JetBrains Mono';border:1px solid #333">
<div><span style="color:#bcfc07">POST</span> /cspr-hook</div>
<div style="color:#8f8f8f">X-Sluice-Idempotency-Key: 8a3f…</div>
<div style="color:#8f8f8f">X-Sluice-Sub-Id: sub_4f29c1a8</div>
<div style="margin-top:8px;color:#3edc64">↳ 200 OK · webhook dispatch < 150ms</div>
<div style="margin-top:4px;color:#8f8f8f;font-size:11px">↳ record_delivery on-chain ✓</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============ TWO AUDIENCES ============ -->
<section id="agents" data-reveal style="background:#f4f4f4;border-bottom:1px solid #000;overflow-x:clip">
<div style="max-width:1320px;margin:0 auto;padding:120px 32px 96px">
<div style="display:grid;grid-template-columns:1fr 1fr;gap:24px">
<!-- Developer card -->
<div style="background:#fff;border:1px solid #000;padding:44px 40px;position:relative">
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.16em;text-transform:uppercase;color:#000;display:inline-flex;align-items:center;gap:10px">
<span style="width:24px;height:1px;background:#000"></span>FOR DEVELOPERS
</div>
<div style="margin-top:22px;font:500 clamp(30px,3.6vw,44px)/1.02 'Casper Sans',Inter;letter-spacing:-.025em;color:#000">Stop writing your<br/>own indexer.</div>
<div style="margin-top:18px;font:400 16px/1.6 'Casper Sans',Inter;color:#666;max-width:440px">CLI, REST, and a TS SDK. Bring your own webhook: a Cloudflare Worker, a Fly app, or a Discord URL. Sluice handles delivery, retries, idempotency, and the on-chain receipt.</div>
<div style="margin-top:32px;background:#000;color:#fff;padding:16px 18px;font:400 13.5px 'JetBrains Mono';display:flex;align-items:center;gap:12px">
<span style="color:#bcfc07">$</span>
<span style="flex:1">git clone github.com/UnityNodes/Sluice && cd matcher && npm link</span>
<span style="color:#8f8f8f;font-size:12px">⧉</span>
</div>
<ul style="margin:32px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px">
<li style="display:flex;align-items:flex-start;gap:14px;font:400 15px/1.5 'Casper Sans',Inter;color:#000"><span style="display:inline-block;width:16px;height:16px;background:#bcfc07;flex-shrink:0;margin-top:3px;position:relative"><span style="position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono';color:#000">✓</span></span>JSON predicate language with editor autocomplete</li>
<li style="display:flex;align-items:flex-start;gap:14px;font:400 15px/1.5 'Casper Sans',Inter;color:#000"><span style="display:inline-block;width:16px;height:16px;background:#bcfc07;flex-shrink:0;margin-top:3px;position:relative"><span style="position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono';color:#000">✓</span></span>Idempotency-Key on every POST · safe retries</li>
<li style="display:flex;align-items:flex-start;gap:14px;font:400 15px/1.5 'Casper Sans',Inter;color:#000"><span style="display:inline-block;width:16px;height:16px;background:#bcfc07;flex-shrink:0;margin-top:3px;position:relative"><span style="position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono';color:#000">✓</span></span>Cancel anytime · remaining CSPR refunded on-chain</li>
</ul>
<a href="https://github.com/UnityNodes/Sluice#try-it-in-one-minute" target="_blank" rel="noopener" style="margin-top:36px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;font:500 15px 'Casper Sans',Inter;color:#000;border-bottom:1px solid #000;padding-bottom:3px">Read the dev quickstart ↗</a>
</div>
<!-- Agent card -->
<div style="background:#000;color:#fff;padding:44px 40px;position:relative;overflow:hidden">
<div style="position:absolute;top:-40px;right:-40px;width:200px;height:200px;background:#bcfc07;border-radius:50%;opacity:.08;pointer-events:none"></div>
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.16em;text-transform:uppercase;color:#bcfc07;display:inline-flex;align-items:center;gap:10px">
<span style="width:24px;height:1px;background:#bcfc07"></span>FOR AI AGENTS
</div>
<div style="margin-top:22px;font:500 clamp(30px,3.6vw,44px)/1.02 'Casper Sans',Inter;letter-spacing:-.025em;color:#fff">Give your agent<br/>chain-awareness.</div>
<div style="margin-top:18px;font:400 16px/1.6 'Casper Sans',Inter;color:#999;max-width:440px">One hosted URL, no install. Claude, Cursor, Windsurf, Codex, and any MCP-aware agent gets the read-only tools <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">recent_deliveries</code> and <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">sluice_sandbox_dispatch</code>. Run the server locally and you also get the signing tools: <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">subscribe_to_events</code>, <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">list_subscriptions</code>, <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">cancel_subscription</code>, <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">recent_deliveries</code>, <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 5px">sluice_sandbox_dispatch</code>.</div>
<div style="margin-top:32px;background:#1a1a1a;color:#fff;padding:16px 18px;font:400 13.5px 'JetBrains Mono';display:flex;align-items:center;gap:12px;border:1px solid #333">
<span style="color:#bcfc07">MCP</span>
<span style="flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">https://sluice.unitynodes.com/mcp</span>
<span style="color:#8f8f8f;font-size:12px">⧉</span>
</div>
<div style="margin-top:24px;background:#1a1a1a;border:1px solid #333;padding:18px;font:400 14px/1.6 'Casper Sans',Inter;color:#ccc">
<div style="display:flex;gap:10px"><span style="font:500 11px 'JetBrains Mono';color:#bcfc07;width:52px;letter-spacing:.06em">USER</span><div style="flex:1;color:#fff">"Ping me on Discord if treasury receives any transfer over 5k CSPR."</div></div>
<div style="margin-top:14px;display:flex;gap:10px"><span style="font:500 11px 'JetBrains Mono';color:#3edc64;width:52px;letter-spacing:.06em">CLAUDE</span><div style="flex:1">→ <span style="font-family:'JetBrains Mono';color:#bcfc07">sluice.create_subscription</span> · sign deploy in your wallet</div></div>
</div>
<a href="https://github.com/UnityNodes/Sluice/tree/main/mcp#readme" target="_blank" rel="noopener" style="margin-top:36px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;font:500 15px 'Casper Sans',Inter;color:#bcfc07;border-bottom:1px solid #bcfc07;padding-bottom:3px">MCP setup & tools ↗</a>
</div>
</div>
</div>
</section>
<!-- ============ LIVE AGENT ============ -->
<section id="live-agent" data-reveal style="background:#000;color:#fff;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:120px 32px 96px">
<div class="agent-grid" style="display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start">
<div>
<div style="display:flex;align-items:center;gap:10px;margin-bottom:18px"><span id="agent-pulse" style="width:9px;height:9px;background:#3edc64;border-radius:50%;box-shadow:0 0 0 0 rgba(62,220,100,.6);animation:pulse-green 2s infinite"></span><span style="font:500 12px 'Casper Sans',Inter;color:#3edc64;letter-spacing:.02em">Live now</span></div>
<h2 style="margin:0;font:500 clamp(34px,4.4vw,56px)/1.03 'Casper Sans',Inter;letter-spacing:-.03em;color:#fff;max-width:460px">Not a mock. A real agent on the other end of the feed.</h2>
<p style="margin:22px 0 0;font:400 16.5px/1.65 'Casper Sans',Inter;color:#999;max-width:460px">The autonomous yield-router from <code style="font-family:'JetBrains Mono';background:rgba(188,252,7,.15);color:#bcfc07;padding:1px 6px">examples/agentic-yield-router</code> is a live Sluice subscriber. Every DemoDex swap you see in the feed is also pushed to it. It verifies the HMAC signature, reasons over the swap, and decides whether to rebalance, with zero human in the loop. What you see on the right is its real decision log, updating as swaps land.</p>
<div style="margin-top:34px;display:flex;flex-direction:column;gap:14px;font:400 14.5px/1.5 'Casper Sans',Inter;color:#ccc">
<div style="display:flex;align-items:flex-start;gap:14px"><span style="width:18px;height:18px;background:#bcfc07;color:#000;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono'">1</span> Sluice pushes the matched swap to the agent's webhook.</div>
<div style="display:flex;align-items:flex-start;gap:14px"><span style="width:18px;height:18px;background:#bcfc07;color:#000;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono'">2</span> It rejects anything without a valid signature (401), then decides.</div>
<div style="display:flex;align-items:flex-start;gap:14px"><span style="width:18px;height:18px;background:#bcfc07;color:#000;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono'">3</span> Dry-run: it logs the rebalance plan instead of moving funds.</div>
</div>
<div style="margin-top:32px;font:400 12.5px/1.6 'JetBrains Mono';color:#8f8f8f;letter-spacing:.02em">Live decisions: <code style="background:#1a1a1a;padding:1px 6px;color:#bcfc07">GET /api/agent-log.json</code></div>
</div>
<div style="background:#0d0d0d;border:1px solid #1a1a1a;box-shadow:8px 8px 0 #bcfc07;min-width:0">
<div style="display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #1a1a1a">
<span style="font:500 11px 'JetBrains Mono';color:#bcfc07;letter-spacing:.06em">YIELD-ROUTER · DECISION LOG</span>
<div style="flex:1"></div>
<span id="agent-status" style="font:500 10px 'JetBrains Mono';color:#8f8f8f;letter-spacing:.1em">CONNECTING…</span>
</div>
<div id="agent-live" style="max-height:440px;overflow-y:auto">
<div style="padding:28px 20px;color:#8f8f8f;font:400 13px 'Casper Sans',Inter;text-align:center">Waiting for the next swap…</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============ RECIPES ============ -->
<section id="recipes" data-reveal style="background:#f4f4f4;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:120px 32px 96px">
<div style="display:flex;align-items:flex-end;gap:48px;flex-wrap:wrap;margin-bottom:48px">
<div>
<h2 style="margin:18px 0 0;font:500 clamp(36px,4.6vw,60px)/1.02 'Casper Sans',Inter;letter-spacing:-.03em;color:#000;max-width:780px">Four triggers. Four copy-paste lines.</h2>
</div>
<p style="margin:0 0 12px;font:400 16px/1.6 'Casper Sans',Inter;color:#666;max-width:380px">Each recipe is a working predicate for a real DeFi, RWA, or agent use case. Swap the address or threshold, paste your webhook, lock CSPR. Point it at an agent and the match becomes an autonomous action.</p>
</div>
<div class="recipe-grid" style="display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px">
<!-- Recipe: Pool Deposit → Rebalance (DeFi / Agentic) -->
<article class="recipe recipe-card" data-cli='sluice subscribe --predicate ./pool-deposit.json --webhook $WEBHOOK --amount 50' data-predicate='{"and":[{"field":"to_account_hash","op":"eq","value":"POOL_ACCOUNT_HASH"},{"field":"amount","op":"gte","value":"50000000000000"}]}'>
<div class="recipe-head">
<span class="icon-tile"><svg><use href="#icon-inbox"/></svg></span>
<span class="recipe-tag">DeFi · Agentic</span>
</div>
<h3 class="recipe-title">Pool Deposit → Rebalance</h3>
<p class="recipe-desc">A whale deposit shifts pool APY. Point this at the yield-router agent and it reallocates funds autonomously via the CSPR.trade MCP.</p>
<div class="recipe-pred"><span class="recipe-pred-k">Recipient</span> = pool address<br/><span class="recipe-pred-k">Amount</span> ≥ 50,000 CSPR</div>
<button class="copy-recipe recipe-cta"><span class="recipe-cta-label"><svg class="recipe-cta-icon"><use href="#icon-copy"/></svg> Copy CLI</span><span class="recipe-cta-slug">/pool-deposit</span></button>
</article>
<!-- Recipe: Liquidation Guard (DeFi) -->
<article class="recipe recipe-card" data-cli='sluice subscribe --predicate ./liquidation-guard.json --webhook $WEBHOOK --amount 40' data-predicate='{"and":[{"field":"initiator_account_hash","op":"eq","value":"LENDING_POOL_HASH"},{"field":"amount","op":"gte","value":"100000000000000"}]}'>
<div class="recipe-head">
<span class="icon-tile"><svg><use href="#icon-target"/></svg></span>
<span class="recipe-tag">DeFi · Risk</span>
</div>
<h3 class="recipe-title">Liquidation Guard</h3>
<p class="recipe-desc">A large withdrawal out of a lending pool can front-run a liquidation cascade. Alert a risk agent the instant collateral moves.</p>
<div class="recipe-pred"><span class="recipe-pred-k">Sender</span> = pool address<br/><span class="recipe-pred-k">Amount</span> ≥ 100,000 CSPR</div>
<button class="copy-recipe recipe-cta"><span class="recipe-cta-label"><svg class="recipe-cta-icon"><use href="#icon-copy"/></svg> Copy CLI</span><span class="recipe-cta-slug">/liquidation-guard</span></button>
</article>
<!-- Recipe: Whale Swap Alert (DeFi) -->
<!-- Recipe: Treasury Outflow Alarm (RWA / DAO) -->
<article class="recipe recipe-card" data-cli='sluice subscribe --predicate ./treasury-outflow.json --webhook $WEBHOOK --amount 25' data-predicate='{"and":[{"field":"initiator_account_hash","op":"eq","value":"TREASURY_HASH"},{"field":"amount","op":"gte","value":"25000000000000"}]}'>
<div class="recipe-head">
<span class="icon-tile"><svg><use href="#icon-outbox"/></svg></span>
<span class="recipe-tag">RWA · DAO</span>
</div>
<h3 class="recipe-title">Treasury Outflow Alarm</h3>
<p class="recipe-desc">Any large movement out of a DAO treasury. Fire it at the multi-agent swarm so Risk, Treasury, and Legal agents deliberate on-chain.</p>
<div class="recipe-pred"><span class="recipe-pred-k">Sender</span> = treasury address<br/><span class="recipe-pred-k">Amount</span> ≥ 25,000 CSPR</div>
<button class="copy-recipe recipe-cta"><span class="recipe-cta-label"><svg class="recipe-cta-icon"><use href="#icon-copy"/></svg> Copy CLI</span><span class="recipe-cta-slug">/treasury-outflow</span></button>
</article>
<!-- Recipe: Compliance Authority Watch (RWA) -->
<article class="recipe recipe-card" data-cli='sluice subscribe --predicate ./compliance-watch.json --webhook $WEBHOOK --amount 20' data-predicate='{"and":[{"field":"initiator_account_hash","op":"eq","value":"COMPLIANCE_AUTHORITY_HASH"}]}'>
<div class="recipe-head">
<span class="icon-tile"><svg><use href="#icon-network"/></svg></span>
<span class="recipe-tag">RWA · Compliance</span>
</div>
<h3 class="recipe-title">Compliance Authority Watch</h3>
<p class="recipe-desc">Watch a KYC or compliance authority address. When it acts, an agent can revoke or re-issue a compliance token to keep an RWA pool clean.</p>
<div class="recipe-pred"><span class="recipe-pred-k">Sender</span> = authority address</div>
<button class="copy-recipe recipe-cta"><span class="recipe-cta-label"><svg class="recipe-cta-icon"><use href="#icon-copy"/></svg> Copy CLI</span><span class="recipe-cta-slug">/compliance-watch</span></button>
</article>
<!-- Recipe: Oracle Heartbeat (RWA) -->
</div>
<style>
.recipe-card {
background:#fff; border:1px solid #000; padding:28px 26px 22px;
display:flex; flex-direction:column; gap:16px; cursor:pointer;
transition:transform .18s ease, box-shadow .18s ease;
position:relative;
}
.recipe-card::before {
content:""; position:absolute; inset:0; pointer-events:none;
box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.recipe-card:hover { transform:translateY(-3px); box-shadow:6px 6px 0 #bcfc07; }
.recipe-head { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.recipe-tag {
font:500 10.5px 'JetBrains Mono',monospace; letter-spacing:.14em;
text-transform:uppercase; color:#000;
background:#f4f4f4; border:1px solid #000; padding:3px 9px;
}
.recipe-title { margin:0; font:500 22px/1.15 'Casper Sans',Inter,sans-serif; letter-spacing:-.02em; color:#000; }
.recipe-desc { margin:0; font:400 13.5px/1.55 'Casper Sans',Inter,sans-serif; color:#555; flex:1; }
.recipe-pred {
background:#000; color:#e6e6e6; padding:12px 14px;
font:400 11.5px/1.6 'JetBrains Mono',monospace;
overflow-wrap:anywhere;
}
.recipe-pred-k { color:#bcfc07; font-weight:500; }
.recipe-cta {
margin-top:auto; width:100%; background:#000; color:#fff; border:1px solid #000;
padding:11px 14px; font:500 13px 'Casper Sans',Inter,sans-serif;
display:flex; align-items:center; justify-content:space-between; gap:10px;
cursor:pointer; transition:background .15s ease, color .15s ease;
}
.recipe-cta:hover { background:#bcfc07; color:#000; }
.recipe-cta-label { display:inline-flex; align-items:center; gap:8px; }
.recipe-cta-icon { width:14px; height:14px; }
.recipe-cta-slug { font:400 11px 'JetBrains Mono',monospace; color:#999; letter-spacing:.03em; }
.recipe-cta:hover .recipe-cta-slug { color:#000; }
</style>
<div style="margin-top:18px;font:400 13px 'JetBrains Mono';color:#666;letter-spacing:.04em">
<span style="color:#000">Note.</span> Swap <code style="background:#fff;padding:1px 5px;border:1px solid #ccc">POOL_ACCOUNT_HASH</code>, <code style="background:#fff;padding:1px 5px;border:1px solid #ccc">TREASURY_HASH</code>, and the rest for the 64-hex Casper account hash you want to watch. We never auto-fill an address, so you can't paste someone else's by accident.
</div>
</div>
</section>
<!-- ============ EVALUATE IN 60 SECONDS (judges + first-timers, no wallet) ============ -->
<section id="evaluate" data-reveal style="background:#f4f4f4;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:120px 32px 96px">
<div style="display:flex;align-items:flex-end;gap:48px;flex-wrap:wrap;margin-bottom:48px">
<div>
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.24em;text-transform:uppercase;color:#666">Try it now · no wallet, no signup</div>
<h2 style="margin:18px 0 0;font:500 clamp(34px,4.4vw,56px)/1.04 'Casper Sans',Inter;letter-spacing:-.03em;color:#000;max-width:780px">Evaluate Sluice in 60 seconds.</h2>
</div>
<p style="margin:0 0 12px;font:400 16px/1.6 'Casper Sans',Inter;color:#666;max-width:360px">Four things you can do right now against the live testnet contract, including a real x402 payment. None of them need a wallet or an account.</p>
</div>
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px">
<a href="#hero-ai" style="text-decoration:none;background:#fff;border:1px solid #000;padding:26px 24px;display:flex;flex-direction:column;gap:12px;transition:transform .18s,box-shadow .18s" onmouseover="this.style.transform='translateY(-3px)';this.style.boxShadow='6px 6px 0 #bcfc07'" onmouseout="this.style.transform='';this.style.boxShadow=''">
<div style="display:flex;align-items:center;justify-content:space-between">
<span class="icon-tile"><svg><use href="#icon-sparkle"/></svg></span>
<span style="font:500 10.5px 'JetBrains Mono';letter-spacing:.14em;color:#666">STEP 1</span>
</div>
<div style="font:500 20px 'Casper Sans',Inter;color:#000">Describe an event</div>
<div style="font:400 13.5px/1.55 'Casper Sans',Inter;color:#666;flex:1">Type "whales over 100k CSPR" into the hero box. The rule-based parser turns it into a predicate, then dry-runs it against real recent testnet events.</div>
<div style="font:500 12px 'JetBrains Mono';color:#000;border-bottom:1px solid #000;align-self:flex-start;padding-bottom:2px">Jump to the parser ↑</div>
</a>
<a href="/app#sandbox" style="text-decoration:none;background:#fff;border:1px solid #000;padding:26px 24px;display:flex;flex-direction:column;gap:12px;transition:transform .18s,box-shadow .18s" onmouseover="this.style.transform='translateY(-3px)';this.style.boxShadow='6px 6px 0 #bcfc07'" onmouseout="this.style.transform='';this.style.boxShadow=''">
<div style="display:flex;align-items:center;justify-content:space-between">
<span class="icon-tile"><svg><use href="#icon-beaker"/></svg></span>
<span style="font:500 10.5px 'JetBrains Mono';letter-spacing:.14em;color:#666">STEP 2</span>
</div>
<div style="font:500 20px 'Casper Sans',Inter;color:#000">Fire a real webhook</div>
<div style="font:400 13.5px/1.55 'Casper Sans',Inter;color:#666;flex:1">Open the sandbox, paste a webhook.site URL, fire up to 10 real HMAC-signed POSTs. Zero CSPR spent, no subscription needed.</div>
<div style="font:500 12px 'JetBrains Mono';color:#000;border-bottom:1px solid #000;align-self:flex-start;padding-bottom:2px">Open the sandbox →</div>
</a>
<div id="eval-mcp" role="button" tabindex="0" aria-label="Copy the hosted MCP endpoint URL" onkeydown="if(event.key==='Enter'||event.key===' '){event.preventDefault();this.click();}" style="background:#000;color:#fff;border:1px solid #000;padding:26px 24px;display:flex;flex-direction:column;gap:12px;cursor:pointer;transition:transform .18s,box-shadow .18s" onmouseover="this.style.transform='translateY(-3px)';this.style.boxShadow='6px 6px 0 #bcfc07'" onmouseout="this.style.transform='';this.style.boxShadow=''" onclick="(function(){var c='https://sluice.unitynodes.com/mcp';navigator.clipboard&&navigator.clipboard.writeText(c);var l=document.getElementById('eval-mcp-cta');if(l){var p=l.textContent;l.textContent='✓ Copied to clipboard';setTimeout(function(){l.textContent=p;},1500);}})()">
<div style="display:flex;align-items:center;justify-content:space-between">
<span class="icon-tile" style="background:#bcfc07;color:#000"><svg><use href="#icon-copy"/></svg></span>
<span style="font:500 10.5px 'JetBrains Mono';letter-spacing:.14em;color:#8f8f8f">STEP 3</span>
</div>
<div style="font:500 20px 'Casper Sans',Inter;color:#fff">Add the MCP to your agent</div>
<div style="font:400 13.5px/1.55 'Casper Sans',Inter;color:#999;flex:1">One hosted URL, zero install. Works with Claude, Cursor, Windsurf, VS Code, and any MCP client. Ask "show me the last 10 Sluice deliveries."</div>
<div style="background:#1a1a1a;border:1px solid #333;padding:10px 12px;font:400 11px/1.4 'JetBrains Mono';color:#bcfc07;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">https://sluice.unitynodes.com/mcp</div>
<div id="eval-mcp-cta" style="font:500 12px 'JetBrains Mono';color:#bcfc07;align-self:flex-start">⧉ Click to copy the endpoint URL</div>
</div>
<a href="/app" style="text-decoration:none;background:#bcfc07;border:1px solid #000;padding:26px 24px;display:flex;flex-direction:column;gap:12px;transition:transform .18s,box-shadow .18s" onmouseover="this.style.transform='translateY(-3px)';this.style.boxShadow='6px 6px 0 #000'" onmouseout="this.style.transform='';this.style.boxShadow=''">
<div style="display:flex;align-items:center;justify-content:space-between">
<span class="icon-tile" style="background:#000;color:#bcfc07"><svg><use href="#icon-amount"/></svg></span>
<span style="font:500 10.5px 'JetBrains Mono';letter-spacing:.14em;color:#000">STEP 4 · x402</span>
</div>
<div style="font:500 20px 'Casper Sans',Inter;color:#000">Pay for an event via x402</div>
<div style="font:400 13.5px/1.55 'Casper Sans',Inter;color:#333;flex:1">Fire a real on-chain micropayment for one matched event through the official Casper x402 facilitator. No wallet, the paying agent runs server-side, and it settles live with a cspr.live transaction.</div>
<div style="font:500 12px 'JetBrains Mono';color:#000;border-bottom:1px solid #000;align-self:flex-start;padding-bottom:2px">Fire a live payment →</div>
</a>
</div>
</div>
</section>
<!-- ============ MCP AGENT DEMO ============ -->
<section id="mcp-demo" data-reveal style="background:#000;color:#fff;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:120px 32px 96px;display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:64px;align-items:start">
<!-- LEFT, copy/explanation -->
<div>
<h2 style="margin:18px 0 0;font:500 clamp(36px,4.6vw,60px)/1.02 'Casper Sans',Inter;letter-spacing:-.03em;color:#fff;max-width:520px">Any MCP client drives Sluice in natural language.</h2>
<p style="margin:22px 0 0;font:400 17px/1.65 'Casper Sans',Inter;color:#999;max-width:440px">MCP is an open standard, so this is not a Claude-only trick. One hosted URL plugs Sluice into Claude, Cursor, Windsurf, Cline, VS Code, or anything that speaks MCP. The hosted endpoint needs no key and serves two tools, four resources, three resource templates and two prompts: read matched deliveries and fire a sandbox event. Subscribing, cancelling and listing your subscriptions live in the stdio server you install locally (the first two sign a transaction). Five tools in total.</p>
<div id="mcp-clients" style="margin-top:32px;display:flex;flex-wrap:wrap;gap:8px">
<button class="mcp-pill" data-mcp-client="claude">Claude Code</button>
<button class="mcp-pill" data-mcp-client="cursor">Cursor</button>
<button class="mcp-pill" data-mcp-client="windsurf">Windsurf</button>
<button class="mcp-pill" data-mcp-client="vscode">VS Code</button>
<button class="mcp-pill" data-mcp-client="desktop">Claude Desktop</button>
<button class="mcp-pill" data-mcp-client="any">Any client</button>
</div>
<div style="margin-top:14px;background:#0d0d0d;border:1px solid #1a1a1a;padding:14px 16px">
<div style="display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px">
<span id="mcp-install-hint" style="font:500 10px 'JetBrains Mono';color:#8f8f8f;letter-spacing:.12em;text-transform:uppercase">Terminal · one command</span>
<button id="mcp-install-copy" style="background:none;border:none;color:#bcfc07;font:500 11px 'JetBrains Mono';cursor:pointer;letter-spacing:.04em;padding:0;flex-shrink:0">⧉ COPY</button>
</div>
<pre id="mcp-install-cmd" style="margin:0;white-space:pre-wrap;word-break:break-word;font:400 12px/1.55 'JetBrains Mono';color:#bcfc07">claude mcp add --transport http sluice https://sluice.unitynodes.com/mcp</pre>
</div>
<div style="margin-top:14px;font:400 12.5px/1.6 'JetBrains Mono';color:#8f8f8f;letter-spacing:.04em">Open standard, one <code style="background:#1a1a1a;padding:1px 6px;color:#bcfc07">https://sluice.unitynodes.com/mcp</code> endpoint, any MCP client. Restart the client and <code style="background:#1a1a1a;padding:1px 6px;color:#bcfc07">sluice</code> appears with its read-only tools ready. The transcript on the right runs the stdio server, built from the repo (<code style="background:#1a1a1a;padding:1px 6px;color:#bcfc07">cd mcp && npm install && npm run build && npm link</code>), which adds subscribe and cancel.</div>
<div style="margin-top:36px;display:flex;flex-direction:column;gap:12px;font:400 14px/1.6 'Casper Sans',Inter;color:#ccc">
<div style="display:flex;align-items:flex-start;gap:14px"><span style="width:18px;height:18px;background:#bcfc07;color:#000;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono'">1</span> Same live testnet contract you see in the dashboard.</div>
<div style="display:flex;align-items:flex-start;gap:14px"><span style="width:18px;height:18px;background:#bcfc07;color:#000;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono'">2</span> Each tool returns structured JSON the model can reason over.</div>
<div style="display:flex;align-items:flex-start;gap:14px"><span style="width:18px;height:18px;background:#bcfc07;color:#000;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font:500 11px 'JetBrains Mono'">3</span> Tx hashes link back to cspr.live. Auditable end-to-end.</div>
</div>
</div>
<!-- RIGHT, chat transcript -->
<div style="background:#0d0d0d;border:1px solid #1a1a1a;box-shadow:8px 8px 0 #bcfc07;min-width:0">
<div style="display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #1a1a1a">
<div style="display:flex;gap:5px"><span style="width:9px;height:9px;background:#333"></span><span style="width:9px;height:9px;background:#333"></span><span style="width:9px;height:9px;background:#333"></span></div>
<div style="font:500 11px 'JetBrains Mono';color:#8f8f8f;letter-spacing:.06em">CLAUDE CODE · CHAT TRANSCRIPT</div>
<div style="flex:1"></div>
<div style="font:500 10px 'JetBrains Mono';color:#bcfc07;letter-spacing:.1em">MCP · sluice (stdio)</div>
</div>
<div style="padding:28px 28px;display:flex;flex-direction:column;gap:22px">
<div style="display:flex;gap:14px">
<div style="flex-shrink:0;font:500 10.5px 'JetBrains Mono';color:#bcfc07;letter-spacing:.08em;width:60px;padding-top:3px">USER</div>
<div style="flex:1;font:400 14.5px/1.55 'Casper Sans',Inter;color:#fff">Set up a Sluice subscription that alerts me whenever someone sends my Casper account ≥ 2.5 CSPR. Lock 10 CSPR. Use webhook.site for the receiver.</div>
</div>
<div style="display:flex;gap:14px">
<div style="flex-shrink:0;font:500 10.5px 'JetBrains Mono';color:#3edc64;letter-spacing:.08em;width:60px;padding-top:3px">CLAUDE</div>
<div style="flex:1;font:400 14.5px/1.55 'Casper Sans',Inter;color:#ccc">
I'll check existing subscriptions first.
<div style="margin-top:14px;background:#000;border:1px solid #222;padding:12px 14px;font:400 11.5px/1.55 'JetBrains Mono'">
<div style="color:#8f8f8f">→ tool call</div>
<div style="color:#bcfc07">sluice.list_subscriptions</div>
<div style="color:#ccc">{}</div>
</div>
<div style="margin-top:8px;background:#000;border:1px solid #222;padding:12px 14px;font:400 11.5px/1.55 'JetBrains Mono'">
<div style="color:#8f8f8f">← result</div>
<div style="color:#ccc">contract <span style="color:#80cbc4">f3710eaf…b971</span></div>
<div style="color:#ccc">subs: [</div>
<div style="color:#ccc"> { id: 1, active: false, balance: 0 },</div>
<div style="color:#ccc"> { id: 3, active: true, balance: 6 CSPR } ]</div>
</div>
</div>
</div>
<div style="display:flex;gap:14px">
<div style="flex-shrink:0;font:500 10.5px 'JetBrains Mono';color:#3edc64;letter-spacing:.08em;width:60px;padding-top:3px">CLAUDE</div>
<div style="flex:1;font:400 14.5px/1.55 'Casper Sans',Inter;color:#ccc">
On it. I'll create a subscription on your address with that rule and lock 10 CSPR of escrow, per your spec.
<div style="margin-top:14px;background:#000;border:1px solid #222;padding:12px 14px;font:400 11.5px/1.55 'JetBrains Mono'">
<div style="color:#8f8f8f">→ tool call</div>
<div style="color:#bcfc07">sluice.subscribe_to_events</div>
<div style="color:#ccc">{</div>
<div style="color:#ccc"> <span style="color:#bcfc07">predicate_json</span>: <span style="color:#80cbc4">{ and: [</span></div>
<div style="color:#ccc"> <span style="color:#80cbc4">{ field: "to_account_hash", op: "eq", value: "ecf442b3…87c9c" },</span></div>
<div style="color:#ccc"> <span style="color:#80cbc4">{ field: "amount", op: "gte", value: "2500000000" } ] }</span></div>
<div style="color:#ccc"> <span style="color:#bcfc07">webhook_url</span>: <span style="color:#80cbc4">"https://webhook.site/4f3f550f…0d6"</span></div>
<div style="color:#ccc"> <span style="color:#bcfc07">amount_cspr</span>: <span style="color:#80cbc4">10</span></div>
<div style="color:#ccc">}</div>
</div>
<div style="margin-top:8px;background:#000;border:1px solid #222;padding:12px 14px;font:400 11.5px/1.55 'JetBrains Mono'">
<div style="color:#8f8f8f">← result</div>
<div style="color:#ccc"><span style="color:#bcfc07">tx_hash:</span> <a href="https://testnet.cspr.live/transaction/4d454d87eb6c0cfbbd1ec4caf9b3cfe2698aba02445fec016dd8a7c88aac4567" target="_blank" rel="noopener" style="color:#4589f6;text-decoration:none">4d454d87…aac4567</a></div>
<div style="color:#ccc"><span style="color:#bcfc07">subscription_id:</span> <span style="color:#80cbc4">3</span> · 10 CSPR locked</div>
</div>
</div>
</div>
<div style="display:flex;gap:14px;padding-top:14px;border-top:1px dashed #222">
<div style="flex-shrink:0;font:500 10.5px 'JetBrains Mono';color:#bcfc07;letter-spacing:.08em;width:60px;padding-top:3px">USER</div>
<div style="flex:1;font:400 14.5px/1.55 'Casper Sans',Inter;color:#fff">I just sent myself 2.5 CSPR five times to test. Did any of them match?</div>
</div>
<div style="display:flex;gap:14px">
<div style="flex-shrink:0;font:500 10.5px 'JetBrains Mono';color:#3edc64;letter-spacing:.08em;width:60px;padding-top:3px">CLAUDE</div>
<div style="flex:1;font:400 14.5px/1.55 'Casper Sans',Inter;color:#ccc">
All five matched. Webhook returned 200 every time, average webhook dispatch 111 ms (match to POST).
<div style="margin-top:14px;background:#000;border:1px solid #222;padding:12px 14px;font:400 11.5px/1.55 'JetBrains Mono'">
<div style="color:#8f8f8f">→ tool call</div>
<div style="color:#bcfc07">sluice.recent_deliveries</div>
<div style="color:#ccc">{ limit: 5 }</div>
</div>
<div style="margin-top:8px;background:#000;border:1px solid #222;padding:12px 14px;font:400 11.5px/1.55 'JetBrains Mono'">
<div style="color:#8f8f8f">← result · 5 deliveries</div>
<div style="color:#3edc64">sub_3 · 200 · 105 ms · tx <a href="https://testnet.cspr.live/transaction/4287a5196a8741406098815688dc2dce63424ca1e28512c3f629f1a304672911" target="_blank" rel="noopener" style="color:#4589f6;text-decoration:none">4287a519…672911</a></div>
<div style="color:#3edc64">sub_3 · 200 · 112 ms · tx <a href="https://testnet.cspr.live/transaction/bddc9211b25939582eda547f939bd50eda4e403687c7c549d41ecc075c495aa7" target="_blank" rel="noopener" style="color:#4589f6;text-decoration:none">bddc9211…c495aa7</a></div>
<div style="color:#3edc64">sub_3 · 200 · 98 ms · tx <a href="https://testnet.cspr.live/transaction/b9c841032e1f9ff6a54ed8c3596994d0f0b042205c3329ab81bcd8f873391b7a" target="_blank" rel="noopener" style="color:#4589f6;text-decoration:none">b9c84103…3391b7a</a></div>
<div style="color:#3edc64">sub_3 · 200 · 96 ms · tx <a href="https://testnet.cspr.live/transaction/433a07dd1be25ff1892e14bce16c3626850ce9729e41162f4ac57dd2b2488b18" target="_blank" rel="noopener" style="color:#4589f6;text-decoration:none">433a07dd…2488b18</a></div>
<div style="color:#3edc64">sub_3 · 200 · 144 ms · tx <a href="https://testnet.cspr.live/transaction/3286f80b14e8c73c25d1765ebfee292ff57feccd8e9732922b3021f44df3b6e0" target="_blank" rel="noopener" style="color:#4589f6;text-decoration:none">3286f80b…df3b6e0</a></div>
</div>
<div style="margin-top:10px;color:#fff">Balance is now 1 CSPR, enough for one more delivery. Want me to top it up?</div>
</div>
</div>
</div>
<div style="padding:14px 22px;background:#000;border-top:1px solid #1a1a1a;font:500 11px 'JetBrains Mono';color:#8f8f8f;display:flex;align-items:center;gap:10px;letter-spacing:.04em">
<span>↑ REPLAYED SESSION · EVERY TX-HASH IS A REAL ON-CHAIN TRANSACTION</span>
<span style="flex:1"></span>
<a href="https://testnet.cspr.live/contract-package/f3710eaf12c30346eb1c642da832bc1af8ff900254c46bcc49a1efca81d8b971?tab=events" target="_blank" rel="noopener" style="color:#bcfc07;text-decoration:none">EVENTS ON CSPR.LIVE ↗</a>
</div>
</div>
</div>
</section>
<!-- ============ CODE ============ -->
<section id="code" style="background:#f4f4f4;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:96px 32px">
<div style="display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center">
<div>
<h2 style="margin:18px 0 0;font:500 clamp(36px,4.3vw,56px)/1.02 'Casper Sans',Inter;letter-spacing:-.03em;color:#000">Create a subscription in one call.</h2>
<p style="margin:22px 0 0;font:400 17px/1.6 'Casper Sans',Inter;color:#666">The whole API surface is small on purpose. Four endpoints, one signed deploy, one webhook contract. That's it for v0.1. Everything else is sugar in the CLI and MCP.</p>
<div style="margin-top:36px;display:flex;flex-direction:column;gap:0;border:1px solid #000;background:#fff">
<div style="padding:14px 18px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #ccc"><span style="font:500 12px 'JetBrains Mono';background:#000;color:#bcfc07;padding:3px 8px;letter-spacing:.06em">CLI</span><span style="font:500 14px 'JetBrains Mono';color:#000;flex:1">sluice subscribe</span><span style="font:400 13px;color:#666">create</span></div><div style="padding:14px 18px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #ccc"><span style="font:500 12px 'JetBrains Mono';background:#000;color:#bcfc07;padding:3px 8px;letter-spacing:.06em">CLI</span><span style="font:500 14px 'JetBrains Mono';color:#000;flex:1">sluice list / cancel</span><span style="font:400 13px;color:#666">read & cancel</span></div><div style="padding:14px 18px;display:flex;align-items:center;gap:14px;border-bottom:1px solid #ccc"><span style="font:500 12px 'JetBrains Mono';background:#000;color:#bcfc07;padding:3px 8px;letter-spacing:.06em">MCP</span><span style="font:500 14px 'JetBrains Mono';color:#000;flex:1">subscribe_to_events</span><span style="font:400 13px;color:#666">via Claude</span></div><div style="padding:14px 18px;display:flex;align-items:center;gap:14px"><span style="font:500 12px 'JetBrains Mono';background:#000;color:#bcfc07;padding:3px 8px;letter-spacing:.06em">MCP</span><span style="font:500 14px 'JetBrains Mono';color:#000;flex:1">cancel_subscription</span><span style="font:400 13px;color:#666">via any client</span></div>
</div>
</div>
<div id="hero-cs" style="background:#000;border:1px solid #000;box-shadow:8px 8px 0 #bcfc07;overflow:hidden">
<div class="cs-head" style="display:flex;align-items:center;border-bottom:1px solid #222">
<div style="display:flex;gap:5px;padding:14px 18px"><span style="width:9px;height:9px;background:#333"></span><span style="width:9px;height:9px;background:#333"></span><span style="width:9px;height:9px;background:#333"></span></div>
<div class="cs-tabs" style="display:flex;font:500 12px 'JetBrains Mono';color:#8f8f8f;letter-spacing:.04em">
<span style="padding:15px 18px;color:#fff;background:#1a1a1a;border-bottom:2px solid #bcfc07;margin-bottom:-1px">curl</span>
<span style="padding:15px 18px">typescript</span>
<span style="padding:15px 18px">rust</span>
<span style="padding:15px 18px">claude</span>
</div>
<div class="cs-spacer" style="flex:1"></div>
<div class="cs-copy" style="padding:14px 18px;font:500 11px 'JetBrains Mono';color:#bcfc07;letter-spacing:.06em">⧉ COPY</div>
</div>
<div style="padding:28px 32px;font:400 13.5px/1.75 'JetBrains Mono';color:#fff">
<div style="color:#8f8f8f"># save a predicate, lock 10 CSPR, alert on big incoming transfers</div>
<div style="margin-top:8px"><span style="color:#bcfc07">cat</span> > whale.json <<EOF</div>
<div> { <span style="color:#bcfc07">"and"</span>: [</div>
<div> { <span style="color:#bcfc07">"field"</span>: <span style="color:#80cbc4">"amount"</span>, <span style="color:#bcfc07">"op"</span>: <span style="color:#80cbc4">"gte"</span>, <span style="color:#bcfc07">"value"</span>: <span style="color:#80cbc4">"5000000000000"</span> },</div>
<div> { <span style="color:#bcfc07">"field"</span>: <span style="color:#80cbc4">"to_account_hash"</span>, <span style="color:#bcfc07">"op"</span>: <span style="color:#80cbc4">"eq"</span>, <span style="color:#bcfc07">"value"</span>: <span style="color:#80cbc4">"dc7252...787c9c"</span> }</div>
<div> ]}</div>
<div>EOF</div>
<div style="margin-top:14px"><span style="color:#bcfc07">sluice</span> subscribe \</div>
<div> --predicate ./whale.json \</div>
<div> --webhook <span style="color:#80cbc4">https://webhook.site/<your-id></span> \</div>
<div> --amount <span style="color:#80cbc4">10</span> --watch</div>
<div style="margin-top:18px;padding-top:18px;border-top:1px dashed #333">
<div style="color:#8f8f8f"># → stdout</div>
<div style="color:#ccc">submitted.</div>
<div style="color:#ccc"> tx_hash: 3f9c…b801</div>
<div style="color:#ccc"> amount: 10 CSPR (10000000000 motes)</div>
<div style="color:#ccc"> webhook: https://webhook.site/<your-id></div>
<div style="color:#ccc">⏳ waiting for matcher to see the new subscription…</div>
<div style="color:#ccc">✓ subscription id: 4</div>
<div style="color:#ccc">→ tailing deliveries (ctrl-c to quit)</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============ TRANSPARENCY ============ -->
<section style="background:#f4f4f4;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:96px 32px">
<div style="background:#fff;border:1px solid #000;display:grid;grid-template-columns:.9fr 1.1fr;gap:0">
<div style="padding:48px 44px;border-right:1px solid #000">
<div style="margin-top:20px;font:500 clamp(30px,3.6vw,44px)/1.05 'Casper Sans',Inter;letter-spacing:-.02em;color:#000">Every delivery is a deploy on Casper.</div>
<p style="margin:22px 0 0;font:400 16px/1.65 'Casper Sans',Inter;color:#666">When Sluice POSTs to your webhook and gets a 2xx, it calls <span style="font-family:'JetBrains Mono';color:#000;background:#f4f4f4;padding:2px 6px">record_delivery</span> on the escrow contract. Your bill is a sequence of on-chain receipts, not a number we made up at month-end. Pull it from cspr.live yourself if you want.</p>
<p style="margin:14px 0 0;font:400 14px/1.6 'Casper Sans',Inter;color:#5a5a5a">Rows marked <span style="font-family:'JetBrains Mono';color:#5a5a5a">DELIVERED</span> are demo lanes we run for the public feed: the delivery is real, but there is no escrow to bill, so no receipt is written. Rows marked <span style="font-family:'JetBrains Mono';color:#1a7f37">CONFIRMED</span> are escrow-backed and carry a real transaction hash.</p>
<a href="https://testnet.cspr.live/contract-package/f3710eaf12c30346eb1c642da832bc1af8ff900254c46bcc49a1efca81d8b971" target="_blank" rel="noopener" style="margin-top:30px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;font:500 15px 'Casper Sans',Inter;color:#000;border-bottom:1px solid #000;padding-bottom:3px">See the escrow contract on cspr.live →</a>
</div>
<div style="background:#fafafa;padding:36px 44px">
<div style="font:500 11px 'JetBrains Mono';letter-spacing:.12em;color:#666;text-transform:uppercase">Last 5 deliveries</div>
<div id="live-deploys" style="margin-top:20px">
<div style="padding:22px 0;font:400 13px 'JetBrains Mono';color:#666">Loading on-chain receipts from the matcher…</div>
</div>
</div>
</div>
</div>
</section>
<!-- ============ DELIVERY GUARANTEES ============ -->
<section id="delivery" data-reveal style="background:#000;color:#fff;border-bottom:1px solid #000">
<div style="max-width:1320px;margin:0 auto;padding:88px 32px">
<h2 style="margin:16px 0 0;font:500 clamp(30px,3.6vw,48px)/1.05 'Casper Sans',Inter;letter-spacing:-.025em;color:#fff;max-width:760px">Speed is half the product. Getting the event to you is the other half.</h2>
<div style="margin-top:40px;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid #222">
<div style="padding:26px 24px;border-right:1px solid #222">
<div style="font:500 11px 'JetBrains Mono';color:#bcfc07;letter-spacing:.08em">RETRIES</div>
<div style="margin-top:12px;font:400 14px/1.55 'Casper Sans',Inter;color:#ccc">Three attempts with backoff (1s, 4s, 16s) before a POST is marked failed.</div>
</div>
<div style="padding:26px 24px;border-right:1px solid #222">
<div style="font:500 11px 'JetBrains Mono';color:#bcfc07;letter-spacing:.08em">SIGNED</div>
<div style="margin-top:12px;font:400 14px/1.55 'Casper Sans',Inter;color:#ccc">HMAC-SHA256 on every POST, so you can reject anything not from Sluice.</div>