Java libraries for interacting with TON blockchain.
<dependency>
<groupId>io.github.neodix42</groupId>
<artifactId>smartcontract</artifactId>
<version>0.0.2</version>
</dependency>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>io.github.neodix42</groupId>
<artifactId>ton4j</artifactId>
<version>0.0.2</version>
</dependency>
You can use each sub-module individualy. 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 bitstrings. All data in Cells stored in bitstrings.
- Address - create and parse TON wallet addresses.
- Mnemonic - helpful methods for generating deterministic keys for TON blockchain.
- Utils - create private and public keys, convert data.
- ✅ Cells serialization / deserialization
- ✅ 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
- ✅ Get account state method
- ✅ Send external message
- ✅ Get block transactions
- ✅ Get account transactions
- ✅ Deploy contracts and send external messages using Tonlib
- ✅ Wallet operations (Simple, V2, V3, V4, Lockup)
- ✅ Cell hashmap serialization / deserialization
- Support tuple and list as arguments for runMethod
- Add TON DNS support
- Add TON Payment channel support
- Add FT (Jetton) and NFT tokens support
- Fix dictionary de/serialization with one entry
- Improve test coverage and add more integration tests