github tronprotocol/tronweb v6.2.2

latest release: v5.3.5
27 days ago

New Features

  • Added getCreate2Address

    • Added support for utils.address.getCreate2Address utility method.

    • Enables deterministic contract address computation using CREATE2.

    • Useful for advanced contract deployment workflows and meta-deployment scenarios.

Improvements

  • Improvement in decodeParams

    • Replaced {} with Object.create(null) in decodeParams.

    • Prevents prototype pollution.

  • Robust argument encoding in encodeArgs

    • Prevents valid falsy values from being incorrectly ignored.

    • Improves reliability of contract parameter encoding.

  • Strict contract type validation in contractJsonToProtobuf

    • Now throws an explicit error when encountering unsupported contract.type.

    • Prevents silent failures during contract conversion.

    • Improves developer debugging experience.

Don't miss a new tronweb release

NewReleases is sending notifications on new releases.