Git Product home page Git Product logo

docker_quorum's Introduction

Setup Instructions

Currently, raft is the only consensus mechanism supported in this docker version. Istanbul consensus will be added shortly.

1. Clone the repository

Clone the repository by typing git clone https://github.com/mohdrashid/docker_quorum.git in the terminal. After that go the downloaded repository by typing cd docker_quorum

2. Edit the variables

If required you can edit the ports or other informations by changing the corresponding value in environment.env file

3. Map the data and log directories

Go to volume section of docker-compose.yml file and make sure volumes are mapped to your desired directories.

4. Build the image

Type docker-compose build to build the images by pulling all requirements and to perform quorum related installations

5. Run image

Type docker-compose up to bring up the image and start the quorum node

6. Interacting with node

You can easily interact with the node by typing geth attach PATH_TO_DATA/dd1/geth.ipc this will bring up the console. This step will require you to install geth. In ubuntu this can be done by typing sudo apt-get install geth

Regarding your keys

Your constellation public ID can be obtained from data directory in constellation/node.pub file. This will be used by others to send you private transaction. Ethereum accounts can be added from geth using standard geth commands.

3 Node setup

To use the 3 Node setup in docker switch the branch to 3nodes

docker_quorum's People

Contributors

mohdrashid avatar avanzarashid avatar

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.