Skip to content

Latest commit

 

History

History

liteclient

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Liteclient module

Java Lite-client wrapper uses JNA to access methods in native lite-client binary.

Maven Maven Central

<dependency>
    <groupId>io.github.neodix42</groupId>
    <artifactId>lite-client</artifactId>
    <version>0.8.2</version>
</dependency>

Jitpack

<dependency>
    <groupId>io.github.neodix42.ton4j</groupId>
    <artifactId>lite-client</artifactId>
    <version>0.8.2</version>
</dependency>

Usage

LiteClient liteClient=LiteClient.builder()
        .pathToLiteClientBinary(pathToLiteClient)
        .testnet(true)
        .pathToGlobalConfig(pathToGlobalConfig)
        .build();

        String stdout=liteClient.executeLast();

More examples in LiteClientTest class.