Java SDK

Version 0.1.3

The Java Bot SDK empowers developers with the capability to manage chats and send/receive messages.

Install

Add dependency

repositories {
    maven {
        url 'https://s01.oss.sonatype.org/content/repositories/releases/'
    }
}

dependencies {
    implementation 'io.github.sending-network:sdn-sdk-java:0.1.0'
}

Prepare a configuration file

Use https://portal0101.sending.network/ as the public endpoint.

Provide P2P node endpoint, wallet address, and private key in config.yaml:

endpoint: ""
wallet_address: ""
private_key: ""

Create Client Instance

Once the configuration file has been read, create a Client instance, register the event listener, and initiate the syncing process.

Call API functions

Last updated