Skip to content

adrianziser/iri

 
 

Repository files navigation

Master branch build status:

Build Status

##Introduction

The IRI is the IOTA reference implementation project. It is a complete [IOTA] Node with a JSON-REST HTTP interface.

It allows to connect easily using java directly to a local or a remote [IOTA node].

  • Latest release: 1.1.2.4 Release
  • License: GPLv3
  • Readme updated: 2016-12-12 13:26:43 (UTC)

The current reference implementation is in refatoring/improvements phase. Any contribution is highly appreciated.

##Technologies & dependencies

The IOTA Reference Implementation has been designed to be used with Java8.

##Usage

You'll need maven installed. In order

  • To compile:

mvn clean compile

  • To create an executable build.

mvn package

This will create in the root directory of the project an executable jar package called IRI-${release-version}.jar . For instance "IRI-${version}.jar"

  • To execute:

java -jar IRI-${version}.jar [{-p,--port} 14265] [{-r,--receiver-port} 14265] [{-c,--enabled-cors} *] [{-h}] [[--headless}] [{-d,--debug}] [{-n,--neighbors} '<list of neighbors>'] [{-e,--experimental}]

Where

-p or --port define the API port (MANDATORY)

the following parameters are optional:

-n specify the list of neighbors Please note: neighbors must be defined between '' or "" depends on the Terminal

-r or --receiver-port define the Transaction receiver port

-c or --enabled-cors enable the API cross origin filter: cors domain defined between ''

--headless disable the logo (logo still WIP)

-d or --debug prints on the standard output, more debug informations

-e or --experimental activates experimental features. Current feature: Random Tip Selector Broadcaster.

-h prints the usage

For instance

java -jar target/iri-1.1.1.jar -p 14265 -n 'udp://1.1.1.1:14265 udp://2.2.2.2:14265' -d -c 'iotatoken.com'

About

IOTA Reference Implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%