Activeledger SDK for Java
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Generating one EC and one RSA pair for testing Sep 5, 2018
.gitignore Adding implekmentation of NHPK,Transfer Funds and Contract Uploading … Aug 14, 2018
README.md Update README.md Sep 3, 2018
checkstyle-config.xml Code formatting Sep 3, 2018
pom.xml Updating maven version Sep 3, 2018

README.md

Activeledger Java SDK

Welcome to Java SDK for Activeledger. This SDK facilitates the user in sending the transactions to the ledger against a smart contract.

Prerequisites

  • JDK 1.8 or above
  • Apache Maven 3.7.0

Installing

  • mvn install

    This command will generate a jar file which can be imported into Java application

  • mvn install -DskipTests=true

    In case if you want to skip tests

End to End Scenario

The src/test/java/org/activeledger/java/sdk/activeledgerjavasdk/ActiveledgerJavaSdkApplicationTest.java contains a test Transfer funds transaction. It contains how to initialize the SDK, set connection, generate keys and send transaction. Currently, Transfer funds transaction has been created and sent but any transaction can be created similarly depending on the smart contract.