Installing Litecoin cryptocoin data and deploying its blockchain server in CentOS7

Installation
https://download.litecoin.org/litecoin-0.16.0/linux/litecoin-0.16.0-x86_64-linux-gnu.tar.gz

Download the above tar file and extract it using following commands
tar xvf litecoin-0.16.0-x86_64-linux-gnu.tar.gz

Starting a litecoin server
Here, first time you need to reindex the whole chain using -reindex command
First time command: ./litecoind –txindex -daemon -reindex

litecoind -server -txindex -daemon -rpc -rpcbind=0.0.0.0 -rpcuser=theone -rpcpassword=pass123 -rpcport=9332

The above command lets you to download the blocks continously and you can access the server private data using RPC API calls.

Stopping a litecoin server
litecoind stop
if the above command doesnt work
killall -9 litecoind

Litecoin reference (params)
https://litecoin.info/index.php/Litecoin.conf

It should automatically download the blocks in the root
/root/.litecoin/..

Will keep you updated with more commands.

 

Installing Parity, Geth and configuring CentOS 7 to deploy a smart contract (using Ropsten testnet)

Installing Python 3.6 on CentOS 7

sudo yum install https://centos7.iuscommunity.org/ius-release.rpm

sudo yum install python36

python3.6 -V

After installing Python3.* version. it’s time to install PIP.

yum -y update

Then let’s install python-pip and any required packages:

yum -y install python-pip

There are many open source GIT projects to deploy smart contracts such as Zepplin(https://zeppelinos.org/), TokenmarketICO (https://github.com/TokenMarketNet/ico)
If you need a framework with absolute test cases, migrations. You should choose Truffle (http://truffleframework.com/)
Truffle is Ethereum framework where you can create a Smart contract, Compiling it and deploy it on testnet or testrpc. (Ganache)

In this tutorial, We will see deploying a smart contract using Tokenmarket ICO. Follow this link to install the Github contents and required libraries.
https://ico.readthedocs.io/en/latest/install.html

Set the environmental varial PKG_CONFIG_PATH
to check your pkg-config path using ‘whereis pkgconfig’ commmand and modify as per your installation.

export PKG_CONFIG_PATH=/usr/lib/pkgconfig

pip install –upgrade cffi

yum install python36-devel

yum install openssl-devel

Installing SOLC compiler

python3.6 -m solc.install v0.4.16

Installing Parity for CentoOS 7 

The following 2 commands should Install the Parity and its dependencies

$ bash <(curl https://get.parity.io -kL)

yum install openssl libssl-devel libudev-devel

Parity command to start the Ropsten node and sync with our server

parity -l 5 –chain ropsten –bootnodes “enode://20c9ad97c081d63397d7b685a412227a40e23c8bdc6688c6f37e97cfbc22d2b4d1db1510d8f61e6a8866ad7f0e17c02b14182d37ea7c3c8b9c2683aeb6b733a1@52.169.14.227:30303,enode://6ce05930c72abc632c58e2e4324f7c7ea478cec0ed4fa2528982cf34483094e9cbc9216e7aa349691242576d552a2a56aaeae426c5303ded677ce455ba1acd9d@13.84.180.240:30303” –rpccorsdomain “*” –unlock 0xe6bfd0a63256ad36cab82cb79b71d7d58a8c2417 –password pass.txt

To create a new account with parity

 parity account new –chain ropsten –keys-path /root/.local/share/io.parity.ethereum/keys

Important Points
1) Make sure you have unlocked the address of owner ethereum to deploy smart contract (You need to use –unlock params in Geth or Parity)

2) Install the headless chromedriver (https://sites.google.com/a/chromium.org/chromedriver/downloads)  or yum install -f chromedriver chromium xorg-x11-server-Xvfb

Thanks for reading it. Hope this covers the important installation instruction while you stuck in the TokenmarketICO installation.