3

KOINOS Testnet v2 is Now LIVE: A Modular and Fee-less Blockchain

 2 years ago
source link: https://hackernoon.com/koinos-testnet-v2-is-now-live-a-modular-and-fee-less-blockchain
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

KOINOS Testnet v2 is Now LIVE: A Modular and Fee-less Blockchain

Koinos v2 is the world’s first truly general purpose blockchain, a whole new way of building blockchains that is inherently fee-less and infinitely upgradeable. The KBF is the core technology that will serve as the foundation for an entire ecosystem of fees-free, upgradeable public, private, and hybrid blockchains. The new version of Koinos is now live on testnet. It has high performance WASM smart contracts and a contract development toolkit so developers can finally create and upload smart contracts on Koinos.

Listen to this story

Speed:
Read by:
voice-avatar
Andrew Levine

CEO of Koinos Group, creators of the Koinos blockchain

Koinos v2 is a massive leap from v1 which was intended primarily to test the Koinos Blockchain Framework. As the world’s first truly general purpose blockchain, the Koinos Blockchain Framework (KBF) is a whole new way of building blockchains that is inherently fee-less and infinitely upgradeable.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

The fundamentally novel approach to blockchain architecture, built on the world’s first microservice architecture (the ultimate modularity), made extensive testing necessary.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

See Koinos GitHub

0 reactions
heart.png
light.png
money.png
thumbs-down.png

The KBF is the core technology that will serve as the foundation for an entire ecosystem of fee-less and infinitely upgradeable public, private, and hybrid blockchains. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Thanks to its modular upgradeability, any blockchain built on the KBF will be able to improve itself at a far more rapid rate than any other blockchain out there, allowing them to iterate to greatness!

0 reactions
heart.png
light.png
money.png
thumbs-down.png

To prove this out we made v1 of the testnet a Bitcoin clone with the goal of iteratively improving that simple design toward something on par with Ethereum exclusively through in-band upgrades (no hard forks). Of course, from there the objective would be to iterate even further to something that is beyond anything else out there. This process would allow us to test the framework at the exact same time we were developing the more complex features needed for Koinos mainnet. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Koinos Smart Contracts!

Koinos v2 is already well beyond Ethereum in many ways. It has high performance WASM smart contracts (a planned feature of Ethereum 2.0) and a contract development toolkit so developers can finally create and upload smart contracts on Koinos using the very same CLI Wallet they would use to send and receive test tokens. To reflect the more general utility of this tool, its name has been changed to simply, the “CLI.”

0 reactions
heart.png
light.png
money.png
thumbs-down.png

A lot of work has been done to make this the most advanced CLI out there, but the most significant upgrade is this new ability to interact with smart contracts directly through the CLI using commands.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

This means that developers and users won’t need to download and learn to use, a different application just to use Koinos smart contracts as they do on most other blockchains, making smart contracts more accessible than ever. The CLI can now even be used by blockchain developers (like Koinos Group) to upgrade the blockchain itself!

0 reactions
heart.png
light.png
money.png
thumbs-down.png

But, what developers have been patiently waiting for is the ability to build free-to-use dApps on Koinos which is why we’re excited to announce that v2 now has mana!

0 reactions
heart.png
light.png
money.png
thumbs-down.png

The mana system smart contract is the core technology that allows Koinos to have free accounts, free transfers, and free smart contracts! We’re also insanely excited to announce the release of the mana whitepaper! Alongside modular upgradeability, we think mana is one of the most innovative developments in the blockchain space since Vitalik Buterin invented the concept of “gas” for Ethereum.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Gas was his fee-based solution to the blockchain spam, the so-called “halting problem.” Like gas, mana is a solution to the halting problem and blockchain spam, but unlike gas, mana is a totally fee-less solution to that problem. While gas proved that it was possible to deliver a decentralized world computer, mana will prove that it’s possible to deliver a decentralized world computer with no fees, and no barrier to entry, finally delivering a blockchain capable of delivering the user experience that mainstream users have come to expect from their applications. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

But mana is not just an alternative to fee-based blockchain designs, it is a superior solution to blockchain resource management. Mana allows for more efficient use of network resources, provides more dynamic and scalable pricing through opportunity costs, all while providing a user experience that is more than tolerable, it is engaging and fun like a game

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Finally, by removing friction from Koinos, mana allows for frictionless markets for digital assets with unmatched efficiency. More efficient markets mean lower prices to consumers, allowing Koinos to deliver even more value to its users.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Fizzy VM

The mana system works by interpreting every liquid KOIN token as containing “mana” that is consumed down based on how much resources a smart contract consumes. The way Koinos measures this consumption is by counting the instructions that are being run in the VM. Originally Koinos leveraged EOS-VM which claimed to support VM instruction counting, but did not.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

While we were able to add support quickly to EOS-VM, we always strive to ensure that Koinos components are as generalized as possible, require as little upkeep as possible, and are not dependent on a single entity for maintenance. That’s why we made the decision to switch to a new VM developed by one of the most experienced blockchain VM development teams in the world: Fizzy

0 reactions
heart.png
light.png
money.png
thumbs-down.png

