The Good Tech Companies - Nuklai Testnet Live: Dive Into HyperVMs, Build on a Scalable Blockchain, and Get Rewarded
Episode Date: June 22, 2024This story was originally published on HackerNoon at: https://hackernoon.com/nuklai-testnet-live-dive-into-hypervms-build-on-a-scalable-blockchain-and-get-rewarded. Aval...anche is an open-source platform for building decentralized applications in one interoperable, decentralized, and highly scalable ecosystem. Check more stories related to web3 at: https://hackernoon.com/c/web3. You can also check exclusive content about #blockchain, #helixvm, #nuklai, #ai, #ai-blockchain, #hypervm, #hypersdk-framework, #good-company, and more. This story was written by: @nuklai. Learn more about this writer by checking @nuklai's about page, and for more stories, please visit hackernoon.com. Avalanche is an open-source platform for building decentralized applications in one interoperable, decentralized, and highly scalable ecosystem. Powered by a uniquely powerful consensus mechanism, Avalanche is the first ecosystem designed to accommodate the scale of global finance, with near-instant transaction finality. The Avalanche consensus mechanism is ridiculously fast, with less than 2 seconds of finality, meaning your transaction is processed and verified almost instantly.
Transcript
Discussion (0)
This audio is presented by Hacker Noon, where anyone can learn anything about any technology.
Nuclei Testnet Live. Dive into Hyper-VMs, build on a scalable blockchain, and get rewarded
by Knuckle. I, I remember the day one of my good friends reached out and asked if I had
heard about Nuclei. I simply told him, not really, that sounds like a topic I would study in my
science class. Fast forward 6 months,
and here I am, building a layer 1 blockchain network for Nuclei. Who would have thought,
it is amazing where life takes you in a matter of months. I will get to the core of this blog about my journey into the world of HyperVMs, but before that, it is essential to know how I even
got to this point. The challenge of high throughput soon after I heard about Nuclei,
I started to research the project to see what all the hype was about. even got to this point. The challenge of high throughput soon after I heard about Nuclei,
I started to research the project to see what all the hype was about. I was really blown away by Nuclei's vision to empower every user by allowing them to sell their data to other entities,
shifting the power from big businesses to the users themselves. It is a simple yet profound
vision because, to achieve it, much had to be done not just at the application level but also
at the infrastructure and blockchain protocol levels. When dealing with massive
amounts of data daily, the blockchain must handle an immense load that no current platform has
achieved yet. People talk about transactions per second, TPS, but few know what it truly
takes to achieve such high TPS at the blockchain level. Yes, there are blockchains out there with high throughput,
but often, they are very hacky and not true layer ones. Usually, the approach is to scale
horizontally by creating layer 2s, layer 3s, sidechains, and whatnot. These solutions feel
like patchwork to me because if you introduce an additional layer to your blockchain,
increasing the TPS seems more like an afterthought than something built from the ground up. This is where HyperVMs come into play. HyperVMs, unlocking high-performance
blockchains but, what is a HyperVM? It's essentially a virtual machine, VM, built using the HyperSDK
framework. To understand HyperSDK, we first need to understand Avalanche. According to their documentation, Avalanche is an
open-source platform for building decentralized applications in one interoperable, decentralized,
and highly scalable ecosystem. Powered by a uniquely powerful consensus mechanism,
Avalanche is the first ecosystem designed to accommodate the scale of global finance
with near-instant transaction finality. The Avalanche consensus
mechanism is ridiculously fast, with less than 2 seconds of finality, meaning your transaction is
processed and verified almost instantly. Avalanche also allows you to create your own Layer 1
blockchain, or subnet, and the best part is you are not confined to an Ethereum virtual machine,
EVM, powered subnet. Despite its large
developer community, the EVM is not lightweight and comes with a lot of baggage. On Avalanche,
you can also launch your own subnet by developing your own VM in any language as long as it conforms
to Avalanche's proto-interfaces. This is where Hyper SDK comes into play. Theoretically,
you could build your own VM in any language you want,
as Avalanche provides that freedom. However, it is also true that it is rather difficult and
time-intensive to do from scratch. Even if you use subnet EVM to get started, it is complex to
keep it up to date as the core code changes frequently. You need to keep up with maintaining
it, which can become resource-intensive. Hyper SDK addresses this issue by making it faster, safer, and easier to launch your own
optimized blockchain on an avalanche subnet. It hides much of the complexity, allowing you to
focus on making your project unique rather than worrying about transaction serialization
efficiency or increasing transaction throughput. With HyperSDK, you can build your own blockchain
runtime with 501,000 lines of code and still process thousands of transactions per second
without needing a large team of engineers. HELIXVM, the 100,000 TXS powerhouse. At Nuclei,
we built our own blockchain runtime, called HelixVM, using the HyperSDK framework with around 200 lines of code
in under a week. We added exciting features such as natively issuing tokens, bridging tokens from
one subnet to another using Avalanche Warp Messaging, AWM, and developing a staking engine
that lets validators register for staking and users delegate their NITOKENS to a validator
of their choice to start claiming rewards.
With some more additions and custom touches, we added everything with around 500 more lines of
code in a couple of months. The journey to get here was extraordinary but equally rewarding.
The best part about building our runtime using Hyper SDK is that we benefit from the optimizations
that come to the Hyper SDK framework, worked on by some of the best engineers from Ava Labs and THE wider open-source HyperSDK community. For example, with the
development of HyperSDK Verix, which recently produced exceptional results with HyperVMs
processing over 5 billion transactions at 100,000 transactions per second, once our Helix VM
supports Verix, it will also process 100,000 transactions per second.
This is the true hidden power of using HyperSDK to build your own blockchain runtime. Achieving
this level of optimization without having to do it ourselves makes it a no-brainer for any team
to build their own runtime as well. At Nuclei, we want to build a platform that lets users and
businesses monetize their data as easily as building a website, and Hyper SDK is the ultimate base layer to achieve that without worrying about how the
consensus engine works. We want to build a unique platform that suits our needs,
and Hyper SDK makes it possible with just a few hundred lines of code.
Build the future of smart data with NUKLAITE SaintNet recently, we released our Nuclei TestNet.
It only took a few months to get here,
and we have many exciting features planned for our Helix VM before the mainnet release,
coinciding with HyperStiK's own roadmap of being production-ready.
If you want to get started with our testnet, check out the Nuclei wallet repository,
clone it locally, run it, and start interacting with the testnet.
You can request test NIE tokens,
create your own tokens, transfer native NIE and other user-created tokens, explore a basic version
of the blockchain explorer, and even post something to Nuclei feed, a simple social media platform.
Additionally, the wallet lets you change the Nuclei RPC URL, allowing you to connect to your
own Nuclei subnet running locally on your machine.
You can watch the demo and get started today. If you prefer running your own Nuclei subnet
locally instead of interacting with the official testnet, you can follow the directions outlined
in our documentation. This allows you to do more, such as registering validator notice for staking,
delegating to validators, claiming staking rewards, and more.
Welcome to the future where you can move a mountain with your fingers.
Thank you for listening to this Hackernoon story, read by Artificial Intelligence.
Visit hackernoon.com to read, write, learn and publish.