Skip to main content

Posts

Showing posts from 2019

How to setup eth server for PEATIO EXCHANGE

What do you need? An instance with 4G of ram at least 100 G of hard disk Ubuntu 16.04   Install geth sudo apt-get install software-properties-common sudo add-apt-repository -y ppa:ethereum/ethereum sudo apt-get update sudo apt-get install ethereum Run geth copy the geth service file to /etc/systemd/system/geth.service sudo systemctl start geth sudo systemctl enable geth Install Nginx + fcgi sudo apt install nginx -y fcgiwrap copy default file to /etc/nginx/sites-enabled/default sudo systemctl restart nginx cgi files copy the cgi files to /var/www/html/cgi-bin and update total.cgi with your username sudo chown www-data:www-data -R /var/www/html/cgi-bin sudo chmod +x /var/www/html/cgi-bin/* Install filter service copy total.js to /var/www sudo chown www-data:www-data /var/www/total.js don't forget to edit service.rb with your url sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libr...

Tether(USDT) Installation | Command-line Tutorial

What is USDT Tether’s Omni layer constructed by bitcoin block network. On this overlay network, all parties can issue token, tether company. Token, codenamed USDT, was issued on Omni layer, anchoring in US$1:1. Tether’s idea is very simple. You give me the dollar and give me one dollar. I issue 1 USDT. The dollar is deposited in the designated asset account. Everyone can inquire about it. The total amount of USDT issued can also be inquired on the block. When converting, give me 1 USDT and I return 1 dollar. Omni(USDT) Wallet installation 1.Download Omni Layer Wallet    wget https://bintray.com/artifact/download/omni/OmniBinaries/omnicore-0.3.0-x86_64-linux-gnu.tar.gz ux-gn 2.Decompress & Run    tar - xzvf omnicore - 0.3 . 0 - x86_64 - linux - gnu . tar . gz Now, copy Dependent library to Local sudo CP omnicore-0.3.0/lib/*/lib Open the wallet directory cd omnicore-0.3.0/bin ./omnicored Initial star...

Codeigniter Autoload Core Classes

After struggling to fix the class not found issue when extended controller class with core class, I have found a suitable solution on how to autoload the core classes so that we can use it with our controller classes. Go to Config.php inside the config folder and paste this code at the bottom function  __autoload ( $class ) {  if( strpos ( $class ,  'CI_' ) !==  0 )  {     @include_once(  APPPATH  .  'core/' .  $class  .  '.php'  );  } } 

Tips how to Build A Blockchain Solution

What is Blockchain? Let’s take an example of Google spreadsheet or MS Excel (Windows). This spreadsheet is shared among different networks of computer, where everyone has a copy of it. The spreadsheet contains information about the transactions committed by real people. Anyone can access that spreadsheet but no one can edit it. This is Blockchain. It works with Blocks, whereas spreadsheet works with “rows” and “columns”. A block in a blockchain is a collection of data. The data is added to the block in the blockchain, by connecting it with other blocks in chronological others creating a chain of blocks linked together. The first block in the Blockchain is called Genesis Block. Blockchain is a  distributed ledger , which simply means that a ledger is spread across the network among all peers in the network, and each peer holds a copy of the complete ledger. Over the last few years, many derivate and blockchain-inspired projects have been created. Most of them are n...

Setup Guide for ETH (ERC20) Token

Installation steps :  Please follow all the steps by their order of appearance in this guide. If you get any error for any step and skip to the next, things will not work for you. Install required dependencies Install all the following dependencies. Without installing these, your marketmaker binary may crash and not work. a) Linux Install gcc-7.2 & g++-7.2 and symlink them as gcc & g+ + The following are steps to install them in Ubuntu. If you are using Debian use echo "deb http://ftp.us.debian.org/debian testing main contrib non-free" | sudo tee /etc/apt/sources.list.d/forgcc.list to add the repository and continue from the sudo apt-get update command. sudo add-apt-repository ppa:jonathonf/gcc-7.2 sudo apt-get update sudo apt-get install gcc-7 g++-7 sudo rm /usr/bin/gcc && sudo rm /usr/bin/g++ sudo ln -s /usr/bin/gcc-7 /usr/bin/gcc sudo ln -s /usr/bin/g++-7 /usr/bin/g++ Install cmake 3.10.2 wget https://cmake.org/files/v3.10/cmake-3.1...

Deployment of RabbitMQ using Ansible

What is  RabbitMQ RabbitMQ , which is free and open source, is the world’s most widely deployed message broker. It is used by several big companies like Ford, Instagram, Cisco, etc. Being easy to deploy, it can be used in situ or on the cloud.   Here we will learn to install RabbitMQ using Ansible. RabbitMQ is a free and open source message broker system that supports a number of protocols such as the Advanced Message Queuing Protocol (AMQP), Streaming Text Oriented Messaging Protocol (STOMP) and Message Queue Telemetry Transport (MQTT). The software has support for a large number of client libraries for different programming languages. RabbitMQ is written using the Erlang programming language and is released under the Mozilla Public License. Configuring it up  A CentOS 6.8 virtual machine (VM) running on KVM is used for the installation. Do make sure that the VM has access to the Internet. The Ansible version used on the host (Parabola GNU/Linux-libre x86_6...