Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 20 additions & 16 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<h1 align="center"></h1>
<h3 align="center" class="mono">$VIAT (NATIVE CRYPTO)</h3>
<h4 align="center" class="mono">TOKENS: $bVIAT (BNB) | $SNTVT (ETH)</h4>
<!-- | $mVIAT (SOL MEME) -->
<h1 align="center">⩝</h1>
<h2 align="center">WELCOME TO THE NEXUS</h2>
<h4 align="center" class="mono"><a href="https://github.com/universalweb/Network/tree/master/viat">$VIAT</a> | <a href="https://github.com/universalweb/Network/">GITHUB</a></h4>
<h4 align="center" class="mono">TOKENS: $bVIAT (BNB)</h4>
<!-- <h4 align="center" class="mono">TOKENS: $bVIAT (BNB) [ACTIVE] | $SNTVT (ETH) [INACTIVE]</h4> -->
<!-- | $mVIAT (SOL MEME) -->
<p align="center">META-LAYER SOLUTION</p>
<h4 align="center"> POST QUANTUM CRYPTOGRAPHIC NEXUS </h4>
<!-- <p align="center"> <a href="https://github.com/universalweb/Whitepaper">WHITEPAPER (OUTDATED - OLD DESIGN)</a> </p> -->
Expand All @@ -17,19 +18,20 @@
<h4 align="center"> VIAT CRYPTOGRAPHY </h4>
<p>VIAT uses hybrid post quantum cryptography which combines classical and post quantum cryptography into a singular algorithm. There are two hybrid post quantum algorithms one is for Signatures and the other is for Key Exchanges. All primary VIAT cryptography used is listed below more are available for the UW.</p>
<hr style="margin-top:5px;width:70%" />
<p> <span style="margin-left:10px;">SIGNATURE: DILITHIUM ◉ ED25519 ◉ SPHINCS+</span> </p>
<p> <span style="margin-left:10px;">KEY EXCHANGE: KYBER ◉ x25519</span> </p>
<p> <span style="margin-left:10px;">HASH: SHAKE256 (32 &amp; 64 byte outputs)</span> </p>
<p> <span style="margin-left:10px;">WALLET ADDRESS: 64bytes SHAKE256 512bit expanded output</span> </p>
<p> <span style="margin-left:10px;">ENCRYPTION (AEAD): AEGIS-256 - XChaCha20Poly1305-IETF</span> </p>
<p> <span style="margin-left:10px;">SYMBOL: <a href="https://www.compart.com/en/unicode/U+2A5D">⩝</a></span> </p>
<p> <span style="margin-left:10px;">SIGNATURE: DILITHIUM ◉ ED25519 ◉ SPHINCS+</span></p>
<p> <span style="margin-left:10px;">KEY EXCHANGE: KYBER ◉ x25519</span></p>
<p> <span style="margin-left:10px;">HASH: SHAKE256 (32 &amp; 64 byte outputs)</span></p>
<p> <span style="margin-left:10px;">WALLET ADDRESS: 64bytes SHAKE256 512bit expanded output</span></p>
<p> <span style="margin-left:10px;">ENCRYPTION (AEAD): AEGIS-256 - XChaCha20Poly1305-IETF</span></p>
<p> <span style="margin-left:10px;">SYMBOL: <a href="https://www.compart.com/en/unicode/U+2A5D">⩝</a></span></p>
<p> <span style="margin-left:10px;">PROOF: Hybrid Proof of Work</span></p>
<hr />
<h4 align="center"> UW CRYPTOGRAPHY </h4>
<p>These are all the cryptographic algorithms supported or play a role in the UW/VIAT. Hybrid post quantum algorithms are available for Key Exchanges and Signatures.</p>
<hr style="margin-top:5px;width:70%" />
<p> <span style="margin-left:10px;">KEY EXCHANGE: [KYBER, x25519]</span> </p>
<p> <span style="margin-left:10px;">ENCRYPTION (AEAD): [AEGIS-256, XChaCha20Poly1305-IETF]</span> </p>
<p> <span style="margin-left:10px;">SIGNATURE: [DILITHIUM, ED25519, SPHINCS+, FALCON]</span> </p>
<p> <span style="margin-left:10px;">KEY EXCHANGE: [KYBER, x25519]</span></p>
<p> <span style="margin-left:10px;">ENCRYPTION (AEAD): [AEGIS-256, XChaCha20Poly1305-IETF]</span></p>
<p> <span style="margin-left:10px;">SIGNATURE: [DILITHIUM, ED25519, SPHINCS+, FALCON]</span></p>
<p> <span style="margin-left:10px;">HASH: [SHAKE256, BLAKE3]</span></p>
<hr />
<h1 align="center">F.A.Q</h1>
Expand All @@ -53,12 +55,12 @@
<h4>Perspective &amp; Rational</h4>
<p>Re-imagining the Web from the ground up may seem like a radical proposition, but it is entirely logical, rational, within our ability, &amp; necessary. At its core, the Web is a collection of software solutions. Therefore, creating a system that can replace yet go beyond the Web doesn’t require reinventing the physical infrastructure; it simply demands innovative software designed to leverage current innovations while addressing the limitations of the old.</p>
<p>If we critically evaluate the challenges facing the current Web, from inefficiencies &amp; vulnerabilities to its inability to fully embrace emerging technologies, it becomes self-evident that incremental updates aren't going to address fundamental design flaws. A foundational overhaul is not only viable but also more efficient and cost-effective. By building on 30 years of lessons, we can envision something that goes beyond what we call a Web, which integrates cutting-edge technologies and anticipates future advancements. This isn’t just an opportunity; it’s an imperative to build the future.</p>
<h4>SUMMARY</h4>
<h4>CODE REPO SUMMARY</h4>
<ul>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/viat.js">VIAT</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/server">NETWORK PROTOCOL UDSP MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/server">SERVER MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/client">CLIENT MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/viat.js">VIAT WALLETS</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/viat">VIAT CODE FOLDER</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/serverApp">EXAMPLE APP</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/certificates.js">DEMO CERTS</a></li>
Expand All @@ -84,11 +86,13 @@
<li>Multi-Device Support</li>
<li>UW BROWSER</li>
<li>VIAT - NATIVE CRYPTOCURRENCY</li>
<li>VIAT GUI WALLET</li>
<li>VIAT MINING GUI</li>
<li>DECENTRALIZED GOVERNANCE</li>
</ul>
<hr />
<h4 align="center">Want to contribute? Then join the Imperium today!</h4>
<p align="center">To help write content, make art, write code, share it, and or star this repo! All are welcome to the Nexus.</p>
<p align="center">To help write content, make art, write code, share it, and or star our repo! All are welcome to the Nexus.</p>
<hr />
<small>COPYRIGHT © 2025 VIAT, <a href="https://universalweb.io">UNIVERSAL WEB</a>, THE NEXUS</small>
<br />
Expand Down
36 changes: 20 additions & 16 deletions docs/content.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<h1 align="center"></h1>
<h3 align="center" class="mono">$VIAT (NATIVE CRYPTO)</h3>
<h4 align="center" class="mono">TOKENS: $bVIAT (BNB) | $SNTVT (ETH)</h4>
<!-- | $mVIAT (SOL MEME) -->
<h1 align="center">⩝</h1>
<h2 align="center">WELCOME TO THE NEXUS</h2>
<h4 align="center" class="mono"><a href="https://github.com/universalweb/Network/tree/master/viat">$VIAT</a> | <a href="https://github.com/universalweb/Network/">GITHUB</a></h4>
<h4 align="center" class="mono">TOKENS: $bVIAT (BNB)</h4>
<!-- <h4 align="center" class="mono">TOKENS: $bVIAT (BNB) [ACTIVE] | $SNTVT (ETH) [INACTIVE]</h4> -->
<!-- | $mVIAT (SOL MEME) -->
<p align="center">META-LAYER 󰽙 SOLUTION</p>
<h4 align="center"> POST QUANTUM CRYPTOGRAPHIC NEXUS </h4>
<!-- <p align="center"> <a href="https://github.com/universalweb/Whitepaper">WHITEPAPER (OUTDATED - OLD DESIGN)</a> </p> -->
Expand All @@ -17,19 +18,20 @@ <h5 align="center" class="mono"> <a href="https://x.com/tommarchi">LEAD DEV</
<h4 align="center"> VIAT CRYPTOGRAPHY 󱕵 </h4>
<p>VIAT uses hybrid post quantum cryptography which combines classical and post quantum cryptography into a singular algorithm. There are two hybrid post quantum algorithms one is for Signatures and the other is for Key Exchanges. All primary VIAT cryptography used is listed below more are available for the UW.</p>
<hr style="margin-top:5px;width:70%" />
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: DILITHIUM ◉ ED25519 ◉ SPHINCS+</span> </p>
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: KYBER ◉ x25519</span> </p>
<p>  <span style="margin-left:10px;">HASH: SHAKE256 (32 &amp; 64 byte outputs)</span> </p>
<p> 󰀋 <span style="margin-left:10px;">WALLET ADDRESS: 64bytes  SHAKE256 512bit expanded output</span> </p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): AEGIS-256 - XChaCha20Poly1305-IETF</span> </p>
<p>  <span style="margin-left:10px;">SYMBOL: <a href="https://www.compart.com/en/unicode/U+2A5D">⩝</a></span> </p>
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: DILITHIUM ◉ ED25519 ◉ SPHINCS+</span></p>
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: KYBER ◉ x25519</span></p>
<p>  <span style="margin-left:10px;">HASH: SHAKE256 (32 &amp; 64 byte outputs)</span></p>
<p> 󰀋 <span style="margin-left:10px;">WALLET ADDRESS: 64bytes  SHAKE256 512bit expanded output</span></p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): AEGIS-256 - XChaCha20Poly1305-IETF</span></p>
<p>  <span style="margin-left:10px;">SYMBOL: <a href="https://www.compart.com/en/unicode/U+2A5D">⩝</a></span></p>
<p> 󰢷 <span style="margin-left:10px;">PROOF: Hybrid Proof of Work</span></p>
<hr />
<h4 align="center"> UW CRYPTOGRAPHY </h4>
<p>These are all the cryptographic algorithms supported or play a role in the UW/VIAT. Hybrid post quantum algorithms are available for Key Exchanges and Signatures.</p>
<hr style="margin-top:5px;width:70%" />
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: [KYBER, x25519]</span> </p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): [AEGIS-256, XChaCha20Poly1305-IETF]</span> </p>
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: [DILITHIUM, ED25519, SPHINCS+, FALCON]</span> </p>
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: [KYBER, x25519]</span></p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): [AEGIS-256, XChaCha20Poly1305-IETF]</span></p>
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: [DILITHIUM, ED25519, SPHINCS+, FALCON]</span></p>
<p> 󱕴 <span style="margin-left:10px;">HASH: [SHAKE256, BLAKE3]</span></p>
<hr />
<h1 align="center">F.A.Q</h1>
Expand All @@ -53,12 +55,12 @@ <h4>Is the UW's DIS and the WWW's DNS the same?</h4>
<h4>Perspective &amp; Rational</h4>
<p>Re-imagining the Web from the ground up may seem like a radical proposition, but it is entirely logical, rational, within our ability, &amp; necessary. At its core, the Web is a collection of software solutions. Therefore, creating a system that can replace yet go beyond the Web doesn’t require reinventing the physical infrastructure; it simply demands innovative software designed to leverage current innovations while addressing the limitations of the old.</p>
<p>If we critically evaluate the challenges facing the current Web, from inefficiencies &amp; vulnerabilities to its inability to fully embrace emerging technologies, it becomes self-evident that incremental updates aren't going to address fundamental design flaws. A foundational overhaul is not only viable but also more efficient and cost-effective. By building on 30 years of lessons, we can envision something that goes beyond what we call a Web, which integrates cutting-edge technologies and anticipates future advancements. This isn’t just an opportunity; it’s an imperative to build the future.</p>
<h4>SUMMARY</h4>
<h4>CODE REPO SUMMARY</h4>
<ul>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/viat.js">VIAT</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/server">NETWORK PROTOCOL UDSP MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/server">SERVER MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/client">CLIENT MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/viat.js">VIAT WALLETS</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/viat">VIAT CODE FOLDER</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/serverApp">EXAMPLE APP</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/certificates.js">DEMO CERTS</a></li>
Expand All @@ -84,11 +86,13 @@ <h4>BROAD CODE OBJECTIVES</h4>
<li>Multi-Device Support</li>
<li>UW BROWSER</li>
<li>VIAT - NATIVE CRYPTOCURRENCY</li>
<li>VIAT GUI WALLET</li>
<li>VIAT MINING GUI</li>
<li>DECENTRALIZED GOVERNANCE</li>
</ul>
<hr />
<h4 align="center">Want to contribute? Then join the Imperium today!</h4>
<p align="center">To help write content, make art, write code, share it, and or star this repo! All are welcome to the Nexus.</p>
<p align="center">To help write content, make art, write code, share it, and or star our repo! All are welcome to the Nexus.</p>
<hr />
<small>COPYRIGHT © 2025 VIAT, <a href="https://universalweb.io">UNIVERSAL WEB</a>, THE NEXUS</small>
<br />
Expand Down
36 changes: 20 additions & 16 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@

