Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»ETHEREUM NEWS»EthereumJS VM v5 release | Ethereum Foundation Blog
ETHEREUM NEWS

EthereumJS VM v5 release | Ethereum Foundation Blog

By Crypto FlexsJanuary 24, 20247 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
EthereumJS VM v5 release |  Ethereum Foundation Blog
Share
Facebook Twitter LinkedIn Pinterest Email

December 1, 12:00 PM (UTC) While everyone was staring in amazement in anticipation of the Eth 2.0 Beaconchain genesis, within the JavaScript team we were quietly preparing a small genesis release in the shadows. Although there is a lot of interest in the good Eth 1.0 chain, we are also very excited about this. ๐Ÿ˜€

Some background: Ethereum JS surrounding ecosystem VM It consists of a set of highly modular libraries (vm, blockchain, merkle-patricia-tree, tx, etc.), each encapsulating its own dedicated set of functionality. This is good for users, but it turns out not so good for development, as you often have to change multiple libraries at the same time. This makes it difficult and time-consuming to take action in a way that maintains consistency using libraries. It’s in another repository. So earlier this year we decided to update our setup and combine VM-related libraries within a single. monorepo. This is a single repository that allows you to target changes from multiple libraries within a single pull request and run all different library test suites together to ensure consistency. At the same time, there are benefits to maintaining multiple individually released packages.

Since switching to a monorepo, our development activity has literally exploded. ๐Ÿ˜‹ We discovered a lot of things that we couldn’t stop doing because we wanted to make it better. Now, โ€œitโ€™s become so obvious that it has to be done,โ€ especially since one change often triggers another. ๐Ÿ˜œ

So we made progress. And it was developed. And it was developed. Basically all year round. That’s the main reason you’ve heard relatively little from us over the past few months. We’ve been so busy with all this.

At the end of the process we sometimes wondered if we’d ever get back together (see the extensive release notes to understand what I mean), but today we’re really proud to finally be able to announce: did it. ๐Ÿ˜‹ Thank you to our amazing team for all this wonderful and dedicated work. ๐ŸŽ‰

This is not one, but six major releases of native libraries that put virtual machines first.


This post will give you a high-level overview without going into too much technical detail. Please see the release notes linked above for a more complete picture. We’ve taken real care to organize these release notes, make them readable, and provide a good overview of all the (important) changes involved.

There is perhaps one important note to make. new naming system If you get a new version with these releases, you’ll need to use a new name. former ethereumjs-vm For example, the package is now installed like this:

npm install @ethereumjs/vm

great. What’s actually in it? Let’s take a quick look.

All hard forks

EthereumJS VM v5 We now support all hard forks from scratch. This is a primer on JavaScript Ethereum history and we hope it opens up a variety of potentially interesting and new use cases. More details on this are provided below.

VMs on a specific HF can be started using:

import VM from '@ethereumjs/vm';
import Common from '@ethereumjs/common';

const common = new Common( chain: 'mainnet', hardfork: 'spuriousDragon' );
const vm = new VM( common );

EIP-centric VMs

Hard forks are great for tying together a set of agreed-upon changes, but hard fork-centric VMs have proven to be inflexible enough to enable forward-looking development, which may not be confirmed for quite some time as EIPs will create with new hard forks. (that much Berlin Hard forks seem to be the best example of this).

In the new VM release, the internal functional modularization layer has been reworked. This allows the EIP to now become the default citizen within the VM. A VM with a special EIP set can be instantiated as follows:

import Common from '@ethereumjs/common';
import VM from '@ethereumjs/vm';

const common = new Common( chain: 'mainnet', eips: (2537) );
const vm = new VM( common );

First of all, we support the following new EIPs: Berlin hard fork) to VM v5release:


TypeScript

In this EthereumJS release cycle, we can confidently say that we have fully introduced the library into the modern technology stack. One big part of this is that the new release is concluding a long period of planning and executing a TypeScript transition, with all major libraries and internal dependencies now written in TypeScript.

Highlights of what makes TypeScript so great and helps make the library more powerful and secure: TypeScript is a superset of JavaScript and allows developers to know the data type of each variable and each object used in their code. Is the variable called? address string or binary buffer object? In JavaScript you don’t get an explicit hint about this (which makes the developer’s risk of subsequent mistakes very high), but in TypeScript you certainly do.

Additionally, as a developer, you can now get following hints in the IDE across your entire code base, making working directly on the library or using it within a third-party project much more fun.

Your development environment with proper TypeScript typing is now blockchain The variable is @ethereumjs/blockchain An object, not just โ€œsomethingโ€ (Go and Rust developers take note ๐Ÿ˜…). This makes our own code much easier to read than your (TypeScript) code as it uses each new library version.

promise

