Skip to content
Repository used for Kyber Network tutorials
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Readme updated, some clean up Jul 17, 2019
gradle/wrapper Bootstrapping Jul 13, 2019
src/main/java/net/cloudburo/kyber/tutorial Readme updated, some clean up Jul 17, 2019
.gitignore Bootstrapping Jul 13, 2019
LICENSE Initial commit Jul 1, 2019 Readme updated, some clean up Jul 17, 2019
build.gradle Bootstrapping Jul 13, 2019
gradlew Bootstrapping Jul 13, 2019
gradlew.bat Bootstrapping Jul 13, 2019
settings.gradle Bootstrapping Jul 13, 2019


Repository used for the Kyber Network tutorial, which will be delivered as part of the following KyberDAO proposal:

Progress Report: Expected Delivery 31.07.2019


The aim of this tutorial is to showcase an initial implementation of a Kyber Java Client API.

As an implementation strategy an enhancement of the well-known web3j library was chosen.

web3j is a highly modular, reactive, type safe Java and Android library for working with Smart Contracts and integrating with clients (nodes) on the Ethereum network.

    KyberService srv = new KyberService(KyberService.KYBER_ROPSTEN);
    Kyber3j kyber3j =;
    try {
        Currencies currencies = kyber3j.currencies().send();"Exists Currency KNC: " + currencies.existsCurreny("KNC"));
        if (currencies.existsCurreny("KNC")) {
            BuyRate rate = kyber3j.buyRate(currencies.getCurrency("KNC").getId(),"300", false).send();
            Float price = rate.getData().get(0).getSrc_qty().get(0);
  "Conversion Rate: "+price.toString());
    } catch (Exception e) {
You can’t perform that action at this time.