Giter VIP home page Giter VIP logo

multichain's Introduction

MultiChain

How to Install and Create BlockChain with Multichain

How to install Multichain

  • Linux
    Open Terminal and run the following commands
     cd /tmp 
``` <br>
   wget http://www.multichain.com/download/multichain-1.0-alpha-25.tar.gz
   tar -xvzf multichain-1.0-alpha-25.tar.gz
   cd multichain-1.0-alpha-25
   sudo mv multichaind multichain-cli multichain-util /usr/local/bin
-  <b>Windows</b> <br>
     Download [MultiChain](http://www.multichain.com/download/multichain-windows-1.0-alpha-25.zip) and extract its content to your chosen directory

# <h2>How to Create and Connect to a BlockChain</h2>
 Open Terminal and run the following commands <br>
       <b>``` -  multichain-util create [chain-name] ```</b> <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This command will create a BlockChain with given name Now you can manage the various configurations in params.dat file. you can find params.dat file in  ```/home/user/.multichain/[chain-name] ``` directory.<br><br>
      <b>``` - multichaind [chain-name] -daemon ``` </b><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This command will start the BlockChain node and will lock the content of params.dat file. A node address such as ```chain-name@ip-address:port``` will be the output. this node address allow other nodes to easily connect.<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Now the BlockChain has been created and started. To connect to the blockchain, first obtain the node address from any node which is already connected. and run the following command <br><br>
       <b>``` - multichaind nodeAddess -deamon ```</b><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  This command will connect you to the BlockChain. nodeAddress will be something like this ``` chain-name@pAddress:port``` <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  example ``` [email protected]:5050```<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  - If the BlockChain is Private then the output of the command will contain <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ```your address``` in form of some random Aplhanumeric values. Admin of the BlockChain need to grant permissions on <br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ```your address``` . you can find [here](http://www.multichain.com/developers/json-rpc-api/) more about permission grant under Permission Managment Section.<br>
    - Once the permissions are granted then you can easily connect to BlockChain with ``` - multichaind nodeAddess -deamon ``` &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;command.<br><br>
    
#<h2> Using Command-line Interface</h2><br><br>
<b>``` - multichain-cli [chain-name] ```</b><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This command wil open the cli for BlockChain you are connected to. This CLI will only work if you are connected the &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BlockChain.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Now you can try various commands like ``` getinfo``` for general informations about nodes, balance etc. ```getaddresses``` &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for yoru address. you can send currency to someone else by ``` send [other_person_address] amount``` command. <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - You can find all command [here](http://www.multichain.com/developers/json-rpc-api/)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.