Skip to content
catena edited this page May 5, 2016 · 8 revisions

Installing Scorex

This page shows how to download, install and run a Scorex application.

Prerequisites

Scorex requires Java 1.8. If you don’t have the JDK, you have to install it from Oracle`s JDK Site.

Modules

Scorex is very modular and consists of several JARs containing different features.

  • scorex-basics - framework core.
  • scorex-transaction - implementation of the transactional layer.
  • scorex-consensus - Nxt and Quora consensus implementations.
  • scorex-perma - Permacoin consensus implementation.

Adding Scorex to your project

To include Scorex in an existing project use the library published on Maven Central. For sbt projects add required modules to your build definition - build.sbt or project/Build.scala:

libraryDependencies ++= Seq(
  "org.consensusresearch" %% "scorex-basics" % "1.+",
  "org.consensusresearch" %% "scorex-consensus" % "1.+",
  "org.consensusresearch" %% "scorex-perma" % "1.+",
  "org.consensusresearch" %% "scorex-transaction" % "1.+"
)

For Maven projects add required modules to your like:

<dependency>
<groupId>org.consensusresearch</groupId>
<artifactId>scorex-basics_2.11</artifactId>
<version>1.2.5</version>
</dependency>
Clone this wiki locally