The following instruction are for Linux environment only.
First, you need to install Java. Oracle Java 8 is preferred. For Ubuntu, you can follow this article http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/, for other distribution, download from the Oracle website and install manually.
Scala Build Tool (SBT) is needed. Follow download section at the website to install http://www.scala-sbt.org/download.html
We use snapshot versions for Scorex and IODB. Please build and publish them locally because of that
git clone https://github.com/input-output-hk/iodb.git sbt publishLocal
git clone https://github.com/ScorexFoundation/Scorex.git sbt publishLocal
Build and run TwinsChain
git clone https://email@example.com/twinscoin/twinschain.git sbt compile sbt run
and choose whether to run a node (
HybridApp) or to run a simulation of
two chains competition (
to change setting of a node running, check settings1.json default - settings10.json in src/main/resources