# ton4j
**Repository Path**: junxuan/ton4j
## Basic Information
- **Project Name**: ton4j
- **Description**: ton java sdk
- **Primary Language**: Java
- **License**: GPL-3.0
- **Default Branch**: compile-func
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-09-29
- **Last Updated**: 2024-09-29
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Java SDK for The Open Network (TON)
[](https://www.gnu.org/licenses/gpl-3.0)
[![Based on TON][ton-svg]][ton]

Java libraries for interacting with TON blockchain.
Do not forget to place tonlibjson library to your project. Latest Tonlib libraries can be
found [here](https://github.com/ton-blockchain/ton/actions).
## Maven [![Maven Central][maven-central-svg]][maven-central]
```xml
io.github.neodix42
smartcontract
0.4.3
```
## Jitpack [![JitPack][jitpack-svg]][jitpack]
```xml
jitpack.io
https://jitpack.io
```
```xml
io.github.neodix42
ton4j
0.4.3
```
You can use each submodule individually. Click the module below to get more details.
* [Tonlib](tonlib/README.md) - use external Tonlib shared library to communicate with TON blockchain.
* [SmartContract](smartcontract/README.md) - create and deploy custom and predefined smart-contracts.
* [Cell](cell/README.md) - create, read and manipulate Bag of Cells.
* [BitString](bitstring/README.md) - construct bit-strings.
* [Address](address/README.md) - create and parse TON wallet addresses.
* [Mnemonic](mnemonic/README.md) - helpful methods for generating deterministic keys for TON blockchain.
* [Emulator](emulator/README.md) - wrapper for using with external precompiled emulator shared library.
* [Liteclient](liteclient/README.md) - wrapper for using with external precompiled lite-client binary.
* [Utils](utils/README.md) - 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
* ✅ 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), Lockup, Highload/Highload-V3, DNS, Jetton, StableCoin, NFT,
Payment-channels,
Multisig V1
* ✅ HashMap, HashMapE, PfxHashMap, PfxHashMapE, HashMapAug, HashMapAugE serialization / deserialization
### Todo
* Support tuple and list as arguments for runMethod
* Improve code coverage and add more integration tests
* BinTree serialization / deserialization
[maven-central-svg]: https://img.shields.io/maven-central/v/io.github.neodix42/smartcontract
[maven-central]: https://mvnrepository.com/artifact/io.github.neodix42/smartcontract
[jitpack-svg]: https://jitpack.io/v/neodiX42/ton4j.svg
[jitpack]: https://jitpack.io/#neodiX42/ton4j
[ton-svg]: https://img.shields.io/badge/Based%20on-TON-blue
[ton]: https://ton.org