Skip to content

Kimlic/Quorum_v2-Suite-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use this repo

** Quorum node version 2.0.2, Geth version 1.7.2 **

  1. Run setup:
cd Quorum && sh setup.sh
  1. Follow answers below to setup required values:
Project name: kimlic
Start port: default 22000
Node count: 3
Node name: KIM1
Password: press return to leave blank
Node name: KIM2
Password: press return to leave blank
Node name: KIM3
Password: press return to leave blank

Setup

  1. Copy node addresses from terminal for the future usage. In the current settings they are:
KIM1 2xVHFePHoOb3SznaiBTOjLBXvHN6DLCCfA59zuizGiw=
KIM2 Y/jVJ0jgHyha9gj818Zvr6NtKOmBhkD7NgvY11HLZkI=
KIM3 3R52M+F53gozZOx6/ReEoEaWFkEpENxbSXo4hQ6pDGI=

Successfully created cluster

  1. Run docker-compose for the first time:
cd kimlic && docker-compose --verbose up --force-recreate
  1. You're ready to go!

Ready to go!

  1. To test the network simply run:
curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' 127.0.0.1:22000

The response should be:

{"jsonrpc":"2.0","id":1,"result":"Geth/v1.7.2-stable-df4267a2/linux-amd64/go1.10"}

Up and running!

How to prepare Quorum for redeploy

  1. Type docker container ls in terminal to find quorum-related containers.

Find docker containers

  1. Stop them by sending their Container IDs to docker container stop
container stop 6225f184b6f8 fa23e17dae15 0b577683b4ae
  1. Remove containers by sending same IDs to docker container rm
docker container rm 6225f184b6f8 fa23e17dae15 0b577683b4ae
  1. Delete kimlic directory from Quorum directory, so there is only lib directory and setup.sh are left

Before removal

After removal

About

Quorum 2.0 builder and truffle suite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •