8000 GitHub - neodix42/ton4j: Java libraries for interacting with TON blockchain.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

neodix42/ton4j

Repository files navigation

Java SDK for The Open Network (TON)

License: GPL v3 Based on TON GitHub last commit

Java libraries and wrapper for interacting with TON blockchain.

ton4j requires minimum Java 11.

Maven Maven Central

<dependency>
    <groupId>io.github.neodix42</groupId>
    <artifactId>smartcontract</artifactId>
    <version>1.0.0</version>
</dependency>

Jitpack JitPack

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>io.github.neodix42</groupId>
    <artifactId>ton4j</artifactId>
    <version>1.0.0</version>
</dependency>

You can use each submodule individually. Click the module below to get more details.

  • Tonlib - use external Tonlib shared library to communicate with TON blockchain.
  • SmartContract - create and deploy custom and predefined smart-contracts.
  • Cell - create, read and manipulate Bag of Cells.
  • BitString - construct bit-strings.
  • Address - create and parse TON wallet addresses.
  • Mnemonic - helpful methods for generating deterministic keys for TON blockchain.
  • Emulator - wrapper for using with external precompiled emulator shared library.
  • Liteclient - wrapper for using with external precompiled lite-client binary.
  • Fift - wrapper for using external precompiled fift binary.
  • Func - wrapper for using external precompiled func binary.
  • Tolk - wrapper for using external precompiled tolk binary.
  • TonConnect - implementation of Ton Connect standard.
  • Disassembler - implementation of Ton Connect standard.
  • TL-B - TL-B structures and their de/serialization.
  • Utils - create private and public keys, convert data, etc.

Features

  • ✅ BitString manipulations
  • ✅ Cells serialization / deserialization
  • ✅ TL-B serialization / deserialization
  • ✅ Cell builder and cell slicer (reader)
  • ✅ Tonlib wrapper
  • ✅ Lite-client wrapper
  • ✅ Fift wrapper
  • ✅ Func wrapper
  • ✅ Tolk wrapper
  • ✅ TVM and Tx emulator wrapper
  • ✅ Transaction emulator wrapper
  • ✅ TonConnect
  • ✅ BoC disassembler
  • ✅ Extra-currency support and examples
  • ✅ Support num, cell and slice as arguments for runMethod
  • ✅ Render List, Tuple, Slice, Cell and Number results from runMethod
  • ✅ Generate or import private key, sign, encrypt and decrypt using Tonlib
  • ✅ Encrypt/decrypt with mnemonic
  • ✅ Send external message
  • ✅ Get block transactions
  • ✅ Deploy contracts and send external messages using Tonlib
  • ✅ Wallets - Simple (V1), V2, V3, V4 (plugins), V5, Lockup, Highload/Highload-V3, Highload-V3S (Secp256k1), DNS, Jetton, StableCoin, NFT, Payment-channels, Multisig V1, Multisig V2
  • ✅ HashMap, HashMapE, PfxHashMap, PfxHashMapE, HashMapAug, HashMapAugE serialization / deserialization

Star History

Star History Chart

About

Java libraries for interacting with TON blockchain.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

0