Project

General

Profile

edinar/console_demo/edinar_console_demo

Getting the code

git clone https://redmine.sergeych.net/edinar/console_demo/edinar_console_demo.git

Instalation (Ubuntu or any Debian derivative using apt-get)

sudo apt-get update

Install java

sudo apt-get install default-jdk

Install scala

sudo wget http://scala-lang.org/files/archive/scala-2.12.1.deb
sudo dpkg -i scala-2.12.1.deb
sudo apt-get update
sudo apt-get install scala

Install Scala Build Tool (sbt)

echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt

Instalation macOS

Make sure you have Homebrew installed (https://brew.sh/)

Install Java

If you don't have Java installed you need to install it.

brew cask install java

Install sbt

brew install sbt

Running demo

cd edinar_console_demo

...wait until sbt console initializes...

In sbt console you'll see:

sbt:demo_account_transfers>

Once it appears console is ready and you can execute the following command:

run

The output should be:

[info] Running com.icodici.universa.demo.accounttransfers.Main
Connecting to network...done
Network version: 3.9.5_testnetwork_forcepermanet
...