Skip to content

A multi-platform Kotlin library to communicate with hub nodes in the Obyte cryptocurrency network.

License

Notifications You must be signed in to change notification settings

pmiklos/obyte.kt

Repository files navigation

Obyte.kt

Obyte.kt is a multi-platform Kotlin library to communicate with hub nodes in the Obyte cryptocurrency network.

This project is still in a very early alpha stage.

Example usage:

fun main() = runBlocking {
    ObyteClient().connect(ObyteTestHub) {
        on<Request.Subscribe> { request ->
            subscribe(request.tag)
            launch {
                while (true) {
                    delay(15000)
                    heartbeat()
                }
            }
        }
    }
}

See more examples in obyte.kt-samples

About

A multi-platform Kotlin library to communicate with hub nodes in the Obyte cryptocurrency network.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages