royhodge / chainzZz

chainzZz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChainzZz (AKA YobiChain 2.0-alpha-2)

WARNING: chainzZz is intended for experimenting and learning, NOT for a production environment.

Image of chainzZz

ChainzZz is your very own private Blockchain as a Service. We wanted the ecosystem that YobiChain provided but with the options of choosing which services we wanted with a blockchain, and we figured people may want to have us run the blockchains for them as well, hence, Blockchain as a Service. The idea is simple, a website, that let’s you choose your blockchain parameters, and applications to go with it, and then you name the native currency on it, if you choose to have one, then we run it on our servers for you. All you have to do is login to your dashboard and check out the stats. The plan is to make it easy to manage your blockchain node’s using a modified version of MultiChain’s web-demo that is locked down and more secure then the open version they have given us to start with.

  1. Wallet, a simple blockchain powered wallet for Yourcoins, a smart asset.

This version of chainzZz runs on Multichain 2.0-alpha-2.

ChainzZz is ideal for

  • Startups looking to quickly build a blockchain powered prototype, PoC or MVP.
  • Serious researchers / enthusiasts looking to experiment with a live blockchain.
  • In-house teams experimenting with blockchain technology.

System Requirements

To set up chainzZz, you will need 1 server (min 2 GB RAM, 2 CPUs) running Ubuntu 17.10 x64 and php 7.1

Installation

This section presumes that you have root access to the server mentioned above and want to install chainzZz for all users on the system.

Step 1. Install git and clone the chainzZz repository

sudo apt-get install git
sudo git clone https://github.com/royhodge/chainzZz.git

Step 2. Harden the base operating system (Ubuntu 16.04.3 x64). This will also create a new user called [yobiuser] with the password entered by you below.

cd chainzZz
sudo bash -e hardening.sh <password>

Step 3. Install the FTP server. This will set up the FTP server. For logging in, use the IP address of your server as the host. The username and password are as entered by you below. The connection is SFTP.

sudo bash -e ftp.sh <username> <password>

Step 4. Install, configure and run the Multichain blockchain, Multichain web-demo and Multichain Exporer. This also sets up HashChain, Vault, Contracts and WebWallet.

The RPC port will be set as 15590 and the Network port will be set as 61172.

If you get a "locale error" using Terminal on mac, go to Terminal -> Preferences -> Profiles and uncheck "Set locale environment variables on startup"

sudo bash -e multichain.sh <chain-name> <rpc-username> <rpc-password>

*To access Multichain web-demo, visit http://<IP Address>/multichain-web-demo

*To access Multichain Exporer, visit http://<IP Address>:2750

**To use WebWallet, see the instructions at https://github.com/Primechain/yobiapps/blob/master/README.md#yobiwallet

Notes

This will:

  1. harden the base operating system against cyber attacks

  2. set up a Multichain blockchain using a pre-defined configuration

  3. set up an FTP server

  4. set up Multichain web demo

  5. set up Multichain Explorer

  6. set up HashChain, a simple blockchain powered drag n drop solution for authenticating and verifying electronic records.

  7. set up Vault, a simple blockchain powered document storage and retrieval system.

  8. set up Contracts, a simple blockchain powered system for digitally signng contracts.

  9. set up WebWallet, a simple blockchain powered wallet for Yourcoins, a smart asset.

In case something goes wrong, you can roll back the multichain installation using

bash rollback_multichain.sh 

Live demo → Update these upon completion & sucessfully running services!

Originall Forked From Primechain Technologies, 👍 Hopefully you fork our version and make it better as well!

Original Authors

  • Sripathi Srinivasan
  • Rohas Nagpal
  • Sudin Baraokar
  • Shinam Arora

Modifed by a couple of people experimenting. ;)

About

chainzZz

License:The Unlicense


Languages

Language:Shell 100.0%