NEW
Golem Network Unveils golem-js 3.0 with Major Enhancements - Blockchain.News

Golem Network Unveils golem-js 3.0 with Major Enhancements

Lawrence Jengar Jul 02, 2024 14:25

Golem Network announces golem-js 3.0, featuring modular design, new models, and budget estimation. The update aims to improve developer experience and ecosystem decentralization.

Golem Network Unveils golem-js 3.0 with Major Enhancements

Golem Network has officially released golem-js 3.0, the latest stable version of its core JavaScript SDK component. This update introduces significant enhancements, new features, and crucial improvements to the platform, according to Golem Network.

Driven by Experience

The development of golem-js 3.0 was driven by extensive validation of the 2.x design. The Golem Factory team built various mini-applications and proofs of concept, assisted community developers, and analyzed projects from the DegenHack hackathon to gather feedback that informed the new release.

Key Features Delivered

Golem-js 3.0 introduces several noteworthy features:

  1. Introduction of the GolemNetwork root module
  2. Modular design exposing core modules to developers
  3. New ResourceRental and ExeUnit models replacing the previous TaskExecutor and WorkContext
  4. Budget estimation and burn-rate pricing model
  5. VPN support for communication between workloads on rented computation resources
  6. Passive market scan functionality for market research
  7. Capability to consume allocations created outside of the Requestor scripts
  8. Improved decentralization through direct GVMI upload from Requestor to Provider, bypassing the Golem Registry
  9. Enhanced developer experience with a new Events API and RxJS Observables

Fixes and Improvements

The release also addresses several issues present in version 2.x:

  1. Fixed the issue with no new offers for long-running operations by refreshing the Demand for resources every 30 minutes
  2. golem-js is now ESM compatible
  3. getHealthyProvidersWhiteList now obtains the whitelist from the Golem Reputation System
  4. Significantly improved SDK shutdown performance

Migration and Support

With the release of version 3.0, version 2.0 is no longer maintained. Users are encouraged to migrate using the provided upgrading instructions. The TaskExecutor component has been moved to a standalone library, @golem-sdk/task-executor, which is compatible with golem-js 2.x.

Golem Network also offers support through its official Discord channels, where developers can seek assistance with the migration process.

The golem-js 3.0 release is a foundational update that aims to make the SDK more adaptable for new fields and use cases, with more features expected to be added in future updates.

Image source: Shutterstock