Skip to content

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()
                }
            }
        }
    }
}

About

A multiplatform Kotlin library for seamless communication with hub nodes on the Obyte cryptocurrency network.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages