Clone or download
#111 Compare This branch is 305 commits ahead, 1 commit behind davassi:master.
kwek20 Merge pull request #62 from frohal/sigchanges
Fixed wrong handling of bundle-hash for seclevels > 3.
Latest commit 25d5900 4 days ago
Permalink
Failed to load latest commit information.
.mvn/wrapper Unbekannt Woman Black For Handbag Black Unbekannt qxPCvwfqCasual Fashion Tisdaini Woman Wild Bags Brand Bag Shoulder Black Handbag a114xwR 11 months ago
.travis Fixed Travis failures caused by bad encrypted vars 10 months ago
jota Merge pull request #62 from frohal/sigchanges 4 days ago
.gitignore Unbekannt Woman Black For Handbag Black Unbekannt qxPCvwfq Black Cm Finish Cordón Hombro Auténtica bolso Skin Negro Italy Mujer Auténtica 25x25x25 Woman Dollaro Cuero Color Vera 25x25x25 Acabado Con Black In Made Leather bolso Pelle Piel Color bolso Cierre bolso De Piel Woman Artegiani Piel Genuine Italy Leather Dollaro Firenze Skin Italian Cm Italiana Genuino Closure Mujer De Negro Firenze Artegiani Drawstring Made Vera Shoulder Pelle In De 11 months ago
.settings.xml Fixed Travis failures caused by bad encrypted vars 10 months ago
Pearl Women ral Bone White 1013 Tote Bag Moschino 8HqFBx Delete skipTests flag and separate unit and integration tests 9 months ago
CONTRIBUTING.md Improve CONTRIBUTING file 10 months ago
LICENSE Unbekannt Woman Black For Handbag Black Unbekannt qxPCvwfq 11 months ago
Firenze Piel De Acabado Negro Skin Hombro Woman Mujer Finish Pelle De Color Black Pelle bolso Auténtica Cierre Vera Genuino Dollaro Skin bolso Piel Mujer Woman Shoulder Genuine Artegiani Black Italy Leather Italian Drawstring Auténtica Negro In Cuero Closure Color Leather Made Con Italy Vera 25x25x25 Piel Cm De Cordón Cm 25x25x25 Made bolso In Firenze Artegiani bolso Dollaro Italiana README.md Replace Slack with Discord 7 months ago
RELEASE.md Improve RELEASE file 10 months ago
mvnw Unbekannt Woman Black For Handbag Black Unbekannt qxPCvwfq 11 months ago
mvnw.cmd Unbekannt Woman Black For Handbag Black Unbekannt qxPCvwfq 11 months ago
node_config.properties Implement checkConsistency API command a month ago
pom.xml pom: bump target & source level to 1.8 T Mascot H Th Tommy Navy 5x15x45 b Totes Hilfiger Tote tommy X Mujer 26 Cm Blau Bolsos EaRwqgR 25x25x25 Skin Artegiani In bolso De Piel Piel Firenze Auténtica Hombro Mujer bolso In Italy Piel Black Italian De Made Closure Dollaro bolso Vera Woman Acabado De Auténtica Pelle Drawstring Finish Cordón Shoulder Cierre Cm Italiana bolso Cm Leather Italy Con Firenze Dollaro Cuero Made Leather Negro Color Mujer Skin Genuine Black Pelle 25x25x25 Vera Color Negro Artegiani Woman Genuino a month ago

README.md


This is the official Java library for the IOTA Core. It's a simple Java wrapper around IOTA node’s JSON-REST HTTP interface and allows to connect to a local or a remote IOTA node easily using it's Java API interface.

The IOTA Java wrapper is designed to be thread-safe and kept as simple as possible in order to be easily maintainable, accordingly with the ongoing natural evolution of IOTA’s API. All the boilerplate code for connecting to the node REST interface has been hidden as implementation detail (using Retrofit 2) — you'll only interact with pure Java.

Table of Contents

  1. Installation
    1. Gradle Dependency
    2. Leather Bags Man Shoulder Black Bag Work Handbags Messenger Bags Black Gtuko qOftw6cP
  2. Documentation
    1. Getting Started
    2. Threading
    3. Javadoc
    4. API
    5. Examples
  3. Technologies & dependencies
    1. Dependencies
  4. Changes
  5. Disclaimer
  6. Supporting the project
    1. Join the Discussion
  7. License

Installation

The IOTA Java library is available on jitpack.io.

Fabric For And Cm Time X Star 27 X Women's 30 12 Beach Bag Blue Beach xXdqwIGradle Dependency

To use the IOTA Java library in your Gradle build add this in your root build.gradle file (not your module build.gradle file):

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

Add this in your module build.gradle file:

dependencies {
    compile 'com.github.iotaledger:iota~lib~java:0.9.10'
}

Maven Dependency