VM Manager

Not only did we make the switch to Fizzy, a state-of-the-art VM that has native instruction counting and is faster than EOS-VM, we also developed a “VM Manager, which abstracts the VM implementation so that Koinos can rapidly shift to new and better VMs when they come to market. That means Koinos is no longer tied to a specific VM (including Fizzy) giving it yet another degree of flexibility. The VM is one of the biggest performance bottlenecks for any blockchain, so this additional flexibility could provide massive performance benefits in the future. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Protocol Buffers

We learned a lot from testnet v1, including mistakes we made, like the decision to build our own serialization solution (Koinos Types) and how we designed the p2p microservice. Unfortunately, these mistakes required going back to the drawing board which meant doing a lot of work just to get back to where we started, but that work is already paying massive dividends. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Koinos Types worked but it was rigid, labor intensive, and didn’t give us any “free” language support which would make it harder for us to achieve our objective of Universal Language Support which we believe is critical for delivering the most developer-friendly blockchain in the world. For those reasons and more listed below, we made the hard decision to rip out Koinos Types and replace it with Protobuf.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Within a Koinos node messages are constantly being sent both between microservices and between the blockchain and the VM. Serialization is the process of standardizing those messages so that developers can work in their preferred programming languages.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

But how you serialize this information can have a profound impact on both the performance of the node, as we learned more recently, the upgradeability of the Koinos protocol.

Google’s Protocol Buffers (or “Protobuf”) was always a potential serialization solution that we were evaluating because of its high performance, efficiency, and fantastic language support.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Developed by Google and quickly becoming an industry standard, Protobuf will continue to improve and acquire additional language support for the foreseeable future.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

But Protobuf already gives us incredible language support for free, supporting generated code in Java, Python, Objective-C, C++, Dart, Go, Ruby, and C#, with more languages to come. There are also third-party implementations available for Erlang, Haskell, JavaScript, Perl, PHP, R, Rust, Scala, and even Swift!

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Thanks to Protobuf, Koinos already supports developing Koinos microservices in: C++, Embedded C++, Golang, JavaScript, and Python.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

EmbeddedProto

One of the reasons we did not originally use Protobuf was because its large library size would cause smart contracts to be large which would negatively impact network performance.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

In a perfect demonstration of why it’s always best to integrate widely adopted and independently maintained software, during the very same time we were developing Koinos a new library was released called “EmbeddedProto” that solved this problem and turned Protobuf into the ideal solution. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

EmbeddedProto is a C++ Protobuf generator designed to generate types for use in embedded systems where minimizing size is critical. EmbeddedProto generates types quite similar to Koinos Types in size by ignoring all the Protobuf features that aren’t needed within smart contracts.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Using this library gives us the best of both worlds allowing Koinos to benefit from Protobuf in its microservices and client libraries, where size isn’t an issue, while not having to pay the cost of Protobuf in smart contracts. So not only did we get to have our cake and eat it too, but that cake was delicious! 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Now that this work is done, we are able to iterate much faster and will be able to deliver client library and smart contract support in multiple languages a lot faster than before.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Koinos p2p

One of the valuable insights we gained from v1 was that the performance of the p2p microservice did not meet our standards for performance. The p2p is effectively the “plumbing” of the network and can seriously bottleneck performance, so after conducting an in depth retrospective to understand what went wrong in our process that led to this result, we decided we had to go back to the drawing board and totally rebuild the p2p microservice from scratch.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

The new p2p is now much smaller, much easier to add features to, and more feature-rich with checkpointing and sophisticated error handling that will increase the stability of the network. Most importantly the new p2p is already faster than the old. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

As you can see, Koinos has evolved so much since v1. V1 allowed us to test the Koinos Blockchain Framework and validate whether it really could serve as a new foundation for a truly decentralized and highly accessible future filled with rapidly evolving and frictionless blockchains. We now know that it can. 

0 reactions
heart.png
light.png
money.png
thumbs-down.png

V2 of the testnet is the next stage in the evolution of Koinos. With its new p2p, Protobufs, Fizzy, the contract development toolkit, and advanced CLI now in place, Koinos is ready to evolve into its ultimate form: the Koinos mainnet.

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Let the evolution begin! Help Koinos evolve by running the testnet (it’s CRAZY easy!)

If you'd like to run fee-less smart contracts on Koinos, go here to learn how to acquire the necessary tKOIN

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Visit koinos.io to learn more about Koinos

0 reactions
heart.png
light.png
money.png
thumbs-down.png

Visit koinos.group if you're interested in exploring blockchain integration

0 reactions
heart.png
light.png
money.png
thumbs-down.png

(Disclaimer: The author is the CEO at Koinos)

0 reactions
heart.png
light.png
money.png
thumbs-down.png
7
heart.pngheart.pngheart.pngheart.png
light.pnglight.pnglight.pnglight.png
boat.pngboat.pngboat.pngboat.png
money.pngmoney.pngmoney.pngmoney.png
by Andrew Levine @andrarchy. CEO of Koinos Group, creators of the Koinos blockchainOwn your digital self
Join Hacker Noon

Create your free account to unlock your custom reading experience.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK