-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
823 lines (786 loc) · 39.7 KB
/
index.html
File metadata and controls
823 lines (786 loc) · 39.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OASIS - The Universal Web4/Web5 Infrastructure</title>
<meta name="description" content="One API. 50+ Chains. Infinite Possibilities. Build cross-chain applications with a single interface.">
<!-- Favicon -->
<link rel="icon" type="image/png" sizes="32x32" href="favicon.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicon.png">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="shortcut icon" href="favicon.png">
<link rel="stylesheet" href="styles.css">
<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@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
/* Ensure login button is visible - inline fallback */
.btn-login {
padding: 0.75rem 1.5rem !important;
background: #fff !important;
color: #0a0a0a !important;
border: 1px solid rgba(255, 255, 255, 0.9) !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
gap: 0.5rem !important;
border-radius: 0 !important;
white-space: nowrap !important;
text-decoration: none !important;
font-family: 'Inter', sans-serif !important;
}
.btn-login:hover {
background: rgba(255, 255, 255, 0.9) !important;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="nav" id="nav">
<div class="nav-container">
<a href="#home" class="nav-logo">
<img src="oasis-logo.png" alt="OASIS" />
</a>
<div class="nav-menu" id="navMenu">
<a href="#products" class="nav-link">Products</a>
<a href="#ecosystem" class="nav-link">Ecosystem</a>
<a href="#developers" class="nav-link">Developers</a>
<a href="resources.html" class="nav-link">Resources</a>
<a href="architecture.html" class="nav-link">Architecture</a>
<a href="pricing.html" class="nav-link">Pricing</a>
<div class="nav-actions-mobile">
<button class="btn-login" onclick="openLoginModal()">Log in</button>
<button class="btn-signup" onclick="openLoginModal('register')">Sign up</button>
<button class="btn-primary">Start building</button>
</div>
</div>
<div class="nav-actions">
<button class="btn-login" onclick="openLoginModal()">Log in</button>
<button class="btn-signup" onclick="openLoginModal('register')">Sign up</button>
<button class="btn-primary">Start building</button>
</div>
<button class="nav-toggle" id="navToggle">
<span></span>
<span></span>
<span></span>
</button>
</div>
</nav>
<!-- Section 01: Hero / Positioning -->
<section class="section hero-section" id="home" data-section="01">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">01</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<div class="hero-content">
<h1 class="hero-title">
<span class="title-line">Universal</span>
<span class="title-line">
<span class="carousel-word" id="carouselWord">RWA</span>
</span>
<span class="title-line">Infrastructure</span>
</h1>
<p class="hero-tagline">
/// one API. all chains. infinite possibilities.
</p>
<div class="hero-description">
<p>
OASIS is a technology that enables applications to move data across blockchains,
uniquely supporting universal interoperability and permissionless development through
immutable infrastructure.
</p>
</div>
<div class="hero-actions">
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/api-reference/api_reference" class="btn-primary" target="_blank">
<span>Start building</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</a>
</div>
<div class="hero-links">
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" class="hero-link" target="_blank">
<span>Documentation</span>
</a>
<a href="https://github.com/NextGenSoftwareUK/OASIS" class="hero-link" target="_blank">
<span>Github</span>
</a>
<a href="https://www.ourworldthegame.com/single-post/what-are-holons-and-what-can-they-do-for-you" class="hero-link" target="_blank">
<span>Blog</span>
</a>
</div>
</div>
<div class="scroll-indicator">
<div class="scroll-text">Scroll to explore</div>
<div class="scroll-section">
<span class="section-bracket">[</span>
<span class="section-number">01</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="scroll-label">Positioning</div>
</div>
</div>
</section>
<!-- Section 02: Principles -->
<section class="section principles-section" id="principles" data-section="02">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">02</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<h2 class="section-title">Principles.</h2>
<div class="principles-grid">
<div class="principle-item">
<div class="principle-header">
<div class="principle-icon"></div>
<div class="principle-number">/ 01</div>
</div>
<h3 class="principle-title">Universal Interoperability</h3>
<p class="principle-description">
The protocol ensures all data and assets can move across any blockchain or provider without selective interference.
</p>
</div>
<div class="principle-item">
<div class="principle-header">
<div class="principle-icon"></div>
<div class="principle-number">/ 02</div>
</div>
<h3 class="principle-title">Zero Downtime</h3>
<p class="principle-description">
The protocol ensures continuous availability by automatically routing operations to available providers when failures occur, maintaining service without interruption.
</p>
</div>
<div class="principle-item">
<div class="principle-header">
<div class="principle-icon"></div>
<div class="principle-number">/ 03</div>
</div>
<h3 class="principle-title">Permissionless</h3>
<p class="principle-description">
Anyone can run the required infrastructure to service applications that use the protocol.
</p>
</div>
</div>
</div>
</section>
<!-- Section 03: By the Numbers -->
<section class="section stats-section" id="stats" data-section="03">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">03</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<div class="stats-header">
<div class="live-badge">
<span class="live-dot"></span>
<span>LIVE</span>
</div>
<h2 class="section-title">OASIS By the numbers</h2>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/core-architecture/starnet-web-ui-overview" class="stats-link" target="_blank">Visit OASIS Dashboard</a>
</div>
<div class="stats-grid">
<div class="stat-item">
<div class="stat-label">Total Messages</div>
<div class="stat-value">-</div>
</div>
<div class="stat-item">
<div class="stat-label">Value Transferred</div>
<div class="stat-value">$<span data-target="0">0</span>B+</div>
</div>
<div class="stat-item">
<div class="stat-label">Supported Blockchains</div>
<div class="stat-value"><span data-target="20">0</span>+</div>
</div>
<div class="stat-item">
<div class="stat-label">Applications Built on OASIS</div>
<div class="stat-value"><span data-target="1000">0</span>+</div>
</div>
</div>
</div>
</section>
<!-- Section 04: Architecture / How It Works -->
<section class="section architecture-section" id="architecture" data-section="04">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">04</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<h2 class="section-title">How OASIS Works</h2>
<div class="architecture-content">
<div class="architecture-text">
<p class="architecture-description">
OASIS connects blockchains through a universal abstraction layer, enabling seamless
data movement, asset transfers, and cross-chain applications.
</p>
<p class="architecture-description">
At the core of this is the <strong>holon</strong>, an identity-first unit of data that persists
independently of any blockchain or database. A holon is both a whole (it has its own identity,
type, and metadata) and a part of larger structures (it can have parents and children).
Because holons are not tied to a single execution context, the same data can live on MongoDB,
Solana, IPFS, or 50+ providers; one API, one model. That’s <strong>holonic interoperability</strong>.
</p>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/core-architecture/oasis_interoperability_architecture" class="link-button" target="_blank">
<span>Learn more</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</a>
</div>
<div class="architecture-diagram">
<img src="images/OASIS%20Torus.gif" alt="OASIS architecture: OASIS API and Web4 at the centre, Web1–Web3 below, Web5 and STAR Omniverse above, within COSMIC ORM" class="architecture-torus" />
</div>
</div>
</div>
</section>
<!-- Section 05: Products -->
<section class="section products-section" id="products" data-section="05">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">05</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<h2 class="section-title">Products</h2>
<p class="section-subtitle">Supporting a Universal Web4/Web5 Ecosystem.</p>
<div class="products-grid">
<a href="products/identity.html" class="product-card">
<div class="product-category">IDENTITY</div>
<h3 class="product-title">Identity & Access</h3>
<p class="product-description">
Unified identity system spanning Web2 and Web3. Avatar, Karma, Wallet, and Keys APIs
for complete identity management across all platforms.
</p>
</a>
<a href="products/data.html" class="product-card">
<div class="product-category">DATA</div>
<h3 class="product-title">Data & Storage</h3>
<p class="product-description">
Holonic architecture with HyperDrive intelligent routing. Auto-replication, auto-failover,
and provider independence for 100% uptime.
</p>
</a>
<a href="products/nfts.html" class="product-card">
<div class="product-category">NFT</div>
<h3 class="product-title">NFTs & Digital Assets</h3>
<p class="product-description">
Web4 OASIS NFTs, NFT Mint Studio, yNFTs, and GeoNFTs. Cross-chain collections with
universal metadata and auto-replication.
</p>
</a>
<a href="products/smart-contracts.html" class="product-card">
<div class="product-category">CONTRACTS</div>
<h3 class="product-title">Smart Contracts</h3>
<p class="product-description">
Multi-chain contract generator supporting Ethereum, Solana, Radix. UAT standard for
RWA tokenization. Write once, deploy everywhere.
</p>
</a>
<a href="products/bridges.html" class="product-card">
<div class="product-category">BRIDGE</div>
<h3 class="product-title">Interoperability & Bridges</h3>
<p class="product-description">
Universal Asset Bridge with atomic swaps. Cross-chain transfers with real-time exchange
rates and transaction tracking.
</p>
</a>
<a href="products/star.html" class="product-card">
<div class="product-category">STAR</div>
<h3 class="product-title">STAR CLI</h3>
<p class="product-description">
Revolutionary low/no-code generator for metaverses, games, and apps. Create OAPPs,
manage STARNETHolons, and build the OASIS Omniverse.
</p>
</a>
<a href="products/infrastructure.html" class="product-card">
<div class="product-category">INFRASTRUCTURE</div>
<h3 class="product-title">Infrastructure & Tools</h3>
<p class="product-description">
SDKs, Web Kits, provider system, and developer tools. Framework integrations for
Angular, React, Vue, Unity, Unreal, and more.
</p>
</a>
<a href="products/mcp.html" class="product-card">
<div class="product-category">DEVELOPER TOOLS</div>
<h3 class="product-title">MCP Server for Cursor</h3>
<p class="product-description">
Access OASIS directly from Cursor IDE. 60+ tools for NFT minting, wallet management,
smart contracts, and A2A Protocol. Natural language commands.
</p>
</a>
</div>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" class="link-button" target="_blank">
<span>View more</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</a>
</div>
</section>
<!-- Section 06: Ecosystem -->
<section class="section ecosystem-section" id="ecosystem" data-section="06">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">06</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<h2 class="section-title">Ecosystem Overview</h2>
<p class="section-subtitle">OASIS integrates a broad range of web2 and web3 providers - making cross-chain operations seamless.</p>
<div class="ecosystem-filters">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="blockchain">Blockchains</button>
<button class="filter-btn" data-filter="cloud">Cloud</button>
<button class="filter-btn" data-filter="storage">Storage</button>
<button class="filter-btn" data-filter="network">Networks</button>
</div>
<div class="ecosystem-grid">
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/miden.png" alt="Miden" class="ecosystem-logo" />
<div class="ecosystem-name">Miden</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/zcash.png" alt="Zcash" class="ecosystem-logo" />
<div class="ecosystem-name">Zcash</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/aztec.png" alt="Aztec" class="ecosystem-logo" />
<div class="ecosystem-name">Aztec</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/ethereum.svg" alt="Ethereum" class="ecosystem-logo" />
<div class="ecosystem-name">Ethereum</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/solana.svg" alt="Solana" class="ecosystem-logo" />
<div class="ecosystem-name">Solana</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/polygon.svg" alt="Polygon" class="ecosystem-logo" />
<div class="ecosystem-name">Polygon</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/arbitrum.png" alt="Arbitrum" class="ecosystem-logo" />
<div class="ecosystem-name">Arbitrum</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/base.png" alt="Base" class="ecosystem-logo" />
<div class="ecosystem-name">Base</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/avalanche.svg" alt="Avalanche" class="ecosystem-logo" />
<div class="ecosystem-name">Avalanche</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/radix.svg" alt="Radix" class="ecosystem-logo" />
<div class="ecosystem-name">Radix</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/bnb.svg" alt="BNB Chain" class="ecosystem-logo" />
<div class="ecosystem-name">BNB Chain</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/optimism.png" alt="Optimism" class="ecosystem-logo" />
<div class="ecosystem-name">Optimism</div>
</div>
<div class="ecosystem-item" data-category="blockchain">
<img src="logos/fantom.png" alt="Fantom" class="ecosystem-logo" />
<div class="ecosystem-name">Fantom</div>
</div>
<div class="ecosystem-item" data-category="cloud">
<img src="logos/aws.png" alt="AWS" class="ecosystem-logo" />
<div class="ecosystem-name">AWS</div>
</div>
<div class="ecosystem-item" data-category="cloud">
<img src="logos/azure.png" alt="Azure" class="ecosystem-logo" />
<div class="ecosystem-name">Azure</div>
</div>
<div class="ecosystem-item" data-category="cloud">
<img src="logos/google-cloud.png" alt="Google Cloud" class="ecosystem-logo" />
<div class="ecosystem-name">Google Cloud</div>
</div>
<div class="ecosystem-item" data-category="storage">
<img src="logos/mongodb.png" alt="MongoDB" class="ecosystem-logo" />
<div class="ecosystem-name">MongoDB</div>
</div>
<div class="ecosystem-item" data-category="storage">
<img src="logos/ipfs.png" alt="IPFS" class="ecosystem-logo" />
<div class="ecosystem-name">IPFS</div>
</div>
<div class="ecosystem-item" data-category="storage">
<img src="logos/arweave.png" alt="Arweave" class="ecosystem-logo" />
<div class="ecosystem-name">Arweave</div>
</div>
<div class="ecosystem-item" data-category="network">
<img src="logos/holochain.png" alt="Holochain" class="ecosystem-logo" />
<div class="ecosystem-name">Holochain</div>
</div>
<div class="ecosystem-item" data-category="network">
<img src="logos/threefold.png" alt="ThreeFold" class="ecosystem-logo" />
<div class="ecosystem-name">ThreeFold</div>
</div>
<div class="ecosystem-item" data-category="network">
<img src="logos/solid.png" alt="SOLID" class="ecosystem-logo" />
<div class="ecosystem-name">SOLID</div>
</div>
</div>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/#supported-providers" class="link-button" target="_blank">
<span>View more</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</a>
</div>
</section>
<!-- Section 07: Code Examples -->
<section class="section code-section" id="developers" data-section="07">
<div class="section-indicator">
<span class="section-bracket">[</span>
<span class="section-number">07</span>
<span class="section-divider">/</span>
<span class="section-total">07</span>
<span class="section-bracket">]</span>
</div>
<div class="container">
<h2 class="section-title">code examples</h2>
<div class="code-header">
<div class="code-intro">
<h3 class="code-title">Develop with OASIS.</h3>
<p class="code-description">
OASIS protocol provides developers with the necessary tools to send messages across blockchains
while retaining ownership of security. Move data, issue tokens, and build dApps on any blockchain
through universal contract standards like OAPP, OFT, and ONFT.
</p>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" class="link-button" target="_blank">
<span>Learn more</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path d="M6 12L10 8L6 4" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
</svg>
</a>
</div>
</div>
<div class="code-examples">
<div class="code-tabs">
<button class="code-tab active" data-tab="identity">
<span>[ IDENTITY_API.ts ]</span>
<span class="code-tab-label">Identity</span>
</button>
<button class="code-tab" data-tab="nft">
<span>[ NFT_MINT.ts ]</span>
<span class="code-tab-label">NFT</span>
</button>
<button class="code-tab" data-tab="bridge">
<span>[ BRIDGE_TRANSFER.ts ]</span>
<span class="code-tab-label">Bridge</span>
</button>
</div>
<div class="code-content">
<div class="code-block active" data-code="identity">
<div class="code-block-header">
<span class="code-block-title">Identity</span>
<span class="code-block-subtitle">Provides developers with unified identity management across Web2 and Web3</span>
</div>
<div class="code-block-hint">[ Hover ]</div>
<pre><code>import { OASISClient } from '@oasis/sdk';
const client = new OASISClient({
apiKey: 'your-api-key',
endpoint: 'https://api.oasisweb4.com'
});
// Create Avatar
const avatar = await client.identity.createAvatar({
username: 'developer',
email: 'dev@example.com'
});
// Get Karma
const karma = await client.identity.getKarma(avatar.id);
// Create Wallet
const wallet = await client.identity.createWallet({
avatarId: avatar.id,
chain: 'ethereum'
});
// Manage Keys
const keys = await client.identity.generateKeys({
walletId: wallet.id
});</code></pre>
</div>
<div class="code-block" data-code="nft">
<div class="code-block-header">
<span class="code-block-title">NFT</span>
<span class="code-block-subtitle">Mint NFTs across multiple blockchains with universal metadata</span>
</div>
<div class="code-block-hint">[ Hover ]</div>
<pre><code>import { OASISClient } from '@oasis/sdk';
const client = new OASISClient({
apiKey: 'your-api-key'
});
// Mint NFT on Multiple Chains
const nft = await client.nft.mint({
name: 'My NFT',
description: 'Cross-chain NFT',
image: 'ipfs://Qm...',
chains: ['ethereum', 'solana', 'polygon']
});
// Create Collection
const collection = await client.nft.createCollection({
name: 'My Collection',
chains: ['ethereum', 'solana']
});
// Auto-replication to all chains
console.log(nft.chains);</code></pre>
</div>
<div class="code-block" data-code="bridge">
<div class="code-block-header">
<span class="code-block-title">Bridge</span>
<span class="code-block-subtitle">Transfer assets across blockchains with atomic swap guarantees</span>
</div>
<div class="code-block-hint">[ Hover ]</div>
<pre><code>import { OASISClient } from '@oasis/sdk';
const client = new OASISClient({
apiKey: 'your-api-key'
});
// Bridge Assets
const bridge = await client.bridge.transfer({
fromChain: 'ethereum',
toChain: 'solana',
token: 'USDC',
amount: '1000',
recipient: 'solana-address'
});
// Check Status
const status = await client.bridge.getStatus({
transactionId: bridge.id
});
// Atomic swap guarantees
console.log(status.status);</code></pre>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="footer-grid">
<div class="footer-col">
<h4>Social Media</h4>
<a href="https://x.com/oasisweb4" target="_blank">X (Twitter)</a>
<a href="https://discord.gg/RU6Z8YJ" target="_blank">Discord</a>
<a href="https://t.me/oasisweb4chat" target="_blank">Telegram</a>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" target="_blank">Documentation</a>
</div>
<div class="footer-col">
<h4>Resources</h4>
<a href="resources.html">Resources</a>
<a href="architecture.html">Architecture</a>
<a href="holonic-architecture.html">Holonic Whitepaper</a>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" target="_blank">Documentation</a>
</div>
<div class="footer-col">
<h4>For the developers</h4>
<a href="https://github.com/NextGenSoftwareUK/OASIS" target="_blank">OASIS Github</a>
</div>
<div class="footer-col">
<h4>Ecosystem</h4>
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/#supported-providers" target="_blank">Ecosystem</a>
</div>
</div>
<div class="footer-bottom">
<div class="footer-links">
<a href="https://oasis-web4.gitbook.io/oasis-web4-docs/" target="_blank">Documentation</a>
<a href="https://github.com/NextGenSoftwareUK/OASIS" target="_blank">Support</a>
</div>
<div class="footer-copyright">© 2025 OASIS</div>
</div>
</div>
</footer>
<!-- Login Modal -->
<div id="loginModal" class="modal" style="display: none;">
<div class="modal-overlay" onclick="closeLoginModal()"></div>
<div class="modal-content">
<button class="modal-close" onclick="closeLoginModal()">×</button>
<div class="auth-container">
<div class="auth-header">
<div class="auth-logo">
<div class="auth-logo-circle">
<div class="auth-logo-inner">O</div>
</div>
</div>
<p class="auth-label">Avatar Access</p>
</div>
<div class="auth-title-section">
<div class="auth-subtitle">Connect Identity</div>
<h2 class="auth-title">Connect your avatar</h2>
<p class="auth-description">
Sign in with your OASIS avatar to access your multi-chain wallets and data.
</p>
</div>
<div class="auth-tabs">
<button class="auth-tab active" data-mode="login" onclick="switchAuthMode('login')">
Sign in
</button>
<button class="auth-tab" data-mode="register" onclick="switchAuthMode('register')">
Create avatar
</button>
</div>
<form id="authForm" class="auth-form" onsubmit="handleAuthSubmit(event)">
<div class="auth-field">
<label class="auth-label-text">
<span id="usernameLabel">Username or email</span>
</label>
<input
type="text"
id="username"
name="username"
class="auth-input"
placeholder="email@oasis.com"
required
/>
</div>
<div id="registerFields" style="display: none;">
<div class="auth-field">
<label class="auth-label-text">Email</label>
<input
type="email"
id="email"
name="email"
class="auth-input"
placeholder="you@example.com"
/>
</div>
<div class="auth-field-row">
<div class="auth-field">
<label class="auth-label-text">First name</label>
<input
type="text"
id="firstName"
name="firstName"
class="auth-input"
placeholder="Optional"
/>
</div>
<div class="auth-field">
<label class="auth-label-text">Last name</label>
<input
type="text"
id="lastName"
name="lastName"
class="auth-input"
placeholder="Optional"
/>
</div>
</div>
</div>
<div class="auth-field">
<label class="auth-label-text">Password</label>
<div class="auth-password-wrap">
<input
type="password"
id="password"
name="password"
class="auth-input"
placeholder="••••••••"
required
autocomplete="current-password"
/>
<button type="button" class="auth-password-toggle" aria-label="Toggle password visibility" onclick="var i=this.previousElementSibling;i.type=i.type==='password'?'text':'password';this.textContent=i.type==='password'?'Show':'Hide'">Show</button>
</div>
<div class="auth-field-footer">
<a href="/avatar/forgot-password" class="auth-forgot-link">Forgot password?</a>
</div>
</div>
<div id="authError" class="auth-error" style="display: none;"></div>
<div class="auth-actions">
<button type="submit" class="btn-primary auth-submit" id="authSubmitBtn">
<span id="authSubmitText">Sign in</span>
</button>
<button type="button" class="btn-text auth-skip" onclick="useDemoAvatar()">
Skip for now
</button>
</div>
</form>
</div>
</div>
</div>
<script src="script.js"></script>
<script>
// Fallback: Ensure login functions are available even if script.js fails to load
if (typeof openLoginModal === 'undefined') {
window.openLoginModal = function() {
const modal = document.getElementById('loginModal');
if (modal) {
modal.style.display = 'flex';
document.body.style.overflow = 'hidden';
}
};
}
if (typeof closeLoginModal === 'undefined') {
window.closeLoginModal = function() {
const modal = document.getElementById('loginModal');
if (modal) {
modal.style.display = 'none';
document.body.style.overflow = '';
}
};
}
// Ensure login button is visible on load - run immediately
(function() {
function styleLoginButton() {
const loginButtons = document.querySelectorAll('button[onclick*="openLoginModal"]');
loginButtons.forEach(btn => {
// Remove old class and add new one
btn.classList.remove('btn-text');
btn.classList.add('btn-login');
// Force visible styling with inline styles
btn.style.cssText = `
padding: 0.75rem 1.5rem !important;
background: #fff !important;
color: #0a0a0a !important;
border: 1px solid rgba(255, 255, 255, 0.9) !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
cursor: pointer !important;
display: inline-flex !important;
align-items: center !important;
gap: 0.5rem !important;
border-radius: 0 !important;
white-space: nowrap !important;
text-decoration: none !important;
font-family: 'Inter', sans-serif !important;
`;
});
}
// Run immediately
styleLoginButton();
// Also run on DOMContentLoaded
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', styleLoginButton);
}
// Run after a short delay to catch any late-loading elements
setTimeout(styleLoginButton, 100);
setTimeout(styleLoginButton, 500);
})();
</script>
</body>
</html>