3.0.0
- bump tronweb from 4.0.1 to 4.3.0
- Add support for Solidity compiler 0.8.7 and 0.8.11
- Add
tronWrap.send
function to test environment for supporting tronbox/tre docker image. - Add
tre_setAccountBalance
RPC method. The method can set the given account's balance to the specified SUN value. - Add
tre_setAccountCode
RPC method. The method can set the given account's code to the specified value. - Add
tre_setAccountStorageAt
RPC method. The method can set the given account's storage slot to the specified data. - Add
tre_blockTime
RPC method. The method can set the blockTime in seconds for automatic mining. A blockTime of 0 enables "instamine mode", where new executable transactions will be mined instantly. - Add
tre_mine
RPC method. The method can mine exactlyblocks
number of blocks. - Add
tre_unlockedAccounts
RPC method. The method can set up any arbitrary account to impersonate during development.
tre_setAccountBalance
:
const address = "TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL";
const balance = "0x3e8";
const result = await tronWrap.send("tre_setAccountBalance", [address, balance]);
console.log(result);
tre_setAccountCode
:
const address = "TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL";
const data = "0xbaddad42";
const result = await tronWrap.send("tre_setAccountCode", [address, data]);
console.log(result);
tre_setAccountStorageAt
:
const address = "TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL";
const slot = "0x0000000000000000000000000000000000000000000000000000000000000005";
const data = "0xbaddad42";
const result = await tronWrap.send("tre_setAccountStorageAt", [address, slot, data]);
console.log(result);
tre_blockTime
:
const result = await tronWrap.send("tre_blockTime", [3]);
console.log(result);
tre_mine
:
const result = await tronWrap.send("tre_mine", [{ blocks: 5}]);
console.log(result);
tre_unlockedAccounts
:
const result = await tronWrap.send("tre_unlockedAccounts", [["TNPeeaaFB7K9cmo4uQpcU32zGK8G1NYqeL"]]);
console.log(result);
2.7.25
- bump tronweb from 4.0.0 to 4.0.1
2.7.24
- Add support for Solidity compiler 0.5.18, 0.6.13, 0.7.7 and 0.8.6
2.7.23
- Add support for Solidity compiler 0.8.0
2.7.22
- Add support for Solidity compiler 0.7.6
2.7.21
- Add support for Solidity compiler 0.7.0
2.7.20
- Merge Dependabot pull requests
2.7.19
- Add support for Solidity compiler 0.5.16, 0.5.17, 0.6.2, 0.6.8 and 0.6.12
2.7.18
- Add support for Solidity compiler 0.6.0
- bump solc-js from 0.5.9 to 0.8.0
2.7.17
- Add support for Solidity compiler 0.5.15 and add signature for tronbox
2.7.14
- Add support for Solidity compiler 0.5.12 and 0.5.13 and 0.5.14
2.7.11
- Add support for Solidity compiler 0.5.10
2.7.10
- Fix for no module '.' found issue
2.7.8
- Update to Tronweb 2.1.0, which allows to deploy contract requiring arrays of addresses
2.7.7
- Fix Babel bug involving generators
2.7.5
- More refactoring
- Show alert if compilers cannot be downloaded
2.7.4
- Partial refactoring
- Add support for Solidity compiler 0.5.9
2.5.2
- Fix bug in compiler wrapper calls
2.5.0
- Add support for JavaTron 3.6 and Solidity compiler for
^0.5.4
- Fix vulnerability with (unused)
web3
anddiff
packages
2.3.16
- Updates TronWeb to version 2.3.2
2.3.16
- Updates TronWeb to version 2.3.2
2.3.15
- Updates TronWeb to latest version which fixes issues with watch
2.3.1
- Adds temporary logo.
- Fix contract name during deployment
2.3.0
- When a smart contract deploy fails, the error shows the url to get info about the failed transaction.
2.2.3
- Resolve appended process after migrating.
- Add better error messaging.
- Fix issue with invalid origin_energy_limit.
2.2.2
- Add parameter configuration by smart contract.
2.2.1
- Add compatibility with JavaTron 3.2.
For more historic data, check the original repo at https://github.com/tronprotocol/tron-box