Home > Ixian DLT Setup Guide


Ixian DLT Setup Guide

2018-07-08 21:12:08

How to setup Ixian DLT on Windows OS?

Prerequisites:

Requirements Minimum Recommended
Operating System Windows 7/8/8.1/10 Windows 10
RAM 2 GB 8 GB
CPU TBA TBA
Disk Space TBA TBA
Internet speed 5Mbps/5Mbps 100Mbps/100Mbps

Users must have the ability to forward ports on their routers or connect the nodes directly to the internet.

Default port used by Ixian DLT is TCP 10234 and can be changed using the -p command line switch.

A minimum of 20000 IXIs is required to operate the Ixian DLT master node.

Step 1: Download the Ixian DLT archive or compile the binary from source (see below).

Step 2: Unpack the archive and start the node by double-clicking the IxianDLT executable or by issuing the command “IxianDLT.exe” from the console window. The output should be similar to the following:

Ixian DLT Started

Step 2*: When starting Ixian DLT software on Windows 10 operating systems for the first time, a Windows Defender SmartScreen might pop up that looks like the image below. You have to click on "More info" and then "Run anyway" to proceed.

Ixian DLT Windows Defender SmartScreen Ixian DLT Windows Defender SmartScreen Run anyway

Step 3: If this is the first time that you're starting Ixian DLT, a new wallet will be generated for you. You have to set your new wallet's password to proceed. This password will be used to encrypt the ixian.wal wallet file and will be required every time you start the Ixian DLT node.

Step 4: If this is the first time that you're starting Ixian DLT, a firewall window may pop-up (as seen on the image below). Select private and public networks and click "Allow access".

Ixian DLT Firewall notification

Step 5: The DLT node is now operating. In order to interact with your node, open a web browser and connect to http://localhost:8081. This interface is only available from the same computer where Ixian DLT is running.

Ixian DLT Running

Ixian DLT Web UI

Step 6: If your router is not compatible with uPNP, you will have to setup port forwarding for TCP port 10234 on your router so other nodes can connect to your node from the internet. You can find instructions on how to set up port forwarding in the manual of your router.

In order to shutdown the IXIAN DLT node, press escape on the Ixian DLT console command window.

 

How to upgrade Ixian DLT to a newer version?

Before proceeding make sure to copy your ixian.wal wallet file somewhere safe. To upgrade, simply download the archive of the new version, unpack the archive and overwrite the old files with the new ones.

 

How to run Ixian DLT on test network?

Do the same steps 1 to 5 from How to setup Ixian DLT on Windows OS, except in step 2 make sure to run the executable using -t command line parameter or by simply running testnet.bat script. Testnet works on TCP port 11234 and for API 8181 by default. Don't forget to forward TCP port 11234 if you don't have a uPNP compatible router.

Create your account on https://www.ixian.io and register your Ixian address in "My testnet addresses" section of your dashboard to receive 25000 testnet IXIs. Note that it can take up to 15 minutes for IXIs to be distributed to your address.

 

 

How to build Ixian DLT from source on Windows?

Prerequisites:

  • Windows
  • Visual Studio 2017 (Community Edition is OK)



Building and starting an IXIAN DLT Node

Step 1: Clone the project from GitHub, or download it as a ZIP.
Step 2: Open the solution file DLT\DLTNode.sln with Visual Studio


Step 3: In the solution explorer, right-click the project “DLTNode” and choose “Rebuild”


Step 4: (Optional) If the Output Window is not enabled, click on View -> Output to see the results of the rebuild.


Step 5: The rebuild should finish with the status “Rebuild All: 1 succeeded”. Some warnings are expected, especially in third-party code, but if you encounter errors at this point, please open an issue on the GitHub page and attach the contents of the output window as a text file, so we can find out what went wrong!


Step 6: The DLT program can be found in the bin\Debug subfolder. It will be named “IxianDLT.exe”


Step 7: (Optional) You can copy the binaries to any folder on your system, but make sure to include all files which were generated in the bin\Debug folder. Alternatively, you can start the node from the Debug folder.

 

How to build Ixian DLT from source on Linux?

Download and install the latest Mono release for your Linux distribution. The default Mono versions shipped with most common distributions are outdated.

Go to the Mono official website and follow the steps for your Linux distribution. We recommend you install the mono-complete package.

Now open a terminal. For Debian based distributions such as Ubuntu, type

sudo apt install nuget msbuild git

or if you have a Redhat based distribution, type

sudo yum install nuget msbuild git

Next you'll need to build the Ixian solution. You can do this by typing the following commands in the terminal:

git clone -b master-mainnet https://github.com/ProjectIxian/Ixian-source.git
cd Ixian-source/IxianDLT
nuget restore DLTNode.sln
msbuild DLTNode.sln /p:Configuration=Release

The IxianDLT will be compiled and placed in the bin/Release/ folder.

For the IxianDLT node to work correctly, you'll need to copy the libargon2.so shared library in the bin/Release/ folder. You can use the library provided in the latest Ixian Binary release.

If you want to build the libargon2 shared library yourself, you can do this by typing the following commands in the terminal:

git clone https://github.com/P-H-C/phc-winner-argon2.git
cd phc-winner-argon2
make

Copy the resulting libargon2.so file to the IxianDLT /bin/Release/ folder.