Skip to content

Releases: tronprotocol/tronweb

v6.0.0-beta.3

10 May 10:24
6557d51
Compare
Choose a tag to compare
  • Support recovering transaction signer address by trx.ecRecover.
  • Support both base58 format and hex format address field in keys of updateAccountPermissions params.
  • Support type for contract instance.

v6.0.0-beta.2

28 Mar 05:30
ac0deaa
Compare
Choose a tag to compare
  • Bump ethers from 6.8.0 to 6.11.1
  • Bump ethereum-cryptography from 2.1.2 to 2.1.3
  • Bump axios from 1.6.2 to 1.6.8

v5.3.2

22 Feb 12:44
3a81bf1
Compare
Choose a tag to compare
  • Add custom block header argument for building transactions locally in transactionBuilder lib
  • Support TIP586 by trx.getBandwidthPrices and trx.getEnergyPrices
  • Support recover transaction signer address by trx.ecRecover
  • Support multi-dimension address array such as address[][] for ABI params encoding in triggerSmartContract and createSmartContract #433
  • Fix error when triggerSmartContract with error address due to the undefined callback #429
  • Bump axios from 0.26.1 to 1.6.2 #445

v6.0.0-beta.1

24 Jan 07:42
ea4a502
Compare
Choose a tag to compare
  • Support TIP586 with trx.getBandwidthPrices and trx.getEnergyPrices.
  • Support custom block header info when creating transaction.

v6.0.0-beta.0

06 Dec 14:07
f1d180c
Compare
Choose a tag to compare
  • Add full type definition for Typescript.
  • Change Default exports to Named exports.
  • Change TronWeb.createRandom(options) to TronWeb.createRandom(password, path, wordlist).
  • Change TronWeb.fromMnemonic(mnemonic, path, wordlist) to TronWeb.fromMnemonic(mnemonic, path, password, wordlist).
  • All methods in Trx and TransactionBuilder perform an strict check for type and position of parameters.
  • All methods in TronWeb will throw an Error instance instead of a string. e.message should be used to access error information.
  • Update TronWeb#event API with new backend service(#422).
  • Remove Contract#watch() method.
  • Support multi-dimension address array parameters in TransactionBuilder#triggerSmartContract()(#433).

v5.3.1

29 Nov 06:03
cd30451
Compare
Choose a tag to compare
  • Fix getBlockRange() error for range of 1 (#398).
  • Add support for estimateenergy in TransactionBuilder#deployConstantContract() API.

v5.3.0

14 Jul 06:49
d2a300a
Compare
Choose a tag to compare
  • Replace elliptic with ethereum-cryptography/secp256k1
  • Bump ethers to ^6.6.0
  • Optimize argument validation for createToken, updateToken and applyForSR
  • callValue can be 0 when the contract constructor is payable
  • Support shouldPollResponse to customize poll times (#368)
  • Support TIP541 by transactionBuilder.cancelUnfreezeBalanceV2
  • Support TIP542 by adding a parameter in transactionBuilder.delegateResource
  • Support estimate the energy used in contract deployment by transactionBuilder.deployConstantContract

v5.1.1

10 Jul 03:40
Compare
Choose a tag to compare

v5.2.0

17 May 13:35
4b131bb
Compare
Choose a tag to compare
  • Support build transactions locally with protobuf
  • Support multi-sign for setAccountId, updateBrokerage, clearABI, updateAccountPermissions function in transactionBuilder lib

v5.1.0

31 Jan 11:20
8592538
Compare
Choose a tag to compare
  • Add freezeBalanceV2, unfreezeBalanceV2, delegateResource, undelegateResource and withdrawExpireUnfreeze function in transactiobBuiler lib to support stakeV2
  • Support tronWeb.transactionBuilder.estimateEnergy to estimate energy for triggersmartcontract transaction
  • Add getDelegatedResourceV2, getDelegatedResourceAccountIndexV2, getCanDelegatedMaxSize, getAvailableUnfreezeCount and getCanWithdrawUnfreezeAmount function to query account resource info