Skip to content

Releases: tronprotocol/tronweb

v5.0.0

20 Dec 07:14
b1c2e92
Compare
Choose a tag to compare
  • Add tronWeb.utils.transaction lib to serialize and deserialize transaction
  • Add tronWeb.utils.transaction.txJsonToPb function to convert transaction json to protobuf
  • Add tronWeb.utils.transaction.txPbToTxID function to get txID from transaction protobuf
  • Support new transaction builder createAccount

v4.4.0

29 Sep 01:52
2f4b001
Compare
Choose a tag to compare
  • Support createRandom and fromMnemonic function
  • Add tronWeb.utils.message lib, which includes hashMessage, signMessage and verifyMessage
  • Add signMessageV2 and verifyMessageV2 in tronWeb.trx lib which can support plain text signature and verification
  • Add size filter for event watch

v4.3.0

10 Aug 08:44
2d3b0d1
Compare
Choose a tag to compare
  • Support _signTypedData and verifyTypedData

v4.2.0

16 May 11:24
15543c6
Compare
Choose a tag to compare
  • Add the name key when the call() and send() methods has only one return value
  • Optimize the TriggerConstantContract() method
  • Update axios to version 0.26.1
  • Update karma to version 6.3.17
  • Update puppeteer to version 13.5.1

v4.1.0

12 Jan 07:18
5fe79d5
Compare
Choose a tag to compare
  • add encodeParamsV2ByABI and decodeParamsV2ByABI functions in tronWeb.utils.abi lib
  • support abi v2 for triggerSmartContract, createSmartContract, call and send method
  • update validator to version 13.7.0
  • update axios to version 0.24.0
  • update discord group link

v4.0.1

15 Nov 04:08
11d508a
Compare
Choose a tag to compare
  • set _isConstant as true for call method
  • ignore max feeLimit check
  • change git repository url

v4.0.0

10 Aug 05:45
247a1ea
Compare
Choose a tag to compare
  • support broadcastHex method
  • ignore fullnode version check when calling createToken method
  • update dependencies version
  • add strict mode for pkToAddress method
  • note that bignumber.js is updated to v9.0.1, which is a breaking change. If you get a result after triggerConstantContract or call method, do not use tronWeb.BigNumber(result) which will get null. You can use tronWeb.toBigNumber(result) or tronWeb.BigNumber(result._hex)

v3.2.7

23 Jun 03:22
93de124
Compare
Choose a tag to compare
  • Add options rawParameter that format of the parameters method and args when creating or triggering a contract
  • Update elliptic to the latest version 6.5.4
  • Update validator to the latest version 13.6.0

v3.2.6

01 Mar 11:39
5fa94d0
Compare
Choose a tag to compare
  • Add setHeader function

v3.2.5

20 Feb 14:35
46a6d28
Compare
Choose a tag to compare
  • Set feeLimit max value as 5000 TRX