github hiero-ledger/hiero-sdk-js v2.68.0

latest releases: v2.84.0-beta.1, v2.83.0, v2.83.0-beta.3...
10 months ago

What's Changed

This release refines EVM-compatible address handling and introduces a clear migration path to the new SDK package. Developers targeting Hedera's EVM integration should take note of the new method for address translation and the associated deprecations.

Enhancements

  • <EntityId>.toEvmAddress():
    Now available for AccountId, ContractId, ContractDelegateId, TopicId, TokenId, and FileId. This provides a standardized way to obtain EVM-compatible 20-byte addresses from Hedera entity IDs.
  • <EntityId>.fromEvmAddress(shard, realm, evmAddress):
    Shard and realm are no longer encoded into the EVM address. They must be passed explicitly when constructing an EntityId from an EVM address.

Documentation

  • Migration guide to @hiero/sdk v3:
    Includes comprehensive documentation, automated scripts for Unix and Windows, supported file types, and a template for migration-related issues.

Deprecations

  • fromSolidityAddress() has been replaced with fromEvmAddress().
  • toSolidityAddress() has been replaced with toEvmAddress().
  • EthereumFlow has been deprecated. With the introduction of jumbo transactions, it is now more cost-effective and efficient to use EthereumTransaction.

Full Changelog: v2.67.0...v2.68.0

Don't miss a new hiero-sdk-js release

NewReleases is sending notifications on new releases.