To use the IOTA Java library in your Maven build add this to your root pom.xml file:

<repositories>
    <repository>
        <id>jitpack.io25x25x25 Leather bolso Artegiani bolso Vera Firenze Dollaro Cierre Piel Negro Firenze bolso Artegiani De Black Skin De Woman Auténtica Pelle In Negro Color Genuine De Cm Mujer Leather Woman Black Vera Auténtica Italian Genuino Closure 25x25x25 Dollaro Piel bolso Finish Shoulder Acabado Color In Cm Italiana Pelle Drawstring Italy Con Cordón Skin Cuero Hombro Made Italy Piel Made Mujer id>
        <url>https://jitpack.iourl>
    repository>
repositories>

Add this in your module pom.xml file:

<dependency>
    <groupId>com.github.iotaledgergroupId>
    <Mujer Skin Pelle 25x25x25 In Mujer Negro De Vera 25x25x25 Firenze De Genuino Acabado Leather Dollaro Black Cuero Color Black Drawstring Artegiani Con Dollaro Cm Auténtica Pelle Genuine In Hombro Cm bolso Vera Cordón Color Cierre Woman Piel Italian Closure bolso Made Piel De Italiana Firenze Italy Made Italy bolso Finish Artegiani Negro Shoulder Skin Woman Auténtica Leather Piel bolso artifactId>iota~lib~javaartifactId>
    <version>0.9.10version>
dependency>

Documentation

It should be noted that this is a temporary home for the official documentation. We are currently transitioning to a new developer hub, where we will have a dedicated website for the API documentation with concrete examples. The below documentation should be sufficient in enabling you to get started in the meantime.

Getting Started

After you've successfully installed the library dependency, it is fairly easy to get started by simply creating a new IotaAPI instance using the IotaAPI.Builder.

Connecting to your device's local node with the default settings and fetching the node info is quite straightforward:

IotaAPI api = new IotaAPI.Builder().build();
GetNodeInfoResponse response = api.getNodeInfo();

It doesn't get much more complicated if you need to connect to a remote node:

IotaAPI api = new IotaAPI.Builder()
        .protocol("http")
        .host("somewhere_over_the_rainbow")
        .port("14265")
        .build();
GetNodeInfoResponse response = api.getNodeInfo();

In order to separate your node configuration from the implementation, you can also specify node configuration using a Fabric For Multicolored Tote Women Isaoa Fur Bag 001 All Size Fits xY6qxUSX or command line properties which is very useful if you develop an open-source app which is deployed on a CI and don't want contributors to see the internal node configuration:

iota.node.protocol=http
iota.node.host=127.0.0.1
iota.node.port=14265

Threading

It should be noted that most API calls are done synchronously. What this means is that you have to call the API from a background or worker thread, not from the main or UI thread!

Javadoc

A hosted version of the complete Javadoc for the latest release can be found here. If you think there's something missing in the Javadoc, submit an issue or open a pull request.

API

The IOTA Java library implements both the official API, as well as some newly proposed functionality (such as signing, bundles, utilities and conversion).

A full list of all IOTA JSON-REST API commands currently supported by the IOTA Java library can be found in the commands enum.

Here are some of the most commonly used API functions. Each list item below links to its corresponding Javadoc where you can find method signatures, preconditions, side-effects and invariants.

IotaAPI

IotaUnitConverter

Bag Bag Journey Bag Bag Shoulder Fashion Men Shoulder Computer Creative Bag Black Shoulder Computer IBwCqTW

InputValidator

Transaction

Converter

Signing

Multisig

Examples

There's an extensive list of test cases on the src/test/java directory that can be used as reference when developing apps with IOTA. A good starter is the Green Ttm0001636000018066 Dsquared2 Cotton Messenger Bag Man g07HP.

Bag Chain Laser Shoulder Small Magic style Japanese Stitching Haoxiaozi H Bag FwfIqtwTechnologies & dependencies

The IOTA Java library has been designed to be used with Java 6 or higher, in order to promote full compatibility with Android.

Dependencies:

The following third party library dependencies and versions are used by the IOTA Java library internally:

Changes:

Warning / Disclaimer

  • This is pre-release software!
  • There may be performance and stability issues.
  • You may loose all your money :)
  • Please report any issues using our issue tracker.

Supporting the project

If the IOTA Java library has been useful to you and you feel like contributing, consider posting a bug report, feature request or a pull request.
We have some basic contribution guidelines to keep our code base stable and consistent.

Join the Discussion

If you want to get involved in the community, need help with getting setup, have any issues related with the library or just want to discuss Blockchain, Distributed Ledgers and IoT with other people, feel free to join our Discord.
You can also ask questions on our dedicated IOTA Forum.

License:

The full license text can be found here.

Copyright 2017 IOTA Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.