symbol-sdk-core

symbol-sdk-core lib for Sybol SDK Java

License

License

GroupId

GroupId

io.nem
ArtifactId

ArtifactId

symbol-sdk-core
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

symbol-sdk-core
symbol-sdk-core lib for Sybol SDK Java
Project URL

Project URL

https://github.com/nemtech/symbol-sdk-java
Source Code Management

Source Code Management

https://github.com/nemtech/symbol-sdk-java

Download symbol-sdk-core

How to add to project

<!-- https://jarcasting.com/artifacts/io.nem/symbol-sdk-core/ -->
<dependency>
    <groupId>io.nem</groupId>
    <artifactId>symbol-sdk-core</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.nem/symbol-sdk-core/
implementation 'io.nem:symbol-sdk-core:1.0.1'
// https://jarcasting.com/artifacts/io.nem/symbol-sdk-core/
implementation ("io.nem:symbol-sdk-core:1.0.1")
'io.nem:symbol-sdk-core:jar:1.0.1'
<dependency org="io.nem" name="symbol-sdk-core" rev="1.0.1">
  <artifact name="symbol-sdk-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.nem', module='symbol-sdk-core', version='1.0.1')
)
libraryDependencies += "io.nem" % "symbol-sdk-core" % "1.0.1"
[io.nem/symbol-sdk-core "1.0.1"]

Dependencies

compile (8)

Group / Artifact Type Version
io.reactivex.rxjava2 : rxjava jar 2.1.7
io.nem : catbuffer-java jar 0.1.2
org.bouncycastle : bcprov-jdk15on jar 1.58
commons-codec : commons-codec jar 1.11
org.apache.commons : commons-lang3 jar 3.9
org.apache.commons : commons-math3 jar 3.2
commons-io : commons-io jar 2.4
com.googlecode.javaewah : JavaEWAH jar 1.0.0

Project Modules

There are no modules declared in this project.

Symbol SDK for Java/Kotlin/Scala

symbol-sdk-vertx-client symbol-sdk-okhttp-client Build Status Coverage Status License

The Symbol SDK for Java, Kotlin and Scala.

Requirements

  • Java 8
  • Java 9

Installation

Each SDK user can depend on the best library for its need (example, symbol-sdk-vertx-client for server developers or symbol-sdk-okhttp-client for android developers).

Maven

<dependency>
    <groupId>io.nem</groupId>
    <artifactId>symbol-sdk-vertx-client</artifactId>
    <version>1.0.1</version>
</dependency>

OR

<dependency>
    <groupId>io.nem</groupId>
    <artifactId>symbol-sdk-okhttp-client</artifactId>
    <version>1.0.1</version>
</dependency>

Gradle

compile 'io.nem:symbol-sdk-vertx-client:1.0.1

OR

compile 'io.nem:symbol-sdk-okhttp-client:1.0.1

SBT

libraryDependencies += "io.nem" % "symbol-sdk-vertx-client" % "1.0.1"

OR

libraryDependencies += "io.nem" % "symbol-sdk-okhttp-client" % "1.0.1"

Usage

Surf the documentation to get started into Symbol development. You will find self-paced guides and useful code snippets using the Java SDK.

To get the full description of the available classes and their functions, check the SDK reference.

Pacakge Organization

The SDK is composed of multiple sub-modules/folders:

Module Description
sdk-core This module includes the model objects, interfaces and common utility classes. It is Vertx, ok-http, gson, etc agnostic. Clients won't depend on this jar directly, they will depend on one of the implementations below.
sdk-vertx-client The symbol-sdk-java Implementation that uses Vertx and generated symbol-openapi-vertx-client lib and dtos. A client may depend on this SDK implementation if Vertx is the selected implementation (e.g. server users).
sdk-okhttp-client The symbol-sdk-java Implementation that uses OkHttp and the generated symbol-openapi-okhttp-gson-client. A client may depend on this SDK implementation if OkHttp is the selected implementation (e.g. android users).
integration-tests This module is in charge of running integration tests against all implementations. The integration tests exercise how the implementation work against a given catapult server.

Open API Generated Clients

The SDK libs depend on Open API 3 generated clients. The clients Jars are automatically generated and deployed into Maven central by the symbol-openapi-generator project.

If you want to change or tune the generated libraries, you would need to clone/fork symbol-openapi-generator repository.

Getting help

Use the following available resources to get help:

Contributing

Contributions are welcome and appreciated. Check CONTRIBUTING for information on how to contribute.

You can also find useful notes for developers under our documentation guidelines section.

License

Copyright (c) 2018-present NEM Licensed under the Apache License 2.0

io.nem

nemtech

Versions

Version
1.0.1
1.0.0
0.23.2
0.23.1
0.23.0
0.22.1
0.22.0
0.21.0
0.20.3
0.20.2
0.20.1
0.20.0
0.19.0
0.17.2
0.17.1
0.17.0