Skip to content

LiTrans/iroha-nodes-for-BSMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iroha nodes for BSMD

Install four Iroha nodes for BSMD experiments or test. This guide is meant for Debian based systems (Ubuntu, Mint, Kali, etc.), but with a few modifications this will also work for Windows or macOS.

The Iroha nodes run on four Docker containers. Visit the Docker web page to familiarize with the system. If you have never work with Docker I recommend the Docker 101 tutorial before continuing.

Pre-requisites

  1. Install Docker by following the official guide. Then, follow this guide to make Docker run as non-root user

  2. Install docker-compose with the following commands:

curl -L "https://github.com/docker/compose/releases/download/1.26.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
  1. Test the installation with:
docker-compose --version

Install Iroha nodes

Run docker-compose up -d to install all the containers, wait about 1min for the process to finish.

To stop the blockckain simply run docker-compose down.

If you want to start again the iroha nodes run docker-compose up -d

To connect your project to the iroha blockchain use the ip address of the hosting machine one of the following ports: 50051, 50052, 50053 or 50054. If you are running the blockchain on a cloud VM or outside a local network make sure the hosting machine acept TCP and UDP connections from the mentioned ports. If you are running the blockchain on a cloud VM or outside a local network make sure the hosting machine accept TCP and UDP connections from the ports: 50051, 50052, 50053 or 50054.

Install more than four Iroha nodes

TO-DO

Built With

Authors

Thanks

This guide use snipets from Calvin Nguyen and from the Iroha docker project

License

  • Hyperledger Iroha is licensed under the Apache License 2.0
  • This project is licensed under the Apache License 2.0

About

Install for Iroha nodes for BSMD experiments or test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published