Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 3.08 KB

Instructions to use kychain zip file.md

File metadata and controls

49 lines (33 loc) · 3.08 KB

The following instructions are for windows 7 machines (x86 or x64) only:

  • Follow the instructions to Download and install multichain zip(version 1.0.1, Protocol 10009)

  • Add the multichain install folder path to environment variables

  • Download and install wamp server

  • If it throws error for vcredist dlls, uninstall wamp completely.

  • Download and install vc redist in a sequential order depending on your architecture (x86 or x64). Install WAMP again.

  • Download and Install Python2.7

  • Download and Install VC for Python 2.7

  • Download and install pip

  • Install pycrypto using pip pip install pycrypto

  • Download multichain explorer from here as a zip

  • Unzip the contents

  • Open cmd and run the command
    cd <path>/<to>/multichain-explorer-folder

  • run the command
    python setup.py install
    This will install Mce.abe Python module

Once you have confirmed that all the installations are complete and proper:

  • download kychaindemo.zip from this repository

  • Unzip the contents into the folder you wish to keep

  • Open a cmd instance and run the following commands:
    cd <path>/<to>/kychain/servernminer
    start /b multichaind -datadir=. kychain -daemon

If all is well, the blockchain node will be accessible at <your-ip-addrss>:4765

  • Now open another cmd instance and rum the following commands: cd <path>/<to>/kychain/node1
    start /b multichaind -datadir=. kychain@<your-ip-addrss>:4765 -daemon

  • If node1 doesn't havd connect permissions to the blockchain, follow the instructions under "2. Connecting to a blockchain" while using the "-datadir=." right after the "multichain-cli" (command as explained) here.here node "servernminer' is the genesis node

  • copy <path>/<to>/kychaindemo and paste the folder and its contents as is into <path>/<to>/wamp-installation/www/

Launch wamp server

  • In your browswer go to "localhost/kychaindemo' If all is well you'll see a website similar to this

  • Launch another cmd instance and run the following commands:
    cd <path>/<to>/kychainexplorer/
    python -m Mce.abe --config kycchain.conf

If all goes well, in your browser the multichain explorer will launch at http://localhost:2750/ with a green label connection phrase against the chain name and it will look like this