Skip to content

Releases: ton-blockchain/ton4j

0.4.6

14 Jun 18:44

Choose a tag to compare

  • fix comment field handling in some wallets
  • fix mnemonic validation

0.4.5

12 Jun 13:05

Choose a tag to compare

  • fix deserialization of MsgAddressInt
    Full Changelog: 0.4.3...0.4.5

0.4.3

31 May 11:12
7a1c680

Choose a tag to compare

Tweetnacl included as a module and thus embded into artifacts properly now.

0.4.2

31 May 09:06
b1ac7b8

Choose a tag to compare

What's Changed

New Contributors

Full Changelog:

  • fix missing workchain in method getAddressIntStd()
  • minor internal refactoring

0.4.1

30 May 19:39
39fb8f5

Choose a tag to compare

  • support java 8 (recompile tweetnacl with java 8 and store locally, rework crc32c for java 8)
  • various tests' and code improvements
  • updated logback version

0.4.0

25 May 14:01

Choose a tag to compare

This is another major ton4j upgrade that breaks compatibility with previous ton4j versions. Hopefully this is the last time.

  • fixed bug in hashmaps' hash calculation;
  • improved tlb message java structure and readability;
  • added OutAction, OutList, ActionSendMsg tlb support;
  • reworked smartcontract user experience;
  • optimize memory usage (int replace with byte);
  • reworked find cell's depth - was slow;
  • remove redundant conversions byte-int-byte;
  • use CellBuilder.beginCell().fromBoc instead of Cell.fromBoc;
  • always use .endCell() when Use CellBuilder.beginCell();
  • reworked cell serialization - added index support in cell;
  • fix tonlib getconfig/all;
  • provided examples on how to send toncoins or jettons to up to 1000 recipients using Highload Wallet V3;
    If you migrate from previous ton4j version, see the major changes below:

was:

        Options options = Options.builder()
                .publicKey(keyPair.getPublicKey())
                .secretKey(keyPair.getSecretKey())
                .walletId(42L)
                .wc(0L)
                .build();
        WalletV3ContractR1 contract = new Wallet(WalletVersion.V3R1, options).create();

now:

        WalletV3R1 contract = WalletV3R1.builder()
                .keyPair(keyPair)
                .walletId(42)
                .build();
        contract.deploy();

was:
contract.sendTonCoins(tonlib, options);
now:
contract.send(config);

0.3.2

28 Apr 21:24

Choose a tag to compare

New release to include Java 11 support

0.3.1

26 Apr 22:50

Choose a tag to compare

Support java 11

0.3.0

26 Apr 22:12

Choose a tag to compare

Major update, where:

  • reworked cell serialization/deserialization;
  • improved performance;
  • Reworked CellBuilder, now endCell() calculates hashes;
  • provided examples for high-load wallet v3 (messy code, but works. Planned to be structured soon);

0.2.4

15 Apr 09:43

Choose a tag to compare

  • added HighloadWallet V3 - thanks @krigga for his contribuation.