<body>
<canvas id="particle-canvas"></canvas>
<div class="content"> <h1 align="center"></h1>
<h3 align="center" class="mono">$VIAT (NATIVE CRYPTO)</h3>
<h4 align="center" class="mono">TOKENS: $bVIAT (BNB) | $SNTVT (ETH)</h4>
<!-- | $mVIAT (SOL MEME) -->
<div class="content"> <h1 align="center">⩝</h1>
<h2 align="center">WELCOME TO THE NEXUS</h2>
<h4 align="center" class="mono"><a href="https://github.com/universalweb/Network/tree/master/viat">$VIAT</a> | <a href="https://github.com/universalweb/Network/">GITHUB</a></h4>
<h4 align="center" class="mono">TOKENS: $bVIAT (BNB)</h4>
<!-- <h4 align="center" class="mono">TOKENS: $bVIAT (BNB) [ACTIVE] | $SNTVT (ETH) [INACTIVE]</h4> -->
<!-- | $mVIAT (SOL MEME) -->
<p align="center">META-LAYER 󰽙 SOLUTION</p>
<h4 align="center"> POST QUANTUM CRYPTOGRAPHIC NEXUS </h4>
<!-- <p align="center"> <a href="https://github.com/universalweb/Whitepaper">WHITEPAPER (OUTDATED - OLD DESIGN)</a> </p> -->
Expand All @@ -31,19 +32,20 @@ <h5 align="center" class="mono"> <a href="https://x.com/tommarchi">LEAD DEV</
<h4 align="center"> VIAT CRYPTOGRAPHY 󱕵 </h4>
<p>VIAT uses hybrid post quantum cryptography which combines classical and post quantum cryptography into a singular algorithm. There are two hybrid post quantum algorithms one is for Signatures and the other is for Key Exchanges. All primary VIAT cryptography used is listed below more are available for the UW.</p>
<hr style="margin-top:5px;width:70%" />
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: DILITHIUM ◉ ED25519 ◉ SPHINCS+</span> </p>
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: KYBER ◉ x25519</span> </p>
<p>  <span style="margin-left:10px;">HASH: SHAKE256 (32 &amp; 64 byte outputs)</span> </p>
<p> 󰀋 <span style="margin-left:10px;">WALLET ADDRESS: 64bytes  SHAKE256 512bit expanded output</span> </p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): AEGIS-256 - XChaCha20Poly1305-IETF</span> </p>
<p>  <span style="margin-left:10px;">SYMBOL: <a href="https://www.compart.com/en/unicode/U+2A5D">⩝</a></span> </p>
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: DILITHIUM ◉ ED25519 ◉ SPHINCS+</span></p>
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: KYBER ◉ x25519</span></p>
<p>  <span style="margin-left:10px;">HASH: SHAKE256 (32 &amp; 64 byte outputs)</span></p>
<p> 󰀋 <span style="margin-left:10px;">WALLET ADDRESS: 64bytes  SHAKE256 512bit expanded output</span></p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): AEGIS-256 - XChaCha20Poly1305-IETF</span></p>
<p>  <span style="margin-left:10px;">SYMBOL: <a href="https://www.compart.com/en/unicode/U+2A5D">⩝</a></span></p>
<p> 󰢷 <span style="margin-left:10px;">PROOF: Hybrid Proof of Work</span></p>
<hr />
<h4 align="center"> UW CRYPTOGRAPHY </h4>
<p>These are all the cryptographic algorithms supported or play a role in the UW/VIAT. Hybrid post quantum algorithms are available for Key Exchanges and Signatures.</p>
<hr style="margin-top:5px;width:70%" />
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: [KYBER, x25519]</span> </p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): [AEGIS-256, XChaCha20Poly1305-IETF]</span> </p>
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: [DILITHIUM, ED25519, SPHINCS+, FALCON]</span> </p>
<p> 󰌇 <span style="margin-left:10px;">KEY EXCHANGE: [KYBER, x25519]</span></p>
<p> 󱌒 <span style="margin-left:10px;">ENCRYPTION (AEAD): [AEGIS-256, XChaCha20Poly1305-IETF]</span></p>
<p> 󱕴 <span style="margin-left:10px;">SIGNATURE: [DILITHIUM, ED25519, SPHINCS+, FALCON]</span></p>
<p> 󱕴 <span style="margin-left:10px;">HASH: [SHAKE256, BLAKE3]</span></p>
<hr />
<h1 align="center">F.A.Q</h1>
Expand All @@ -67,12 +69,12 @@ <h4>Is the UW's DIS and the WWW's DNS the same?</h4>
<h4>Perspective &amp; Rational</h4>
<p>Re-imagining the Web from the ground up may seem like a radical proposition, but it is entirely logical, rational, within our ability, &amp; necessary. At its core, the Web is a collection of software solutions. Therefore, creating a system that can replace yet go beyond the Web doesn’t require reinventing the physical infrastructure; it simply demands innovative software designed to leverage current innovations while addressing the limitations of the old.</p>
<p>If we critically evaluate the challenges facing the current Web, from inefficiencies &amp; vulnerabilities to its inability to fully embrace emerging technologies, it becomes self-evident that incremental updates aren't going to address fundamental design flaws. A foundational overhaul is not only viable but also more efficient and cost-effective. By building on 30 years of lessons, we can envision something that goes beyond what we call a Web, which integrates cutting-edge technologies and anticipates future advancements. This isn’t just an opportunity; it’s an imperative to build the future.</p>
<h4>SUMMARY</h4>
<h4>CODE REPO SUMMARY</h4>
<ul>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/viat.js">VIAT</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/server">NETWORK PROTOCOL UDSP MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/server">SERVER MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/udsp/client">CLIENT MODULE</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/viat.js">VIAT WALLETS</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/viat">VIAT CODE FOLDER</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/serverApp">EXAMPLE APP</a></li>
<li><a href="https://github.com/universalweb/Network/tree/master/examples/certificates.js">DEMO CERTS</a></li>
Expand All @@ -98,11 +100,13 @@ <h4>BROAD CODE OBJECTIVES</h4>
<li>Multi-Device Support</li>
<li>UW BROWSER</li>
<li>VIAT - NATIVE CRYPTOCURRENCY</li>
<li>VIAT GUI WALLET</li>
<li>VIAT MINING GUI</li>
<li>DECENTRALIZED GOVERNANCE</li>
</ul>
<hr />
<h4 align="center">Want to contribute? Then join the Imperium today!</h4>
<p align="center">To help write content, make art, write code, share it, and or star this repo! All are welcome to the Nexus.</p>
<p align="center">To help write content, make art, write code, share it, and or star our repo! All are welcome to the Nexus.</p>
<hr />
<small>COPYRIGHT © 2025 VIAT, <a href="https://universalweb.io">UNIVERSAL WEB</a>, THE NEXUS</small>
<br />
Expand Down
4 changes: 4 additions & 0 deletions examples/viat.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// Generate two wallets in the Viat network.
// Two wallets interact and send each other some amount of VIAT.
import { Wallet, wallet } from '#viat/index';
import { encode } from '#utilities/serialize';
import { toSmallestUnit } from '#viat/math/coin';
const amy = await wallet();
const mitzi = await wallet();
Expand All @@ -16,3 +17,6 @@ const manaAmount = 10000n;
const txBlock = await amy.createTransaction(sendAmount, mitziAddress, manaAmount);
console.log('TX BLOCK', txBlock.block);
console.log('RECEIPT BLOCK', txBlock.receipt.block);
const txBlockSize = (await encode(txBlock.block)).length;
const receiptBlockSize = (await encode(txBlock.receipt.block)).length;
console.log(txBlockSize + receiptBlockSize, 'bytes');
Loading
Loading