If you’re not that interested in JavaScript, you can skip this section, but if you’re a JavaScript developer, you’ll breathe a sigh of relief at this news, so I’ll at least briefly touch on it.

Another transition has been completed: all library APIs now work with JavaScript Promises. So no more callbacks occur throughout the entire stack.

Library usage changes:

blockchain.getBlock(blockId, block => 
  console.log(block);
);

New API examples:

const block = await blockchain.getBlock(blockId);
console.log(block);

The small indentation in this first example may not seem significant at first glance. With multiple old style calls nested together, it gets deeper and deeper and at some point the code becomes unreadable. If you’re interested in what this looks like, search for “callback hell” on Google. ๐Ÿ™‚ Promises allow you to write much more readable code.

Library refactoring

It’s sometimes hard to imagine needing an engine replacement if your car is still running, but at some point you’re going to need an engine replacement if you want to drive safely for the next 10,000 miles. With refactoring of software, it’s often a bit similar. ๐Ÿ˜€ With this release series, we’ve reworked the fundamentals of some of our most core libraries and block itOur Texas And in part our blockchain The library has received a significant rewrite.

It is now much easier to use these libraries and should be well prepared to provide a solid and secure foundation upon which to build within the Ethereum JavaScript ecosystem over the next few years.

eyesight

We hope you like our new release. This post provides a quick overview of the most important changes, and the release notes linked at the beginning of this post go into much more detail. We are pleased to hear your opinion about us Dissension server or our new @EFJavaScript Twitter account.

This release provides a solid foundation for transitioning to a more forward-thinking development cycle, and we eagerly look forward to seeing it come to fruition. With VMs with all hard forks implemented, you can now consolidate them into improved VMs. EthereumJS Client project. We will not be joining this client on mainnet anytime soon. But regardless, we will be able to do our part to help improve the diversity of our customers. The new clients in the first phase will allow us to participate in the following development testnets: YOLO v2 (and follow) Actively help discover and prevent consensus bugs between clients. You will also be able to contribute more actively to future protocol studies and ultimately participate in the implementation of follow-up studies. You will hear more details about this once the first available version of the client is ready (fulsync targets: YOLO v2), I think it will be early next year.

For now, we hope everyone spends the end of the year meditatively with the exciting launch of Beacon Chain Co., Ltd.! ๐Ÿš€

EF JavaScript Team

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Khalsi sued for refusing prediction market payments after Iranian leader’s death

March 7, 2026

Bitcoin rose amid Iranian volatility as IBIT recorded one of the biggest inflow days of the quarter.

March 3, 2026

Ethereumโ€™s brutal price action contrasts with strong spot ETF demand. Will this spur a rebound?

February 27, 2026
Add A Comment

Comments are closed.

Recent Posts

Strengthening Digital Trust In The Crypto Era

March 9, 2026

BTC Markets aims to license RWA trading amid tokenization wave. BTC Markets aims to license RWA trading amid tokenization boom. BTC Markets is eyeing RWA trading licenses as tokenization surges. BTC Markets Seeks RWA Trading License Amid Tokenization Wave

March 9, 2026

SIGN surged more than 100% as Sign Global’s pivotal role in sovereign digital infrastructure was revealed.

March 9, 2026

Startup StarCloud Plans First Bitcoin Mining Satellite in Low Earth Orbit

March 8, 2026

Omnipair Loan Audit Summary – Ackee Blockchain

March 8, 2026

Bitcoin Price Rally Slows, Consolidation Signals Move to Next Stage

March 8, 2026

Why Crypto Projects Need Earned Media More Than Ads

March 8, 2026

1win Arranges Private Charter Flights For VIP Clients Leaving The UAE Amid Aviation Disruptions

March 8, 2026

KuCoin launches KCS PulseDrop to convert transactions and payments into rewards.

March 7, 2026

OmniPact Secures $50 Million To Advance Trust Infrastructure

March 7, 2026

Khalsi sued for refusing prediction market payments after Iranian leader’s death

March 7, 2026

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. Weโ€™re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Strengthening Digital Trust In The Crypto Era

March 9, 2026

BTC Markets aims to license RWA trading amid tokenization wave. BTC Markets aims to license RWA trading amid tokenization boom. BTC Markets is eyeing RWA trading licenses as tokenization surges. BTC Markets Seeks RWA Trading License Amid Tokenization Wave

March 9, 2026

SIGN surged more than 100% as Sign Global’s pivotal role in sovereign digital infrastructure was revealed.

March 9, 2026
Most Popular

Bitcoin (BTC) is faced with a waiting time for market reuse in a decrease in capital inflow.

February 20, 2025

From Skeptic to Supporter: Understanding the Potential of Cryptocurrencies

December 9, 2023

Monero fell 6% in 24 hours on OKX across 20 trading pairs.

December 31, 2023
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2026 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.