Skip to content
JVM sdk for nkn.org, written in Java
Java Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Fork & start rewriting WS API Aug 10, 2019
examples/src/main/java/jsmith/nknsdk/examples Refactor NKNExplorer class and related classes Aug 13, 2019
src/main/java Refactor NKNExplorer class and related classes Aug 13, 2019
.gitignore
README.md Update readme and examples Jun 28, 2019
protoc Update gitignore Jan 2, 2019
wemi

README.md

NKN SDK for Java/Kotlin/JVM

Java implementation of NKN sdk.

Send and receive messages between any NKN clients.

This is very work in progress, everything can change!

Where to start?

There is wiki documentation of the client.

You can also have a look at the examples for basic introduction to API. Explore classes mentioned in examples

How to try?

  • Install java8 or bigger
  • Clone repository to a local folder
  • Type ./wemi <ExampleName>/run

Simple as that.

Substitute <ExampleName> for any of the prepared examples:

  • SimpleExample Contains simple unicast message send and receive, response; with an option to opt-out of the end2end encryption scheme.
  • DropBenchmarkExample Leftover test of message drops, from ancient times when sending messages was a lot less reliable
  • MulticastExample Broadcast messages to multiple clients at the same time, including ACK/Response handling
  • WalletExample Demonstration of generating, saving and loading a wallet. Including explorer queries for balance and wallet transaction to register a name or transfer assets to a different wallet
  • PubSubExample Sub transactions, pub message broadcast and receiving.

For more information about wemi build system, visit GitHub page: Darkyenus/WEMI

Contributions

Can I submit a bug, suggestion or feature request?

Yes. Please open an issue for that.

Can I contribute code to NKN-java-sdk project?

Yes please, we appreciate your help! To make contributions, please fork the repo, push your changes to the forked repo, and open a pull request here.

You can’t perform that action at this time.